custom_mc_advancements/data/locations/advancements/state_farmers.json

57 lines
1.3 KiB
JSON
Raw Normal View History

{
"display": {
"icon": {
"item": "minecraft:redstone"
},
"title": "Like a good neighbor... stay over there.",
"description": "Visit the State Farmers at S 237",
"frame": "task",
"show_toast": true,
"announce_to_chat": true
},
"parent": "locations:bases",
"criteria": {
"State_Farmers": {
"trigger": "minecraft:location",
"conditions": {
"player": [{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"location": {
"dimension": "minecraft:overworld",
"position": {
"x": {
"min": 571,
"max": 633
},
"y": {
"min": 60,
"max": 75
},
"z": {
"min": 1871,
"max": 1933
}
}
}
}
},
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type_specific": {
"type": "player",
"gamemode": "spectator"
}
}
}
}
]
}
}
}
}