49 lines
1.0 KiB
JSON
49 lines
1.0 KiB
JSON
{
|
|
"parent": "minecraft:adventure/spyglass_at_ghast",
|
|
"criteria": {
|
|
"spyglass_at_dragon": {
|
|
"conditions": {
|
|
"item": {
|
|
"items": [
|
|
"minecraft:spyglass"
|
|
]
|
|
},
|
|
"player": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"type_specific": {
|
|
"type": "player",
|
|
"looking_at": {
|
|
"type": "minecraft:ender_dragon"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"trigger": "minecraft:using_item"
|
|
}
|
|
},
|
|
"display": {
|
|
"announce_to_chat": true,
|
|
"description": {
|
|
"translate": "advancements.adventure.spyglass_at_dragon.description"
|
|
},
|
|
"frame": "task",
|
|
"hidden": false,
|
|
"icon": {
|
|
"item": "minecraft:spyglass"
|
|
},
|
|
"show_toast": true,
|
|
"title": {
|
|
"translate": "advancements.adventure.spyglass_at_dragon.title"
|
|
}
|
|
},
|
|
"requirements": [
|
|
[
|
|
"spyglass_at_dragon"
|
|
]
|
|
]
|
|
} |