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...")
 
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:

Revision as of 10:14, 9 July 2014

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.