Skip to content
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.

Commit

Permalink
yeet
Browse files Browse the repository at this point in the history
  • Loading branch information
Prospector authored Sep 6, 2018
1 parent 0361a7c commit 8998e25
Showing 1 changed file with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,17 @@ public List<ItemStack> onSheared(ItemStack item, IBlockAccess world, BlockPos po
return list;
}

public boolean isOpaqueCube(IBlockState state) {
return false;
}
@Override
public boolean isOpaqueCube(IBlockState state) {
return Blocks.LEAVES.getDefaultState().isOpaqueCube();
}

@SideOnly(Side.CLIENT)
public BlockRenderLayer getBlockLayer() {
return Minecraft.getMinecraft().gameSettings.fancyGraphics ? BlockRenderLayer.CUTOUT_MIPPED : BlockRenderLayer.SOLID;
}
@Override
@SideOnly(Side.CLIENT)
public BlockRenderLayer getBlockLayer() {
return Blocks.LEAVES.getBlockLayer();
}



@Override
Expand Down

0 comments on commit 8998e25

Please sign in to comment.