"minecraft:damage_sensor": {
"triggers": {
"on_damage": {
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "player"
}
]
},
"event": "click_event",
"target": "self"
},
"deals_damage": false
}
}
#should be easy
1 messages · Page 1 of 1 (latest)
Like this?
"events": {
"click_event": {
"run_command": {
"command": "say Hi!"
},
"add": {
"component_groups": [
"test"
]
}
}
}
Try this