Difference between revisions of "Tutorial:item Renaming 164"

From MineTweaker 3
Jump to: navigation, search
(Created page with "Not happy with an item name? Want to correct a type made by the mod author? Did some translation go missing? Although a resource pack can fix that, it may be less cumbersome...")
 
m (2 revisions imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Not happy with an item name? Want to correct a type made by the mod author? Did some translation go missing?
+
Not happy with an item name? Want to correct a <strike>type</strike> typo made by the mod author? Did some translation go missing?
  
 
Although a resource pack can fix that, it may be less cumbersome to use MineTweaker instead:
 
Although a resource pack can fix that, it may be less cumbersome to use MineTweaker instead:

Latest revision as of 14:36, 12 September 2023

Not happy with an item name? Want to correct a type typo made by the mod author? Did some translation go missing?

Although a resource pack can fix that, it may be less cumbersome to use MineTweaker instead:

print(<tile.chest>.displayName); // prints the original name
<tile.chest>.displayName = "Storage Box";

That's all it takes!

Note that there exist some mod items with broken internal names. These cannot have their names modified with this method. Neither can they be modified through translation files, and as such these mod items should be considered bugged. If NEI is installed, you can still use the NEI.overrideName function, which will change the name in most places.