mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 11:19:19 +00:00
The Spectranthemum can no longer teleport Mana Tablets and other mana containing items.
This commit is contained in:
1 parent
02d94f2b11
commit
97fe20f6aa
2 files changed
+7
-1
No files matched your search
+6
@@ -15,11 +15,13 @@ import java.util.List;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.entity.item.EntityItem;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraft.util.ChunkCoordinates;
|
||||
import vazkii.botania.api.lexicon.LexiconEntry;
|
||||
import vazkii.botania.api.mana.IManaItem;
|
||||
import vazkii.botania.api.subtile.SubTileFunctional;
|
||||
import vazkii.botania.common.lexicon.LexiconData;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
@@ -53,6 +55,10 @@ public class SubTileSpectranthemum extends SubTileFunctional {
|
||||
|
||||
ItemStack stack = item.getEntityItem();
|
||||
if(stack != null) {
|
||||
Item sitem = stack.getItem();
|
||||
if(sitem instanceof IManaItem)
|
||||
continue;
|
||||
|
||||
int cost = stack.stackSize * COST;
|
||||
if(mana >= cost) {
|
||||
spawnExplosionParticles(item);
|
||||
|
||||
@@ -1522,7 +1522,7 @@ botania.page.vinculotus1=&oTouch this black lotus with your fingers&r.
|
||||
|
||||
# -- SPECTRANTHEMUM
|
||||
botania.entry.spectranthemum=Spectranthemum
|
||||
botania.page.spectranthemum0=Transporting items a long distance can be an arduous task. Water channels and &1Daffomills&0 won't cut it forever.<br>The &1Spectranthemum&0, at the cost of &4Mana&0 wraps the fabric of reality of any dropped items around it, teleporting them somewhere else in the world.
|
||||
botania.page.spectranthemum0=Transporting items a long distance can be an arduous task. Water channels and &1Daffomills&0 won't cut it forever.<br>The &1Spectranthemum&0, at the cost of &4Mana&0 wraps the fabric of reality of any dropped items that do not contain &4Mana&0 around it, teleporting them somewhere else in the world.
|
||||
botania.page.spectranthemum1=In order to specify where the items go, one would use a &1Wand of the Forest&0 in bind mode and bind the flower to a block somewhere, similarly to binding it to a pool.<br>In order to view what block the flower is bound to rather than the pool it's pulling &4Mana&0, one would sneak while looking at it with a wand.
|
||||
botania.page.spectranthemum2=This flower is governed by the &4axiom of chunkloading&0, by which it'll not function on chunks not loaded. This topic is not addressed in full extent this lexicon.<br>&oRecommended Reading: "Chunks and Chicken", "Anchors of the World".
|
||||
botania.page.spectranthemum3=&o(n)spooky(n+2)me&r.
|
||||
|
||||
Reference in new issue
Block a user