Help with random procedure.

Started by xClaudette7 on

Topic category: Help with modding (Java Edition)

Last seen on 17:56, 10. Mar 2024
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with random procedure.

Hello everyone. 

I try to make a random procedure that triggers when the player destroys a block. 

I can do a random probability with a single item. However, when I try with multiples items, nothing happens when the block is destroyed. (First image.)

I also tried before with another type of procedure. It worked, but not the way I intended. When two items share the same value, they spawn together. I thought limiting the number between two values would avoid that, but unfortunately it seems that it does not work. (Second image.)

Sorry for my English, it's not my native language. 

Last seen on 17:56, 10. Mar 2024
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey. Little update. I did a…
Fri, 10/28/2022 - 13:10

Hey. Little update. I did a few more researches, and I found this : https://www.youtube.com/watch?v=SBtTsNYiHzw

Thanks to this dude (StellaeLux on this site). 

I post a screen of my working procedure, in case somebody has the same problem and find this topic : (Sorry for the disturbance. Have a good day.)