39 lines
860 B
JSON
39 lines
860 B
JSON
|
{
|
||
|
"display": {
|
||
|
"icon": {
|
||
|
"id": "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:mobs",
|
||
|
"criteria": {
|
||
|
"spyglass_at_enderman": {
|
||
|
"trigger": "minecraft:using_item",
|
||
|
"conditions": {
|
||
|
"player": [
|
||
|
{
|
||
|
"condition": "minecraft:entity_properties",
|
||
|
"entity": "this",
|
||
|
"predicate": {
|
||
|
"type_specific": {
|
||
|
"type": "minecraft:player",
|
||
|
"looking_at": {
|
||
|
"type": "minecraft:enderman"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"item": {
|
||
|
"items": [
|
||
|
"minecraft:spyglass"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|