"minecraft:interact": {
"interactions": {
"interact_text": "Talk",
"on_interact": {
"filters": {
"all_of": [
{
"subject": "player",
"test": "has_tag",
"value": "load_complete"
}
]
},
"add": [
{
"subject": "player",
"component": "minecraft:tag",
"value": "istalking"
}
],
"target": "player"
},
"swing": true
}
}
}
}
}
I am adding the interaction to my entity, that can only be talk if the player has tag "load_complete". And when the player clicks the talk button, he/she will get the new tag...
The first interaction works well but adding new tag isn't... help pls