HHGames/data/herohost/advancement/tnt/give_tnt.json
HeroChris cb08afef4c Redesign biome and update
- Updates to 1.21.3
- Biome changes with correct colours
2024-11-19 18:07:59 +01:00

58 lines
1.4 KiB
JSON

{
"criteria": {
"requirement": {
"trigger": "minecraft:player_hurt_entity",
"conditions": {
"player": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"head": {
"items": [
"minecraft:tnt"
]
}
}
}
}
],
"entity": [
{
"condition": "minecraft:all_of",
"terms": [
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"head": {
"items": [
"minecraft:tnt"
]
}
}
}
}
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "minecraft:player"
}
}
]
}
]
}
}
},
"rewards": {
"function": "herohost:tnt/give_tnt"
}
}