use of net.silentchaos512.gems.tile.TileChaosPylon in project SilentGems by SilentChaos512.
the class BlockChaosPylon method breakBlock.
@Override
public void breakBlock(World world, BlockPos pos, IBlockState state) {
TileEntity tilePylon = world.getTileEntity(pos);
if (tilePylon != null && tilePylon instanceof TileChaosPylon) {
InventoryHelper.dropInventoryItems(world, pos, (TileChaosPylon) tilePylon);
world.updateComparatorOutputLevel(pos, this);
}
super.breakBlock(world, pos, state);
}
Aggregations