-Modifying enderman spyglass
parent
70192d3e80
commit
d67618b78c
|
@ -10,17 +10,25 @@
|
|||
},
|
||||
"parent": "canopy:end",
|
||||
"criteria": {
|
||||
"look_at_enderman": {
|
||||
"spyglass_at_enderman": {
|
||||
"trigger": "minecraft:using_item",
|
||||
"conditions": {
|
||||
"player": [{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"predicate": {
|
||||
"player": {
|
||||
"looking_at": "minecraft:enderman"
|
||||
"looking_at": {
|
||||
"type": "minecraft:ender_dragon"
|
||||
}
|
||||
}
|
||||
}
|
||||
}]
|
||||
},
|
||||
"entity": "this"
|
||||
}],
|
||||
"item": {
|
||||
"items": [
|
||||
"minecraft:spyglass"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue