Deal damage to item on Slot

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:
Deal damage to item on Slot

im trying to cause 1 damage on each tick here to my item on Slot 1 there, the code is working because the sound plays, just the procedure in Red there, Deal damage to slot 1 is not working, can someone help me see what i did wrong? thanks ! :)

 

 

Last seen on 21:38, 22. Apr 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What is the external trigger…
Mon, 12/04/2023 - 07:04

What is the external trigger ?

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
this triggers when the…
Mon, 12/04/2023 - 09:07

this triggers when the player hold the item on the hand (when the mob is detected, it changes to another item on hand), everything works beside that Deal Damage part - i want the battery to get 1 damage each time that sound beeps

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
both items share the same…
Mon, 12/04/2023 - 09:08

both items share the same Item GUI too, that Item is inside the Slot 1 on the GUI from the Item the Player is holding on Main-hand

Last seen on 21:38, 22. Apr 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think you need to put …
Mon, 12/04/2023 - 17:45

I think you need to put "item in main-hand of" directly instead of putting "get a copy of item..."

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
but i want the item that is…
Mon, 12/04/2023 - 23:43

but i want the item that is on the slot to be damaged not the holding item per se; the holding item is the Detector, i want to hurt the Battery item inside its slot

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
its strange tbh, i set the…
Mon, 12/04/2023 - 23:46

its strange tbh, i set the item integrety to like 100 so i should see a small green bar on it each time i hurt it

Last seen on 21:38, 22. Apr 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I didn't find a solution…
Tue, 12/05/2023 - 18:48

I didn't find a solution. Trying to recreate a forum for other people to respond.