Separated assets in 3 parts-Condensed rendering code
This commit is contained in:
parent
cd01a41ae1
commit
7cf77cdad0
257 changed files with 536 additions and 1648 deletions
|
|
@ -20,11 +20,11 @@ public class ItemArmorMithril extends ItemArmor {
|
|||
@Override
|
||||
public String getArmorTexture(ItemStack stack, Entity entity, int slot, int layer) {
|
||||
int suffix = this.armorType == 2 ? 2 : 1;
|
||||
return "mysticmods:textures" + "/models/armor/Mithril_layer_" + suffix + ".png";
|
||||
return "mysticworld:textures/models/armor/Mithril_layer_" + suffix + ".png";
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerIcons(IconRegister iconRegister) {
|
||||
itemIcon = iconRegister.registerIcon("mysticmods:MithrilArmor_" + ArmorType);
|
||||
itemIcon = iconRegister.registerIcon("mysticworld:MithrilArmor_" + ArmorType);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue