How to make my weapon use hunger to heal you.

Started by Blindknight on

Topic category: Help with modding (Java Edition)

Last seen on 16:24, 3. Jul 2023
Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make my weapon use hunger to heal you.

I am trying to make a Hollow knight themed mod, and I can't figure out how to do two things: 1. if you hit an enemy with my custom sword, you get saturation/hunger points. and 2. you can right click with that sword to use saturation/hunger to instantly heal. plz help.