Changed the Potion Flask rendering to use the new textures

This commit is contained in:
WayofTime 2016-07-27 13:25:25 -04:00
parent 1c8faa03ef
commit 5c43aa8c23
2 changed files with 4 additions and 3 deletions

View file

@ -126,7 +126,7 @@ public class ClientProxy extends CommonProxy
@Override @Override
public int getColorFromItemstack(ItemStack stack, int tintIndex) public int getColorFromItemstack(ItemStack stack, int tintIndex)
{ {
if (tintIndex != 1) if (tintIndex != 0 && tintIndex != 2)
return -1; return -1;
List<PotionEffect> effects = PotionUtils.getEffectsFromStack(stack); List<PotionEffect> effects = PotionUtils.getEffectsFromStack(stack);

View file

@ -8,8 +8,9 @@
"type": { "type": {
"normal": { "normal": {
"textures": { "textures": {
"layer0": "bloodmagic:items/PotionFlask_outline", "layer0": "bloodmagic:items/PotionFlask_underlay",
"layer1": "bloodmagic:items/PotionFlask_overlay" "layer1": "bloodmagic:items/PotionFlask_outline",
"layer2": "bloodmagic:items/PotionFlask_overlay"
} }
} }
} }