Changing the attack damage tooltip of an item

Started by ShadowPlayer51 on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined Nov 2015
Points:
832

User statistics:

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

Active 9 months ago
Joined Dec 2021
Points:
494

User statistics:

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