#Right Click Detection(?)
1 messages · Page 1 of 1 (latest)
You can use damage sensor to trigger an event with a
/playanimation command
"minecraft:damage_sensor": {
"triggers": [
{
"on_damage": {
"event": "example:animation"
},
"deals_damage": false
}
]
}
Use filters to detect when it is hit by a player
and having “deals_damage” set to false would prevent the mob from turning red and receiving knockback from the hit right?