Started by
ninjawizard1234
on
Topic category: Help with Minecraft modding (Java Edition)
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 ! :)
What is the external trigger ?
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
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
I think you need to put "item in main-hand of" directly instead of putting "get a copy of item..."
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
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
I didn't find a solution. Trying to recreate a forum for other people to respond.