@Override
public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block block, int modelId, RenderBlocks renderer) {
int maturity = 0;
BlockFruitPod blockPod = (BlockFruitPod) block;
TileFruitPod pod = BlockFruitPod.getPodTile(world, x, y, z);
if (pod != null)
maturity = pod.getMaturity();
Tessellator tessellator = Tessellator.instance;
tessellator.setBrightness(blockPod.getMixedBrightnessForBlock(world, x, y, z));
tessellator.setColorOpaque_F(1.0f, 1.0f, 1.0f);
int metadata = world.getBlockMetadata(x, y, z);
IIcon podIcon = blockPod.getIcon(world, x, y, z, metadata);
int notchDirection = BlockDirectional.getDirection(metadata);
int k1 = 4 + maturity * 2;
int l1 = 5 + maturity * 2;
double d0 = 15.0D - k1;