Shrub things
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 637 B After Width: | Height: | Size: 639 B |
After Width: | Height: | Size: 244 B |
Before Width: | Height: | Size: 594 B After Width: | Height: | Size: 612 B |
Before Width: | Height: | Size: 653 B After Width: | Height: | Size: 722 B |