Dynamic Item Name

Started by GamesOfLife on

Topic category: Help with Minecraft modding (Java Edition)

Active 6 days ago
Joined Feb 2024
Points:
284

User statistics:

  • Modifications: 1
  • Forum topics: 29
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 40
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?

Active 6 days ago
Joined Feb 2024
Points:
284

User statistics:

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

nvm i got it