57 lines
1.3 KiB
JSON
57 lines
1.3 KiB
JSON
{
|
|
"display": {
|
|
"icon": {
|
|
"item": "minecraft:diamond"
|
|
},
|
|
"title": "Spawn Market",
|
|
"description": "Check out the spawn market at W 69... B)",
|
|
"frame": "task",
|
|
"show_toast": true,
|
|
"announce_to_chat": true
|
|
},
|
|
"parent": "locations:root",
|
|
"criteria": {
|
|
"Market_Hub": {
|
|
"trigger": "minecraft:location",
|
|
"conditions": {
|
|
"player": [{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"location": {
|
|
"dimension": "minecraft:overworld",
|
|
"position": {
|
|
"x": {
|
|
"min": -493,
|
|
"max": -383
|
|
},
|
|
"y": {
|
|
"min": 68,
|
|
"max": 100
|
|
},
|
|
"z": {
|
|
"min": -24,
|
|
"max": 86
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"condition": "minecraft:inverted",
|
|
"term": {
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"type_specific": {
|
|
"type": "player",
|
|
"gamemode": "spectator"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
} |