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

Started by UltroGmr on

Topic category: Help with modding (Java Edition)

Last seen on 02:21, 30. Jul 2023
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"On item broken" procedure not working with items broken by hitting entities???

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 02:21, 30. Jul 2023
Joined Apr 2019
Points:

User statistics:

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

Oops I meant "Item is destroyed" for the procedure