"On item broken" procedure not working with items broken by hitting entities???

Started by UltroGmr on Tue, 05/03/2022 - 23:37

Topic category: Help with modding (Java Edition)

Last seen on 22:03, 5. Jul 2022
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
"On item broken" procedure not working with items broken by hitting entities???
Tue, 05/03/2022 - 23:37

I have an "On item broken" procedure which checks if the item broken was a specific item, and if it is, it replaces it with a new item (by setting the item in your hand to the new one). It works when I use the last durability to break a block, but not if I use it to kill entities with the last durability left of the item. The worst part is that this item is a weapon meant to kill things!!! Is this a bug with mcreator or simply me messing up?

Last seen on 22:03, 5. Jul 2022
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Oops I meant "Item is…
Tue, 05/03/2022 - 23:38

Oops I meant "Item is destroyed" for the procedure