diff --git a/src/main/java/techreborn/blocks/storage/BlockEnergyStorage.java b/src/main/java/techreborn/blocks/storage/BlockEnergyStorage.java index 29f1c3848..946e10cbd 100644 --- a/src/main/java/techreborn/blocks/storage/BlockEnergyStorage.java +++ b/src/main/java/techreborn/blocks/storage/BlockEnergyStorage.java @@ -136,24 +136,6 @@ public abstract class BlockEnergyStorage extends BaseTileBlock { } // Block - @Override - public boolean rotateBlock(World world, BlockPos pos, EnumFacing side) { - IBlockState state = world.getBlockState(pos); - Block block = state.getBlock(); - if (block instanceof BlockEnergyStorage) { - EnumFacing facing = state.getValue(BlockEnergyStorage.FACING); - if (facing.getOpposite() == side) { - facing = side; - } else { - facing = side.getOpposite(); - } - world.setBlockState(pos, state.withProperty(BlockEnergyStorage.FACING, facing)); - return true; - } - - return false; - } - @Override public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn, EnumHand hand, EnumFacing side, float hitX, float hitY, float hitZ) { diff --git a/src/main/java/techreborn/blocks/transformers/BlockTransformer.java b/src/main/java/techreborn/blocks/transformers/BlockTransformer.java index 2871e6444..2b121c611 100644 --- a/src/main/java/techreborn/blocks/transformers/BlockTransformer.java +++ b/src/main/java/techreborn/blocks/transformers/BlockTransformer.java @@ -178,24 +178,6 @@ public abstract class BlockTransformer extends BaseTileBlock { return super.onBlockActivated(worldIn, pos, state, playerIn, hand, side, hitX, hitY, hitZ); } - @Override - public boolean rotateBlock(World world, BlockPos pos, EnumFacing side) { - IBlockState state = world.getBlockState(pos); - Block block = state.getBlock(); - if (block instanceof BlockTransformer) { - EnumFacing facing = state.getValue(BlockTransformer.FACING); - if (facing.getOpposite() == side) { - facing = side; - } else { - facing = side.getOpposite(); - } - world.setBlockState(pos, state.withProperty(BlockTransformer.FACING, facing)); - return true; - } - - return false; - } - @Override public int getMetaFromState(IBlockState state) { int facingInt = getSideFromEnum(state.getValue(FACING));