get item display name but without the [ ]?

Started by Burner on Sun, 03/05/2023 - 22:10

Topic category: Help with modding (Java Edition)

Last seen on 13:30, 8. Jun 2023
Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
get item display name but without the [ ]?
Sun, 03/05/2023 - 22:10

I'm creating a random attributes mod that adds a attributes name then the items name. But the problem I'm running into is that the get item display name adds [ ] at the start and end of my item's name. Is there any way around this?