Started by
knvknvsnvlvls
on
Topic category: Help with modding (Java Edition)
I am making that when permafrost is destroyed, it has some chance for the mammoth to spawn. does anyone have ideas?
Topic category: Help with modding (Java Edition)
I am making that when permafrost is destroyed, it has some chance for the mammoth to spawn. does anyone have ideas?
Add a procedure to be run when block is destroyed. In the procedure, write: If ( ( Random [0, 1) ) < ( 0.42 ) ) then spawn your entity
This represents a 42% chance. You can adjust the number 0.42 to change the probability.
sillypantscoder, i figured out many hours ago