Started by
ImDaMilan
on
Topic category: Help with MCreator software
How can I make it so that there is only a certain chance that a procedure will happen, I want to make it so that when a player right clicks a block with a certain item it will usually spawn in a mob, but there is for example 1% chance that instead of spawning it, it will do something else... Is this possible, and if so, how? Or is there a way to set a variable to be a random number?
Edited by ImDaMilan on Mon, 02/22/2021 - 19:05
In the procedure builder, look at templates and select do with a 70% chance. Then, change the 0.7 block to 0.01 and you're good to go