How do I find which item was destroyed in my inventory?

Started by HelloPotatoPerson on

Topic category: Help with MCreator software

Last seen on 15:54, 23. Sep 2023
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I find which item was destroyed in my inventory?

Hello! I'm making a custom enchantment for Totems of Undying called Sky Escape that shoots the player up into the air, then gives them slow falling until they touch the ground. However, I'm having some trouble with the event triggering. I tried to cause it to trigger with health if the player was holding the totem, but to no avail. Instead, I want it to activate when the totem is destroyed. The "item is destroyed" event sounds interesting, but I can't figure out how to track the destroyed item. How is this done?

Last seen on 13:34, 6. Jul 2023
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ever figure it out?
Mon, 05/29/2023 - 04:51

Ever figure it out?