Im trying to create a projectile however when the mob launches the projectile it doesnt seem to explode on contact, deal damage or make the sounds when launched exploded etc, but he does launch it. How can i fix this?
"description": {
"identifier": "z3:psycho_projectile",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"blow": {
"minecraft:explode": {
"power": 2,
"breaks_blocks": false,
"allow_damage_underwater": true,
"fuse_length": 0,
"fuse_lit": true
}
}
},
"components": {
"minecraft:projectile": {
"power": 0.7,
"shoot_target": true,
"is_dangerous": true,
"shoot_sound": "mob.evocation_illager.cast_spell",
"hit_sound": "mob.ravager_roar",
"catch_fire": true,
"on_hit": {
"definition_event": {
"event_trigger": {
"event": "blow"
},
"affect_projectile": true
}
},
"inertia": 1,
"anchor": 0.5
},
"minecraft:collision_box": {
"width": 1,
"height": 1
}
},
"events": {
"blow": {
"add": {
"component_groups": [
"blow"
]
}
}
}
}```