Shrub things

This commit is contained in:
Matt Caughey 2013-09-21 05:15:43 -04:00
parent 3d081408b1
commit c2bb289b67
5 changed files with 5 additions and 0 deletions

View file

@ -238,6 +238,11 @@ public class BlockBOPFoliage extends BlockFlower implements IShearable
@SideOnly(Side.CLIENT) @SideOnly(Side.CLIENT)
public int colorMultiplier(IBlockAccess par1IBlockAccess, int par2, int par3, int par4) public int colorMultiplier(IBlockAccess par1IBlockAccess, int par2, int par3, int par4)
{ {
if (par1IBlockAccess.getBlockMetadata(par2, par3, par4) == 9)
{
return par1IBlockAccess.getBiomeGenForCoords(par2, par4).getBiomeFoliageColor();
}
return par1IBlockAccess.getBiomeGenForCoords(par2, par4).getBiomeGrassColor(); return par1IBlockAccess.getBiomeGenForCoords(par2, par4).getBiomeGrassColor();
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 637 B

After

Width:  |  Height:  |  Size: 639 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 594 B

After

Width:  |  Height:  |  Size: 612 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 653 B

After

Width:  |  Height:  |  Size: 722 B