16 lines
383 B
JSON
16 lines
383 B
JSON
{
|
|
"criteria": {
|
|
"requirement": {
|
|
"trigger": "minecraft:player_interacted_with_entity",
|
|
"conditions": {
|
|
"entity": {
|
|
"type": "minecraft:interaction",
|
|
"nbt": "{Tags:[\"locked\"]}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"rewards": {
|
|
"function": "herohost:misc/lock"
|
|
}
|
|
} |