35 lines
650 B
JSON
35 lines
650 B
JSON
{
|
|
"display": {
|
|
"icon": {
|
|
"item": "minecraft:spyglass"
|
|
},
|
|
"title": "Is It a... oh crap.",
|
|
"description": "Making eye contact with it may have been a mistake...",
|
|
"frame": "task",
|
|
"announce_to_chat": true
|
|
},
|
|
"parent": "canopy:end",
|
|
"criteria": {
|
|
"spyglass_at_enderman": {
|
|
"trigger": "minecraft:using_item",
|
|
"conditions": {
|
|
"player": [{
|
|
"condition": "minecraft:entity_properties",
|
|
"predicate": {
|
|
"player": {
|
|
"looking_at": {
|
|
"type": "minecraft:enderman"
|
|
}
|
|
}
|
|
},
|
|
"entity": "this"
|
|
}],
|
|
"item": {
|
|
"items": [
|
|
"minecraft:spyglass"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |