#Two questions. How can I make my mob explode and how cam I make my kib immune to explosions?
1 messages · Page 1 of 1 (latest)
For the first one, use the minecraft:explode component.
For the second one, use a damage sensor like this one:
"minecraft:damage_sensor": {
"triggers": [
{
"cause": "entity_explosion",
"deals_damage": "no"
},
{
"cause": "block_explosion",
"deals_damage": "no"
}
}```
This will make the mob not take damage from explosions