#Make an entity spawn every few minutes in random location within player's scope

1 messages ยท Page 1 of 1 (latest)

sacred aspen
#

The title says it all. How would I go about this?

obsidian tendon
#

have you thought about using spawn rules?

sacred aspen
obsidian tendon
#

Use animations then, you can use math.random_integer in loop delay and start delay

cosmic nebula
#

"minecraft:behavior.summon_entity"

sacred aspen
sacred aspen
#

I mean in this case

obsidian tendon
#

the delay

sacred aspen
#

I mean in behavior animation I can just specify on which second I want to execute the commands and then set it to loop true.

#

I don't think the math query is needed, or is it?

cosmic nebula
#

you can use timer, angry or celebration component, they all have a timer

sacred aspen
#

I want to create an airdrop basically.

#

That will spawn in air, but in the way player will be able to see it.

#

So, it is near enough, not completely random place in the world.

cosmic nebula
#

so use spawn re, there is a delay component, a distance component and a density component, I haven't experimented too much with spawn rules so I can't guarantee that it works as

sacred aspen
#

what does spawn re mean?

austere solar
#

Would /spreadplayers do the job for you, shortly after the drop got summoned somewhere?

cosmic nebula
sacred aspen
austere solar
#

The second range value must be greater than the first.

austere solar