Changing the attack damage tooltip of an item

Started by ShadowPlayer51 on Thu, 07/15/2021 - 03:07

Topic category: Help with modding (Java Edition)

Last seen on 07:27, 20. Sep 2021
Joined Nov 2015

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Changing the attack damage tooltip of an item
Thu, 07/15/2021 - 03:07

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


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?