How do I give a person a tool automatically when theirs break?

Started by supersammy82 on Sun, 04/26/2020 - 17:05

Topic category: Help with modding (Java Edition)

Last seen on 05:28, 30. Mar 2021
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I give a person a tool automatically when theirs break?
Sun, 04/26/2020 - 17:05

Read the title. Since the body has to be more than 25 characters, I'm typing more.

Last seen on 23:58, 19. Apr 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
make it to where if theā€¦
Sun, 04/26/2020 - 21:51

make it to where if the player has the tool, remove it from the inventory and add it again. that way it will never break.