Separated assets in 3 parts-Condensed rendering code

This commit is contained in:
GotoLink 2013-11-04 00:02:10 +01:00
commit 7cf77cdad0
257 changed files with 536 additions and 1648 deletions

View file

@ -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);
}
}