public boolean canPlace(World world, int i, int j, int k) { Block block = world.getType(i, j - 1, k); return block != Blocks.ICE && block != Blocks.PACKED_ICE ? (block.getMaterial() == Material.LEAVES ? true : (block == this && (world.getData(i, j - 1, k) & 7) == 7 ? true : block.c() && block.material.isSolid())) : false; }
@Override public int c() { return parent.c(); }