Tweaked shrub texture
This commit is contained in:
parent
97c3e622d0
commit
d7d6400cd5
4 changed files with 3 additions and 1 deletions
|
@ -214,6 +214,7 @@ public class BlockBOPFoliage extends BlockFlower implements IShearable
|
|||
{
|
||||
double var1 = 0.5D;
|
||||
double var3 = 1.0D;
|
||||
|
||||
return ColorizerGrass.getGrassColor(var1, var3);
|
||||
}
|
||||
|
||||
|
|
|
@ -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());
|
||||
|
|
BIN
resources/assets/biomesoplenty/textures/blocks/item_shrub.png
Normal file
BIN
resources/assets/biomesoplenty/textures/blocks/item_shrub.png
Normal file
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 |
Loading…
Reference in a new issue