Пример #1
0
 @Override
 public String getUnlocalizedName() {
   return String.format(
       "item.%s%s%s",
       Textures.RESOURCE_PREFIX,
       NameHelper.getUnwrappedUnlocalizedName(super.getUnlocalizedName()),
       getArmorTypeName(this.armorType));
 }
Пример #2
0
 @Override
 public String getUnlocalizedName(ItemStack itemStack) {
   return String.format(
       "item.%s%s%s",
       Textures.RESOURCE_PREFIX,
       NameHelper.getUnwrappedUnlocalizedName(super.getUnlocalizedName(itemStack)),
       getArmorTypeName(itemStack.getItem()));
 }
Пример #3
0
 @Override
 public String getUnlocalizedName(ItemStack itemStack) {
   return String.format(
       "item.%s%s",
       Reference.MOD_ID + ":", NameHelper.getUnwrappedUnlocalizedName(super.getUnlocalizedName()));
 }