예제 #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()));
 }