When Item Destroyed not Working (Set new Empty Item)

Started by ninjawizard1234 on

Topic category: Help with modding (Java Edition)

Last seen on 04:46, 14. Mar 2024
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When Item Destroyed not Working (Set new Empty Item)

im trying to set a new Item (Empty Welder) on Main-Hand of player when the welder is destroyed (by durability damage/uses), but it wont spawn the empty item no way lol i look into dozens of topics, anybody can help? thanks!

 

Last seen on 04:46, 14. Mar 2024
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
come on guys this forum…
Sun, 12/10/2023 - 19:25

come on guys this forum needs more suport... soooo many 0 response topics atm :(

Last seen on 20:36, 3. May 2024
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
do you know if this…
Sun, 12/10/2023 - 22:37

do you know if this procedure executes before or after the item disappears from your inventory? maybe i can help

Last seen on 04:46, 14. Mar 2024
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it should execute after…
Mon, 12/11/2023 - 02:56

it should execute after since its 'when it is destroyed' 

the Welder is destroyed after its last use (set on item durability), it should trigger this event but its not, i think when a item is destroyed by uses from durability maybe this condition is not detecting it.

the Empty Welder should appear then, it does not

Last seen on 04:46, 14. Mar 2024
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you :)
Mon, 12/11/2023 - 02:56

thank you :)