Switch item with tool PROBLEM

Started by Rotmax on

Topic category: Help with modding (Java Edition)

Last seen on 09:51, 9. Feb 2024
Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Switch item with tool PROBLEM

In my new mod I added a key bind to switch an item with a tool (the same thing the other way around). But if the tool gets damage, it doesnt work anymore.

 

Last seen on 15:12, 21. Oct 2019
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Perhaps make the tool not…
Mon, 10/07/2019 - 20:58

Perhaps make the tool not able to be damaged?  Someone somewhere mentioned how to do this. But I can't find the topic. So, from what I understand is this:

 

1. Go to the item

2. Go to the page with the procedures

3. On When tool is in use tick create a new procedure for it

4. Now on that procedure, leave the Event Trigger untouched.

  • Add enchantment level 3 to the provided item: Unbreaking

 

I really hope this helps. If not, let me know even more on your issue