#Spawning entities after something happened
1 messages · Page 1 of 1 (latest)
there is no one solution for every event
but you can use different ways for each
for ace, (area cloud effect), you can use execute if entity @e[type=area_cloud_effect,nbt={whatever}] run stuff
fireballs...well...you can just execute as @e[type=fireballs] unless block ~ ~-0.5 ~ air run stuff
so would this command make it so after a fireball explodes a ace would spawn in next to it?
no but you can use my example cmd to do so
just add run summon area_cloud_effect with the nbt attached after that
look it up on the wiki
here
thank you
how would i summon the fireball to a specific area?
is there a certain way to do that?
add a at @s after the as statment before the run statment
ahh ok
execute as @e[type=fireballs] at @s unless block ~ ~-0.5 ~ air run summon area_cloud_effect
you can
just summon multiple
at a different location
how would that work with the fireball?
put all the summon cmds into a function
and in the fireball cmd run the function
in the function
summon area_cloud_effect ~ ~ ~
summon area_cloud_effect ~1 ~ ~
summon area_cloud_effect ~-1 ~ ~
for example, on the x axis
ah ok
by 1 block
thanks for all the help
ur welcome
Btw, it's area_effect_cloud, area_cloud_effect won't work
👍