Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
rdvdev2 committed Jan 4, 2020
1 parent 5f89f88 commit 22cbc0e
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,6 @@ protected boolean canConnectTo(BlockState state) {
return state.getBlock() == this || state.getBlock() == Blocks.TNT;
}

/*public BlockRenderLayer getRenderLayer() {
return BlockRenderLayer.CUTOUT;
}*/

public BlockState rotate(BlockState state, Rotation rot) {
switch(rot) {
case CLOCKWISE_180:
Expand Down Expand Up @@ -267,10 +263,6 @@ protected void fillStateContainer(StateContainer.Builder<Block, BlockState> buil
builder.add(NORTH, EAST, SOUTH, WEST, BURNED);
}

/*public BlockFaceShape getBlockFaceShape(IBlockReader worldIn, IBlockState state, BlockPos pos, EnumFacing face) {
return BlockFaceShape.UNDEFINED;
}*/

@OnlyIn(Dist.CLIENT)
public static int colorMultiplier(boolean burned) {
float red, blue, green;
Expand All @@ -282,13 +274,6 @@ public static int colorMultiplier(boolean burned) {
}
}

/*@Override
public int getItemsToDropCount(BlockState state, int fortune, World worldIn, BlockPos pos, Random random) {
if (!state.get(BURNED)) return 1;
else return 0;
}*/


public void setBurned(BlockPos pos, World world) {
BlockState state = world.getBlockState(pos);
world.setBlockState(pos, state.with(BURNED, true));
Expand Down

0 comments on commit 22cbc0e

Please sign in to comment.