Started by
kePesh
on
Topic category: Help with MCreator software
Hello I haven't been in Mcreator that long and I need help. How can I make it so that when you take an item in a spare hand it gives you some effect?
Edited by kePesh on Tue, 01/31/2023 - 17:50
I tried to do it, but it didn't work.
Is it missing dependancies? I would guess:
If
Do
Otherwise
Don't
I tried it like this, but it doesn't work either. Maybe there's a "Don't" procedure, or what did you say then? I'm just a beginner and don't understand much tell me.
I changed the "Infinity" parameter to "1000000000" and everything worked. But I need the effects were removed when the object is not in the spare hand, and when in the spare hand, on the contrary, they appeared.
No, now I went into the game and in the mcreator works, but not in the game. So what should I do?
You can only have numbers not "infinity". You instead need to put this on "item in inventory tick" (basicly checks every second for your procedure) and check if it is in offhand, then add slowness for like 10 ticks.