diff --git a/src/main/java/mekanism/common/block/BlockBasic.java b/src/main/java/mekanism/common/block/BlockBasic.java index 3948bb46d..27a6c6e4f 100644 --- a/src/main/java/mekanism/common/block/BlockBasic.java +++ b/src/main/java/mekanism/common/block/BlockBasic.java @@ -207,6 +207,7 @@ public abstract class BlockBasic extends Block { @Nonnull @Override + @Deprecated public IBlockState getStateFromMeta(int meta) { BlockStateBasic.BasicBlockType type = BlockStateBasic.BasicBlockType.get(getBasicBlock(), meta & 0xF); @@ -221,6 +222,7 @@ public abstract class BlockBasic extends Block { @Nonnull @Override + @Deprecated public IBlockState getActualState(@Nonnull IBlockState state, IBlockAccess worldIn, BlockPos pos) { TileEntity tile = MekanismUtils.getTileEntitySafe(worldIn, pos); @@ -266,6 +268,7 @@ public abstract class BlockBasic extends Block { } @Override + @Deprecated public void neighborChanged(IBlockState state, World world, BlockPos pos, Block neighborBlock, BlockPos fromPos) { if (!world.isRemote) { TileEntity tileEntity = new Coord4D(pos, world).getTileEntity(world); @@ -524,6 +527,7 @@ public abstract class BlockBasic extends Block { } @Override + @Deprecated public boolean isSideSolid(IBlockState state, @Nonnull IBlockAccess world, @Nonnull BlockPos pos, EnumFacing side) { return BasicBlockType.get(state) != BasicBlockType.STRUCTURAL_GLASS; } @@ -536,17 +540,20 @@ public abstract class BlockBasic extends Block { } @Override + @Deprecated public boolean isOpaqueCube(IBlockState state) { return false; } @Override + @Deprecated public boolean isFullCube(IBlockState state) { return false; } @Nonnull @Override + @Deprecated public EnumBlockRenderType getRenderType(IBlockState state) { return EnumBlockRenderType.MODEL; } @@ -757,6 +764,7 @@ public abstract class BlockBasic extends Block { } @Override + @Deprecated @SideOnly(Side.CLIENT) public boolean shouldSideBeRendered(IBlockState state, @Nonnull IBlockAccess world, @Nonnull BlockPos pos, EnumFacing side) { diff --git a/src/main/java/mekanism/common/block/BlockBounding.java b/src/main/java/mekanism/common/block/BlockBounding.java index 59dd0e6bf..31498b4ee 100644 --- a/src/main/java/mekanism/common/block/BlockBounding.java +++ b/src/main/java/mekanism/common/block/BlockBounding.java @@ -37,6 +37,7 @@ public class BlockBounding extends Block { @Nonnull @Override + @Deprecated public IBlockState getStateFromMeta(int meta) { return getDefaultState().withProperty(BlockStateBounding.advancedProperty, meta > 0); } @@ -93,6 +94,7 @@ public class BlockBounding extends Block { } @Override + @Deprecated public void neighborChanged(IBlockState state, World world, BlockPos pos, Block neighborBlock, BlockPos neighborPos) { try { @@ -105,6 +107,7 @@ public class BlockBounding extends Block { } @Override + @Deprecated public float getPlayerRelativeBlockHardness(IBlockState state, @Nonnull EntityPlayer player, @Nonnull World world, @Nonnull BlockPos pos) { try { @@ -129,16 +132,19 @@ public class BlockBounding extends Block { @Nonnull @Override + @Deprecated public EnumBlockRenderType getRenderType(IBlockState state) { return EnumBlockRenderType.INVISIBLE; } @Override + @Deprecated public boolean isOpaqueCube(IBlockState state) { return false; } @Override + @Deprecated public boolean isFullCube(IBlockState state) { return false; } diff --git a/src/main/java/mekanism/common/block/BlockCardboardBox.java b/src/main/java/mekanism/common/block/BlockCardboardBox.java index b6953da6f..6155274ba 100644 --- a/src/main/java/mekanism/common/block/BlockCardboardBox.java +++ b/src/main/java/mekanism/common/block/BlockCardboardBox.java @@ -53,6 +53,7 @@ public class BlockCardboardBox extends BlockContainer { @Nonnull @Override + @Deprecated public IBlockState getStateFromMeta(int meta) { return getDefaultState().withProperty(storageProperty, meta == 1); } @@ -121,6 +122,7 @@ public class BlockCardboardBox extends BlockContainer { @Nonnull @Override + @Deprecated public EnumBlockRenderType getRenderType(IBlockState state) { return EnumBlockRenderType.MODEL; } diff --git a/src/main/java/mekanism/common/block/BlockEnergyCube.java b/src/main/java/mekanism/common/block/BlockEnergyCube.java index 2026e06d7..f8fd8dfbb 100644 --- a/src/main/java/mekanism/common/block/BlockEnergyCube.java +++ b/src/main/java/mekanism/common/block/BlockEnergyCube.java @@ -74,12 +74,14 @@ public class BlockEnergyCube extends BlockContainer { @Nonnull @Override + @Deprecated public IBlockState getStateFromMeta(int meta) { return getDefaultState(); } @Nonnull @Override + @Deprecated public IBlockState getActualState(@Nonnull IBlockState state, IBlockAccess worldIn, BlockPos pos) { TileEntity tile = MekanismUtils.getTileEntitySafe(worldIn, pos); @@ -99,6 +101,7 @@ public class BlockEnergyCube extends BlockContainer { } @Override + @Deprecated public void neighborChanged(IBlockState state, World world, BlockPos pos, Block neighborBlock, BlockPos neighborPos) { if (!world.isRemote) { @@ -168,6 +171,7 @@ public class BlockEnergyCube extends BlockContainer { } @Override + @Deprecated public float getPlayerRelativeBlockHardness(IBlockState state, @Nonnull EntityPlayer player, @Nonnull World world, @Nonnull BlockPos pos) { TileEntity tile = world.getTileEntity(pos); @@ -254,12 +258,14 @@ public class BlockEnergyCube extends BlockContainer { } @Override + @Deprecated public boolean isOpaqueCube(IBlockState state) { return false; } @Nonnull @Override + @Deprecated public EnumBlockRenderType getRenderType(IBlockState state) { return EnumBlockRenderType.MODEL; } @@ -322,17 +328,20 @@ public class BlockEnergyCube extends BlockContainer { } @Override + @Deprecated public boolean hasComparatorInputOverride(IBlockState state) { return true; } @Override + @Deprecated public int getComparatorInputOverride(IBlockState state, World world, BlockPos pos) { TileEntityEnergyCube tileEntity = (TileEntityEnergyCube) world.getTileEntity(pos); return tileEntity.getRedstoneLevel(); } @Override + @Deprecated public boolean isSideSolid(IBlockState state, @Nonnull IBlockAccess world, @Nonnull BlockPos pos, EnumFacing side) { return true; } diff --git a/src/main/java/mekanism/common/block/BlockGasTank.java b/src/main/java/mekanism/common/block/BlockGasTank.java index 9c7b99877..8dfbc8400 100644 --- a/src/main/java/mekanism/common/block/BlockGasTank.java +++ b/src/main/java/mekanism/common/block/BlockGasTank.java @@ -62,6 +62,7 @@ public class BlockGasTank extends BlockContainer { @Nonnull @Override + @Deprecated public IBlockState getStateFromMeta(int meta) { return getDefaultState(); } @@ -73,6 +74,7 @@ public class BlockGasTank extends BlockContainer { @Nonnull @Override + @Deprecated public IBlockState getActualState(@Nonnull IBlockState state, IBlockAccess worldIn, BlockPos pos) { TileEntity tile = MekanismUtils.getTileEntitySafe(worldIn, pos); @@ -119,6 +121,7 @@ public class BlockGasTank extends BlockContainer { } @Override + @Deprecated public void neighborChanged(IBlockState state, World world, BlockPos pos, Block neighborBlock, BlockPos neighborPos) { if (!world.isRemote) { @@ -131,6 +134,7 @@ public class BlockGasTank extends BlockContainer { } @Override + @Deprecated public float getPlayerRelativeBlockHardness(IBlockState state, @Nonnull EntityPlayer player, @Nonnull World world, @Nonnull BlockPos pos) { TileEntity tile = world.getTileEntity(pos); @@ -243,18 +247,21 @@ public class BlockGasTank extends BlockContainer { } @Override + @Deprecated public boolean isOpaqueCube(IBlockState state) { return false; } @Nonnull @Override + @Deprecated public EnumBlockRenderType getRenderType(IBlockState state) { return EnumBlockRenderType.MODEL; } @Nonnull @Override + @Deprecated public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess world, BlockPos pos) { return TANK_BOUNDS; } @@ -302,11 +309,13 @@ public class BlockGasTank extends BlockContainer { } @Override + @Deprecated public boolean hasComparatorInputOverride(IBlockState state) { return true; } @Override + @Deprecated public int getComparatorInputOverride(IBlockState state, World world, BlockPos pos) { TileEntityGasTank tileEntity = (TileEntityGasTank) world.getTileEntity(pos); return tileEntity.getRedstoneLevel(); @@ -347,11 +356,13 @@ public class BlockGasTank extends BlockContainer { } @Override + @Deprecated public boolean isFullBlock(IBlockState state) { return false; } @Override + @Deprecated public boolean isFullCube(IBlockState state) { return false; } diff --git a/src/main/java/mekanism/common/block/BlockGlowPanel.java b/src/main/java/mekanism/common/block/BlockGlowPanel.java index 747f7dc91..56709396c 100644 --- a/src/main/java/mekanism/common/block/BlockGlowPanel.java +++ b/src/main/java/mekanism/common/block/BlockGlowPanel.java @@ -104,6 +104,7 @@ public class BlockGlowPanel extends Block implements ITileEntityProvider { @Nonnull @Override + @Deprecated public IBlockState getActualState(@Nonnull IBlockState state, IBlockAccess world, BlockPos pos) { TileEntityGlowPanel tileEntity = getTileEntityGlowPanel(world, pos); return tileEntity != null ? state.withProperty(BlockStateFacing.facingProperty, tileEntity.side) : state; @@ -128,6 +129,7 @@ public class BlockGlowPanel extends Block implements ITileEntityProvider { } @Override + @Deprecated public void neighborChanged(IBlockState state, World world, BlockPos pos, Block block, BlockPos neighbor) { TileEntityGlowPanel tileEntity = getTileEntityGlowPanel(world, pos); @@ -167,6 +169,7 @@ public class BlockGlowPanel extends Block implements ITileEntityProvider { @Nonnull @Override + @Deprecated public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess world, BlockPos pos) { TileEntityGlowPanel tileEntity = getTileEntityGlowPanel(world, pos); @@ -230,26 +233,31 @@ public class BlockGlowPanel extends Block implements ITileEntityProvider { @Nonnull @Override + @Deprecated public EnumBlockRenderType getRenderType(IBlockState state) { return EnumBlockRenderType.MODEL; } @Override + @Deprecated public boolean isBlockNormalCube(IBlockState state) { return false; } @Override + @Deprecated public boolean isOpaqueCube(IBlockState state) { return false; } @Override + @Deprecated public boolean isFullCube(IBlockState state) { return false; } @Override + @Deprecated public boolean isFullBlock(IBlockState state) { return false; } diff --git a/src/main/java/mekanism/common/block/BlockMachine.java b/src/main/java/mekanism/common/block/BlockMachine.java index 64862e647..155d7f543 100644 --- a/src/main/java/mekanism/common/block/BlockMachine.java +++ b/src/main/java/mekanism/common/block/BlockMachine.java @@ -134,6 +134,7 @@ public abstract class BlockMachine extends BlockContainer { @Nonnull @Override + @Deprecated public IBlockState getStateFromMeta(int meta) { MachineType type = MachineType.get(getMachineBlock(), meta & 0xF); @@ -148,6 +149,7 @@ public abstract class BlockMachine extends BlockContainer { @Nonnull @Override + @Deprecated public IBlockState getActualState(@Nonnull IBlockState state, IBlockAccess worldIn, BlockPos pos) { TileEntity tile = MekanismUtils.getTileEntitySafe(worldIn, pos); @@ -505,6 +507,7 @@ public abstract class BlockMachine extends BlockContainer { } @Override + @Deprecated public boolean isOpaqueCube(IBlockState state) { return false; } @@ -517,6 +520,7 @@ public abstract class BlockMachine extends BlockContainer { @Nonnull @Override + @Deprecated public EnumBlockRenderType getRenderType(IBlockState state) { return EnumBlockRenderType.MODEL; } @@ -529,6 +533,7 @@ public abstract class BlockMachine extends BlockContainer { } @Override + @Deprecated public float getPlayerRelativeBlockHardness(IBlockState state, @Nonnull EntityPlayer player, @Nonnull World world, @Nonnull BlockPos pos) { TileEntity tile = world.getTileEntity(pos); @@ -569,11 +574,13 @@ public abstract class BlockMachine extends BlockContainer { } @Override + @Deprecated public boolean hasComparatorInputOverride(IBlockState state) { return true; } @Override + @Deprecated public int getComparatorInputOverride(IBlockState state, World world, BlockPos pos) { TileEntity tileEntity = world.getTileEntity(pos); @@ -689,6 +696,7 @@ public abstract class BlockMachine extends BlockContainer { } @Override + @Deprecated public void neighborChanged(IBlockState state, World world, BlockPos pos, Block neighborBlock, BlockPos neighborPos) { if (!world.isRemote) { @@ -826,6 +834,7 @@ public abstract class BlockMachine extends BlockContainer { @Nonnull @Override + @Deprecated public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess world, BlockPos pos) { MachineType type = MachineType.get(getMachineBlock(), state.getBlock().getMetaFromState(state)); TileEntity tile = MekanismUtils.getTileEntitySafe(world, pos); @@ -855,11 +864,13 @@ public abstract class BlockMachine extends BlockContainer { } @Override + @Deprecated public boolean isFullCube(IBlockState state) { return false; } @Override + @Deprecated public boolean isSideSolid(IBlockState state, @Nonnull IBlockAccess world, @Nonnull BlockPos pos, EnumFacing side) { MachineType type = MachineType.get(getMachineBlock(), state.getBlock().getMetaFromState(state)); @@ -913,6 +924,7 @@ public abstract class BlockMachine extends BlockContainer { } @Override + @Deprecated public int getWeakPower(IBlockState state, IBlockAccess world, BlockPos pos, EnumFacing side) { TileEntity tile = MekanismUtils.getTileEntitySafe(world, pos); diff --git a/src/main/java/mekanism/common/block/BlockObsidianTNT.java b/src/main/java/mekanism/common/block/BlockObsidianTNT.java index a2f9a370d..c7c53cbfd 100644 --- a/src/main/java/mekanism/common/block/BlockObsidianTNT.java +++ b/src/main/java/mekanism/common/block/BlockObsidianTNT.java @@ -43,6 +43,7 @@ public class BlockObsidianTNT extends Block { } @Override + @Deprecated public void neighborChanged(IBlockState state, World world, BlockPos pos, Block neighborBlock, BlockPos neighborPos) { if (world.getRedstonePowerFromNeighbors(pos) > 0) { @@ -91,6 +92,7 @@ public class BlockObsidianTNT extends Block { } @Override + @Deprecated public boolean isOpaqueCube(IBlockState state) { return false; } diff --git a/src/main/java/mekanism/common/block/BlockOre.java b/src/main/java/mekanism/common/block/BlockOre.java index 0cb9b774f..d90ed6600 100644 --- a/src/main/java/mekanism/common/block/BlockOre.java +++ b/src/main/java/mekanism/common/block/BlockOre.java @@ -34,6 +34,7 @@ public class BlockOre extends Block { @Nonnull @Override + @Deprecated public IBlockState getStateFromMeta(int meta) { return getDefaultState().withProperty(BlockStateOre.typeProperty, EnumOreType.values()[meta]); } diff --git a/src/main/java/mekanism/common/block/BlockPlastic.java b/src/main/java/mekanism/common/block/BlockPlastic.java index bc4bb5a5f..4ed9dd03c 100644 --- a/src/main/java/mekanism/common/block/BlockPlastic.java +++ b/src/main/java/mekanism/common/block/BlockPlastic.java @@ -42,6 +42,7 @@ public class BlockPlastic extends Block { @Nonnull @Override + @Deprecated public IBlockState getStateFromMeta(int meta) { return getDefaultState().withProperty(BlockStatePlastic.colorProperty, EnumDyeColor.byDyeDamage(meta)); } diff --git a/src/main/java/mekanism/common/block/BlockPlasticFence.java b/src/main/java/mekanism/common/block/BlockPlasticFence.java index 8ada9b44c..f156c2b5e 100644 --- a/src/main/java/mekanism/common/block/BlockPlasticFence.java +++ b/src/main/java/mekanism/common/block/BlockPlasticFence.java @@ -32,6 +32,7 @@ public class BlockPlasticFence extends BlockFence { @Nonnull @Override + @Deprecated public IBlockState getStateFromMeta(int meta) { return this.getDefaultState().withProperty(colorProperty, EnumDyeColor.byDyeDamage(meta)); } diff --git a/src/main/java/mekanism/common/block/BlockTransmitter.java b/src/main/java/mekanism/common/block/BlockTransmitter.java index 2a98aa51e..d054fdad8 100644 --- a/src/main/java/mekanism/common/block/BlockTransmitter.java +++ b/src/main/java/mekanism/common/block/BlockTransmitter.java @@ -136,6 +136,7 @@ public class BlockTransmitter extends Block implements ITileEntityProvider { @Nonnull @Override + @Deprecated public IBlockState getActualState(@Nonnull IBlockState state, IBlockAccess worldIn, BlockPos pos) { TileEntitySidedPipe tile = getTileEntitySidedPipe(worldIn, pos); if (tile != null) { @@ -147,6 +148,7 @@ public class BlockTransmitter extends Block implements ITileEntityProvider { @Nonnull @Override + @Deprecated public IBlockState getStateFromMeta(int meta) { TransmitterType type = TransmitterType.get(meta); return getDefaultState().withProperty(BlockStateTransmitter.typeProperty, type); @@ -186,6 +188,7 @@ public class BlockTransmitter extends Block implements ITileEntityProvider { @Nonnull @Override + @Deprecated public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess world, BlockPos pos) { TileEntitySidedPipe tile = getTileEntitySidedPipe(world, pos); @@ -197,6 +200,7 @@ public class BlockTransmitter extends Block implements ITileEntityProvider { } @Override + @Deprecated public void addCollisionBoxToList(IBlockState state, @Nonnull World world, @Nonnull BlockPos pos, @Nonnull AxisAlignedBB entityBox, @Nonnull List collidingBoxes, @Nullable Entity entityIn, boolean b) { @@ -213,11 +217,13 @@ public class BlockTransmitter extends Block implements ITileEntityProvider { @Nonnull @Override + @Deprecated public AxisAlignedBB getSelectedBoundingBox(IBlockState state, @Nonnull World world, @Nonnull BlockPos pos) { return getDefaultForTile(getTileEntitySidedPipe(world, pos)).offset(pos); } @Override + @Deprecated public RayTraceResult collisionRayTrace(IBlockState blockState, @Nonnull World world, @Nonnull BlockPos pos, @Nonnull Vec3d start, @Nonnull Vec3d end) { TileEntitySidedPipe tile = getTileEntitySidedPipe(world, pos); @@ -325,6 +331,7 @@ public class BlockTransmitter extends Block implements ITileEntityProvider { } @Override + @Deprecated public void neighborChanged(IBlockState state, World world, BlockPos pos, Block block, BlockPos neighbor) { TileEntitySidedPipe tile = getTileEntitySidedPipe(world, pos); if (tile != null) { @@ -358,26 +365,31 @@ public class BlockTransmitter extends Block implements ITileEntityProvider { @Nonnull @Override + @Deprecated public EnumBlockRenderType getRenderType(IBlockState state) { return EnumBlockRenderType.MODEL; } @Override + @Deprecated public boolean isBlockNormalCube(IBlockState state) { return false; } @Override + @Deprecated public boolean isOpaqueCube(IBlockState state) { return false; } @Override + @Deprecated public boolean isFullCube(IBlockState state) { return false; } @Override + @Deprecated public boolean isFullBlock(IBlockState state) { return false; } diff --git a/src/main/java/mekanism/common/item/ItemAtomicDisassembler.java b/src/main/java/mekanism/common/item/ItemAtomicDisassembler.java index 4452ea5d5..08f60bd68 100644 --- a/src/main/java/mekanism/common/item/ItemAtomicDisassembler.java +++ b/src/main/java/mekanism/common/item/ItemAtomicDisassembler.java @@ -327,6 +327,7 @@ public class ItemAtomicDisassembler extends ItemEnergized { @Nonnull @Override + @Deprecated public Multimap getItemAttributeModifiers(EntityEquipmentSlot equipmentSlot) { Multimap multimap = super.getItemAttributeModifiers(equipmentSlot); diff --git a/src/main/java/mekanism/generators/common/block/BlockGenerator.java b/src/main/java/mekanism/generators/common/block/BlockGenerator.java index e429a1208..df382efe2 100644 --- a/src/main/java/mekanism/generators/common/block/BlockGenerator.java +++ b/src/main/java/mekanism/generators/common/block/BlockGenerator.java @@ -102,6 +102,7 @@ public abstract class BlockGenerator extends BlockContainer { @Nonnull @Override + @Deprecated public IBlockState getStateFromMeta(int meta) { GeneratorType type = GeneratorType.get(getGeneratorBlock(), meta & 0xF); @@ -116,6 +117,7 @@ public abstract class BlockGenerator extends BlockContainer { @Nonnull @Override + @Deprecated public IBlockState getActualState(@Nonnull IBlockState state, IBlockAccess worldIn, BlockPos pos) { TileEntity tile = MekanismUtils.getTileEntitySafe(worldIn, pos); @@ -131,6 +133,7 @@ public abstract class BlockGenerator extends BlockContainer { } @Override + @Deprecated public void neighborChanged(IBlockState state, World world, BlockPos pos, Block neighborBlock, BlockPos neighborPos) { if (!world.isRemote) { @@ -214,6 +217,7 @@ public abstract class BlockGenerator extends BlockContainer { } @Override + @Deprecated public float getPlayerRelativeBlockHardness(IBlockState state, @Nonnull EntityPlayer player, @Nonnull World world, @Nonnull BlockPos pos) { TileEntity tile = world.getTileEntity(pos); @@ -459,16 +463,19 @@ public abstract class BlockGenerator extends BlockContainer { @Nonnull @Override + @Deprecated public EnumBlockRenderType getRenderType(IBlockState state) { return EnumBlockRenderType.MODEL; } @Override + @Deprecated public boolean isOpaqueCube(IBlockState state) { return false; } @Override + @Deprecated public boolean isFullCube(IBlockState state) { return false; } @@ -488,6 +495,7 @@ public abstract class BlockGenerator extends BlockContainer { @Nonnull @Override + @Deprecated public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess world, BlockPos pos) { GeneratorType type = GeneratorType.get(state); @@ -591,6 +599,7 @@ public abstract class BlockGenerator extends BlockContainer { } @Override + @Deprecated public boolean isSideSolid(IBlockState state, @Nonnull IBlockAccess world, @Nonnull BlockPos pos, EnumFacing side) { GeneratorType type = GeneratorType.get(getGeneratorBlock(), state.getBlock().getMetaFromState(state)); diff --git a/src/main/java/mekanism/generators/common/block/BlockReactor.java b/src/main/java/mekanism/generators/common/block/BlockReactor.java index 5c208250a..89f39142a 100644 --- a/src/main/java/mekanism/generators/common/block/BlockReactor.java +++ b/src/main/java/mekanism/generators/common/block/BlockReactor.java @@ -61,6 +61,7 @@ public abstract class BlockReactor extends Block implements ITileEntityProvider @Nonnull @Override + @Deprecated public IBlockState getActualState(@Nonnull IBlockState state, IBlockAccess worldIn, BlockPos pos) { TileEntity tile = MekanismUtils.getTileEntitySafe(worldIn, pos); @@ -83,6 +84,7 @@ public abstract class BlockReactor extends Block implements ITileEntityProvider @Nonnull @Override + @Deprecated public IBlockState getStateFromMeta(int meta) { ReactorBlockType type = ReactorBlockType.get(getReactorBlock(), meta & 0xF); @@ -101,6 +103,7 @@ public abstract class BlockReactor extends Block implements ITileEntityProvider } @Override + @Deprecated public void neighborChanged(IBlockState state, World world, BlockPos pos, Block neighborBlock, BlockPos neighborPos) { if (!world.isRemote) { @@ -185,16 +188,19 @@ public abstract class BlockReactor extends Block implements ITileEntityProvider @Nonnull @Override + @Deprecated public EnumBlockRenderType getRenderType(IBlockState state) { return EnumBlockRenderType.MODEL; } @Override + @Deprecated public boolean isOpaqueCube(IBlockState state) { return false; } @Override + @Deprecated public boolean isFullCube(IBlockState state) { return false; } @@ -206,6 +212,7 @@ public abstract class BlockReactor extends Block implements ITileEntityProvider } @Override + @Deprecated @SideOnly(Side.CLIENT) public boolean shouldSideBeRendered(IBlockState state, @Nonnull IBlockAccess world, @Nonnull BlockPos pos, EnumFacing side) { @@ -227,6 +234,7 @@ public abstract class BlockReactor extends Block implements ITileEntityProvider } @Override + @Deprecated public int getWeakPower(IBlockState state, IBlockAccess world, BlockPos pos, EnumFacing side) { TileEntity tile = MekanismUtils.getTileEntitySafe(world, pos); @@ -238,6 +246,7 @@ public abstract class BlockReactor extends Block implements ITileEntityProvider } @Override + @Deprecated public boolean isSideSolid(IBlockState state, @Nonnull IBlockAccess world, @Nonnull BlockPos pos, EnumFacing side) { ReactorBlockType type = ReactorBlockType.get(getReactorBlock(), state.getBlock().getMetaFromState(state));