Pumpkin/assets/datapack/data/minecraft/advancement/husbandry/uh_oh.json

59 lines
1.4 KiB
JSON

{
"parent": "minecraft:husbandry/root",
"criteria": {
"give_tnt_directly": {
"conditions": {
"entity": {
"type": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"minecraft:entity_type": "minecraft:sulfur_cube",
"minecraft:flags": {
"is_baby": false
}
}
},
"item": {
"items": "#minecraft:sulfur_cube_archetype/explosive"
}
},
"trigger": "minecraft:player_interacted_with_entity"
},
"pick_up_dropped_tnt": {
"conditions": {
"entity": {
"type": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"minecraft:entity_type": "minecraft:sulfur_cube",
"minecraft:flags": {
"is_baby": false
}
}
},
"item": {
"items": "#minecraft:sulfur_cube_archetype/explosive"
}
},
"trigger": "minecraft:thrown_item_picked_up_by_entity"
}
},
"display": {
"description": {
"translate": "advancements.husbandry.uh_oh.description"
},
"icon": {
"id": "minecraft:tnt"
},
"title": {
"translate": "advancements.husbandry.uh_oh.title"
}
},
"requirements": [
[
"pick_up_dropped_tnt",
"give_tnt_directly"
]
],
"sends_telemetry_event": true
}