Started by DatZypher on Sun, 03/12/2023 - 00:55
Topic category: Help with modding (Java Edition)
Hey I need help figuring out how t add chance in a spawn egg when there are many different entities in one spawn egg... Ex. In one spawn egg it spawn an entity with many colors... And there is a small chance it would spawn a different entity with also different colors... How would I do that? (I know how to do the different colors)(How to add the chance to spawn different entity)
You can't do that with a single spawn egg, you can create a new item, go to when placed on block in triggers, and then do something like this:
If random 0,1 = 0.5 then
spawn x y z "mob"
spawn x y z "mob2"