#Custom mob barely spawning
1 messages · Page 1 of 1 (latest)
If you have more than two custom mobs using the same spawn population control, the third mob using it will spawn very rarely or not spawn at all.
How would I get around that as I intend to add multiple mobs with my add-on?
There are tons of ways. You can use a different population control for each two mobs until it runs out. Then, you can also use already spawned entities to spawn your entity.
How would I go about using already spawned entities
Check for if the spawned entity already has the tag, then spawn your entity and add the tag.
Could you give a brief example please. I'm having trouble understanding lol
execute as @e[type=cat,tag=!spawned] at @s run summon wolf
execute as @e[type=cat,tag=!spawned] at @s run tag @s add spawned
You can put this in a function file and run it every tick. For example, this'll make every cat in the world spawn a wolf too.
I understand now. I'll probably go the scripting way for more control