fix xray leaves
This commit is contained in:
parent
fd823f1901
commit
6a02d7727f
1 changed files with 12 additions and 0 deletions
|
@ -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_) {
|
||||
|
|
Loading…
Reference in a new issue