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
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue