Changed the Potion Flask rendering to use the new textures
This commit is contained in:
parent
1c8faa03ef
commit
5c43aa8c23
|
@ -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);
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue