Removed IDomDoor's seemingly useless initDoorTE method

This commit is contained in:
Michael Zanga 2016-11-05 00:44:55 -04:00
parent 2b9ca1c7da
commit 03a7fd1b47
3 changed files with 0 additions and 16 deletions

View file

@ -213,13 +213,6 @@ public abstract class BlockDimDoorBase extends BlockDoor implements IDimDoor, IT
return (state.getValue(BlockDoor.FACING) == EnumFacing.fromAngle(entity.rotationYaw));
}
@Override
public TileEntity initDoorTE(World world, BlockPos pos) {
TileEntity te = createTileEntity(world, world.getBlockState(pos));
world.setTileEntity(pos, te);
return te;
}
@Override
public void breakBlock(World world, BlockPos pos, IBlockState state) {
// This function runs on the server side after a block is replaced

View file

@ -96,13 +96,6 @@ public class BlockTransTrapdoor extends BlockTrapDoor implements IDimDoor, ITile
return state.getValue(BlockTrapDoor.HALF) == DoorHalf.BOTTOM;
}
@Override
public TileEntity initDoorTE(World world, BlockPos pos) {
TileEntity te = createNewTileEntity(world, getMetaFromState(world.getBlockState(pos)));
world.setTileEntity(pos, te);
return te;
}
@Override
public boolean isDoorOnRift(World world, BlockPos pos) {return true;}

View file

@ -29,8 +29,6 @@ public interface IDimDoor
public Item getItemDoor();
public TileEntity initDoorTE(World world, BlockPos pos);
/**
* checks if any of this doors blocks are overlapping with a rift
* @param world