Started by
CircleF1sh
on
Topic category: Help with Minecraft modding (Java Edition)
So I am going to add a mob to my mod and I made multiple variations for it and I want the spawn egg to have a random chance of spawning one of those variations without creating spawn eggs for each variation. Does anyone know the procedure for this?
Edited by CircleF1sh on Mon, 01/18/2021 - 23:16
use a randomizer combined with the differnt mobs with the custom spawn egg aka use a randomizer to make the egg decide witch one to spawn
Wait how do I make this randomizer?
In the procedure templates their is a "with a 70%". Keep in mind that the first digit is last and the second is first. So for a 50% you would do 0.5 and for a 20% you would do 0.2 and so own. So in the do area you would put what you want to happen with a blank%.