Right click on entity randomizer?

Started by softmushroombaby on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Right click on entity randomizer?

I want to make it so my entity says a random voice line when I right-click on it, but the randomizer I found online makes it so it plays all the voice lines at once? I could use some help, this has been driving me crazy for two hours straight and I need to go to bed

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My guess is that you need to…
Sun, 02/16/2025 - 16:53

My guess is that you need to put the entire procedure in an if block with the condition [not[is provided world client-side]] That fixes a lot of bugs related to randomization.

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
IT DID NOT WORK, I FEAR... <…
Sun, 02/16/2025 - 17:52

IT DID NOT WORK, I FEAR... </3 

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh, then I don't know what…
Sun, 02/16/2025 - 18:19

Oh, then I don't know what to do.

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do you know any working…
Sun, 02/16/2025 - 20:22

Do you know any working randomizers?

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is how I do all my…
Thu, 02/20/2025 - 18:57

This is how I do all my randoms and it works for me:

IF: (random 1 to 2) = (1)
DO: thing
ELSE IF: (1 to 2) = 1
DO: thing 2
ELSE IF: (1 to 2) = 1
DO: thing 3
ELSE: thing 4

I have no idea why yours is playing all at once but this one shouldn't. If it does then it's likely MCreator itself being its usual buggy mess and you may just have to delete and recreate the procedure, that tends to fix a lot of issues... sometimes...

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
???This somehow worked??…
Sat, 02/22/2025 - 11:31

???This somehow worked?? even though I've already tried it before??? god.. Im just happy to be out of that ceaseless cycle of madness... thank you so much for your help!