Tweaked shrub texture

This commit is contained in:
Matt Caughey 2013-09-20 22:30:29 -04:00
parent 97c3e622d0
commit d7d6400cd5
4 changed files with 3 additions and 1 deletions

View file

@ -214,6 +214,7 @@ public class BlockBOPFoliage extends BlockFlower implements IShearable
{
double var1 = 0.5D;
double var3 = 1.0D;
return ColorizerGrass.getGrassColor(var1, var3);
}

View file

@ -41,13 +41,14 @@ public class ItemBlockFoliage extends ItemColored
textures[3] = iconRegister.registerIcon("biomesoplenty:item_highgrass");
textures[8] = iconRegister.registerIcon("biomesoplenty:item_berrybush");
textures[9] = iconRegister.registerIcon("biomesoplenty:item_shrub");
}
@Override
@SideOnly(Side.CLIENT)
public int getColorFromItemStack(ItemStack itemStack, int par2)
{
if (itemStack.getItemDamage() == 3 || itemStack.getItemDamage() == 8)
if (itemStack.getItemDamage() == 3 || itemStack.getItemDamage() == 8 || itemStack.getItemDamage() == 9)
return 16777215;
else
return Blocks.foliage.get().getRenderColor(itemStack.getItemDamage());

Binary file not shown.

After

Width:  |  Height:  |  Size: 594 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 610 B

After

Width:  |  Height:  |  Size: 651 B