Add Elytra render for Elytra Upgrade

Temporarily stole a texture for it from https://www.reddit.com/user/lemoncake__ (http://imgur.com/a/sI5cv) until @Yulife can make a real one.
This commit is contained in:
Nicholas Ignoffo 2016-05-30 19:48:28 -07:00
parent 027787e3cd
commit 5d96b9d2bd
4 changed files with 86 additions and 4 deletions

View file

@ -477,6 +477,15 @@ public class ItemLivingArmour extends ItemArmor implements ISpecialArmor, IMeshP
return null;
}
public static boolean hasUpgrade(String id, ItemStack stack) {
if (!armourMap.containsKey(stack))
armourMap.put(stack, getLivingArmour(stack));
LivingArmour armour = armourMap.get(stack);
return armour.upgradeMap.containsKey(id);
}
public void setIsEnabled(ItemStack stack, boolean bool)
{
NBTHelper.checkNBT(stack);