#when mob die, it will spawn another
1 messages · Page 1 of 1 (latest)
So, what you could do is add a death event which uses queue_command to summon the warden
can you send how would the event look like ??
So, something like json "event_name":{ "queue_command":{ "command":[ "summon warden ~~~" ] } }
Then trigger that event when the entity dies
there are a few methods
Easiest would probably be a bp animation controller
Oh wait, you wouldn't even need an event then
ignore my earlier messages
Just follow this tutorial, and replace the /say I am dead! with the command to summon the warden
i tryed the animation_controllers but it didnt worked, then i tryed to do it with the minecraft:on_death and it gived me an error in visual studio, it could be maybe becuse of that i maybe put it at the wrong spot
So, what exactly happened with the animation controller? Any content logs? Can I see what your files looked like?
You can check if your entity received a fatal damage using a damage sensor than add a component group containing minecraft:transformation component that transforms your entity into that entity.
how do i do the damage sensor ??
minecraft:damage_sensor component.
i used the pilliger one for example and when i puted it in in visual studio, it gived me an error (red line)
"minecraft:damage_sensor": {
"triggers": {
"on_damage": {
"filters": {
"all_of": [
{
"test": "has_damage",
"value": "fatal"
},
{
"test": "is_family",
"subject": "other",
"value": "player"
}
]
},
"event": "minecraft:gain_bad_omen",
"target": "other"
}
}
}
Please send your code and ping me.
I'll do it for ya
can i send it to your dm ?
Unless it's confidential, it's okay to send here so more can people can learn from it later on.
okay