Added a small amount of Alchemy Array infrastructure.
This commit is contained in:
parent
fdaa32af0c
commit
707be222f5
3 changed files with 29 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
package WayofTime.bloodmagic.tile;
|
||||
|
||||
import net.minecraft.inventory.InventoryHelper;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.network.NetworkManager;
|
||||
import net.minecraft.network.play.server.SPacketUpdateTileEntity;
|
||||
|
@ -21,6 +22,14 @@ public class TileAlchemyArray extends TileInventory implements ITickable
|
|||
super(2, "alchemyArray");
|
||||
}
|
||||
|
||||
public void onEntityCollidedWithBlock(IBlockState state, Entity entity)
|
||||
{
|
||||
if (arrayEffect != null)
|
||||
{
|
||||
arrayEffect.onEntityCollidedWithBlock(worldObj, pos, state, entity);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void readFromNBT(NBTTagCompound tagCompound)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue