Added a small amount of Alchemy Array infrastructure.

This commit is contained in:
WayofTime 2016-06-28 13:35:42 -04:00
parent fdaa32af0c
commit 707be222f5
3 changed files with 29 additions and 1 deletions

View file

@ -44,6 +44,16 @@ public class BlockAlchemyArray extends BlockContainer
// No-op
}
@Override
public void onEntityCollidedWithBlock(World world, BlockPos pos, IBlockState state, Entity entity)
{
TileEntity tile = world.getTileEntity(pos);
if (tile instanceof TileAlchemyArray)
{
((TileAlchemyArray) tile).onEntityCollidedWithBlock(state, entity);
}
}
@Override
public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos)
{