fix xray leaves

This commit is contained in:
LordMZTE 2021-04-04 18:03:44 +02:00
parent fd823f1901
commit 6a02d7727f

View file

@ -22,6 +22,18 @@ public class BlockForceLeaves extends BlockLeaves {
this.icon = register.registerIcon(Dartcraft.MODID + ":leaves");
}
@SideOnly(Side.CLIENT)
@Override
public boolean isOpaqueCube() {
return false;
}
@SideOnly(Side.CLIENT)
@Override
public boolean shouldSideBeRendered(IBlockAccess p_149646_1_, int p_149646_2_, int p_149646_3_, int p_149646_4_, int p_149646_5_) {
return true;
}
@SideOnly(Side.CLIENT)
@Override
public IIcon getIcon(int p_149691_1_, int p_149691_2_) {