-Modifying enderman spyglass

master
Ben Maurer 2021-07-31 21:49:59 -05:00
parent 70192d3e80
commit d67618b78c
1 changed files with 12 additions and 4 deletions

View File

@ -10,17 +10,25 @@
}, },
"parent": "canopy:end", "parent": "canopy:end",
"criteria": { "criteria": {
"look_at_enderman": { "spyglass_at_enderman": {
"trigger": "minecraft:using_item", "trigger": "minecraft:using_item",
"conditions": { "conditions": {
"player": [{ "player": [{
"condition": "minecraft:entity_properties", "condition": "minecraft:entity_properties",
"predicate": { "predicate": {
"player": { "player": {
"looking_at": "minecraft:enderman" "looking_at": {
"type": "minecraft:ender_dragon"
}
} }
} },
}] "entity": "this"
}],
"item": {
"items": [
"minecraft:spyglass"
]
}
} }
} }
} }