Changing the attack damage tooltip of an item

Started by ShadowPlayer51 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Changing the attack damage tooltip of an item

I want to be able to change the tooltip for the attack damage of a weapon

Example

Like the attack damage shown here. The item I have does damage that ramps up over time. I figured that actively changing the text there would be difficult, so I was wondering if I could change that text to say something like 4-16 Attack Damage? If it is possible, what would I have to change/add in the item's code to do so?

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how did you make it so it…
Sun, 03/27/2022 - 02:03

how did you make it so it does more damage over time?