Changing display name doesn't work correctly in newer versions of Minecraft.

Started by JustASirius on

Topic category: Troubleshooting, bugs, and solutions

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Changing display name doesn't work correctly in newer versions of Minecraft.

When using "Set Item Display Name", the item name is displayed in italics in the game. This is due to the fact that in newer versions of Minecraft, the method responsible for custom names has been changed. However, in MCreator, the deprecated property is used. Now the option responsible for changing the name of the object is as before, is the item_name, to remove italics, you need to either change the text property via code, adding italic:false, or replace CUSTOM_NAME with ITEM_NAME.