Random Result at the DO

Started by Diamond07 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Random Result at the DO
Thu, 02/03/2022 - 17:24 (edited)

Hello! I was trying to add an "OR" logic to the "DO" state to spawn a random particle while the player is holding the sword (for example, while the entity is holding it, a random yellow, red or blue particle will appear).

Everything is fine, the particles spawns fine, except that "OR" thing that I can't add on the result, because they don't fit theirselves.

I'm struggling with that, and I even tried to find videos and some tutorials there, but sadly with no success.
Any help would be appreciated! I'm new to this. Thanks!

Edit¹: Here's what I'm trying to do:
https://prnt.sc/26o0lpg

Edit²: I figured it out:
https://prnt.sc/26o0y6n

Thanks a lot! Didn't know about the "Else" things

Edited by Diamond07 on Thu, 02/03/2022 - 17:24