Started by
4HACker4
on
Topic category: Help with Minecraft modding (Java Edition)
I am making a mob, however I am trying to get it to spawn about 5 other mobs every 30 seconds at it's position, however I can't seem to figure it out. I tried using a procedure for On Entity Tick Update, the current code is:
Wait 600 ticks then on server-side
do Repeat 5: Execute command summon (entityname) at x: x y: y z: z
However this just waits 30 seconds and then spams the entity spawning at the place the initial mob was first spawned in. Anyone know how to fix this?
set a timer NBT number for example 1200 (for 1 rl minute) and tell it to spawn another mob when it reaches like idk 600, this will spawn 1 extra mob each minute from that mob (notice this is a geometric progression - if it spawn the same mob it will keep spawning more and more, like a virus), much better than loops if u ask me
also set something like x+1 and z+1 so it wont spawn inside the other mob
Thanks, that worked!