Started by
xClaudette7
on
Topic category: Help with Minecraft modding (Java Edition)
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.
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.)
use loot tables better this may help: https://www.youtube.com/watch?v=aDAhhLADH_M&t=246s
I made an updated tutorial: https://www.youtube.com/watch?v=8lFTgd5HeHM