-Modifying enderman spyglass
parent
70192d3e80
commit
d67618b78c
|
@ -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"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue