#Area damage without knockback?
1 messages · Page 1 of 1 (latest)
"minecraft:behavior.knockback_roar"
thanks!
the only problem is that this component comes with particles, it only modifies the "roar" particles changing from 40 to 0. this component is only used by the ravager
so how do i hide the particle? and again i want to keep it for a ravager but not my entity
wait i think i misread
using this tutorial it just removes the particle altogether?
Yes, you could use my attached particle file to remove them in general. Unfortunately this also counts for ravager in this case.
thought so, tysm
you can't delete a particle file, but you can reduce the particle generation to zero
If you want the ravager to keep the particles you have to make new particles and execute them with command in the ravager file
how do you prevent the knockback? I'm using "minecraft:behavior.knockback_roar": { "priority": 1, "duration": 1, "attack_time": 0.25, "knockback_damage": 6, "knockback_strength": 0, "knockback_range": 0, "knockback_filters": { "test": "is_family", "subject": "other", "operator": "==", "value": "peas" }, "cooldown_time": 0.25 }, and even though the filter is impossible and the range is 0, entities are still getting knocked back
"minecraft:behavior.knockback_roar": {
"priority": 1,
"duration": 0.25,
"attack_time": 1,
"knockback_damage": 6,
"knockback_horizontal_strength": 0,
"knockback_vertical_strength": 0,
"knockback_height_cap": 0,
"knockback_range": 3,
"cooldown_time": 0.1
}
it doesn't do anything until I add "knockback_strength": 0, which seems like it just activates the default ravager kb roar
I have it on damage:1 for example except it still does 6
I tried it in the basic components and in a component group. Is there something with a triggering event that I need to do?
should work fine in version 1.19
I changed a few things around and got it working, but the final working version is exactly the same as the copied version with different values
"priority": 1,
"duration": 0.25,
"attack_time": 1,
"knockback_damage": 6,
"knockback_horizontal_strength": 0,
"knockback_vertical_strength": 0,
"knockback_height_cap": 0,
"knockback_range": 3,
"cooldown_time": 0.1
}``` doesn't work, but ```"minecraft:behavior.knockback_roar": {
"priority": 1,
"duration": 0.05,
"attack_time": 0.05,
"knockback_damage": 1,
"knockback_horizontal_strength": 0,
"knockback_vertical_strength": 0,
"knockback_height_cap": 0,
"knockback_range": 1,
"cooldown_time": 0.05
}``` does. edit for formatting
oh yes i was wrong in these values
"duration": 0.05,
"attack_time": 0.05,
duration must be greater than or equal to attack time
that makes sense