Dynamic Item Name

Started by RamenNoods on

Topic category: Help with modding (Java Edition)

Last seen on 19:17, 21. Apr 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Dynamic Item Name

I am making a tool that can alter the NBT tags.

The player swings the tool to cycle through the available-to-change tags, presses P to open a menu where they can enter an integer, and right clicks a block to change its tags.

I want a way for the player to know what NBT tag the tool is set to, preferably in the form of a parenthesis next to the tool's name. In my case these tags include "life", "ctype", "tmp", "temperature", etc. Like this:

Property Tool(Life) if set to life
Property Tool(CType) if set to ctype

You get the idea. How do I do this?

Last seen on 19:17, 21. Apr 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nvm i got it
Fri, 02/16/2024 - 02:11

nvm i got it