HHGames/data/herohost/advancement/tnt/get_tnt.json

43 lines
921 B
JSON
Raw Permalink Normal View History

2023-09-15 19:52:54 +02:00
{
"criteria": {
"requirement": {
"trigger": "minecraft:entity_hurt_player",
"conditions": {
"player": [
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"head": {
"items": [
"minecraft:tnt"
]
}
}
}
}
}
],
"damage": {
"source_entity": {
"type": "minecraft:player",
"equipment": {
"head": {
"items": [
"minecraft:tnt"
]
}
}
}
}
}
}
},
"rewards": {
"function": "herohost:tnt/get_tnt"
}
}