Help with procedures

Started by kePesh on

Topic category: Help with MCreator software

Last seen on 09:23, 12. Feb 2023
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with procedures
Tue, 01/31/2023 - 17:50 (edited)

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
Last seen on 09:23, 12. Feb 2023
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I tried to do it, but it…
Mon, 01/30/2023 - 09:49

I tried to do it, but it didn't work.

Last seen on 21:50, 19. Apr 2024
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is it missing dependancies?…
Mon, 01/30/2023 - 14:20

Is it missing dependancies? I would guess:

If

Do

Otherwise 

Don't

Last seen on 09:23, 12. Feb 2023
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
  I tried it like this, but…
Tue, 01/31/2023 - 00:46

 

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.

Last seen on 09:23, 12. Feb 2023
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I changed the "Infinity"…
Tue, 01/31/2023 - 00:58

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.

 

Last seen on 09:23, 12. Feb 2023
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No, now I went into the game…
Tue, 01/31/2023 - 01:13

No, now I went into the game and in the mcreator works, but not in the game. So what should I do?

Last seen on 22:16, 19. Apr 2024
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can only have numbers…
Tue, 01/31/2023 - 14:00

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.