Adding in bases group and updating location tab advancements to use new location triggers.

master
Ben Maurer 2022-08-26 21:33:27 +00:00
parent c1b7de2924
commit 3d157af0a8
4 changed files with 132 additions and 36 deletions

View File

@ -1,36 +0,0 @@
{
"display": {
"icon": {
"item": "minecraft:diamond"
},
"title": "Spawn Market",
"description": "Check out the spawn market at E 30",
"frame": "task",
"show_toast": true,
"announce_to_chat": true
},
"parent": "locations:root",
"criteria": {
"be_near": {
"trigger": "minecraft:location",
"conditions": {
"dimension": "minecraft:overworld",
"position": {
"x": {
"min": 40,
"max": 450
},
"y": {
"min": 62,
"max": 125
},
"z": {
"min": -215,
"max": 13
}
}
}
}
}
}

View File

@ -0,0 +1,18 @@
{
"display": {
"icon": {
"item": "minecraft:red_bed"
},
"title": "Bases",
"description": "Visit bases of your fellow Canopeans!",
"frame": "task",
"show_toast": false,
"announce_to_chat": false
},
"parent": "locations:root",
"criteria": {
"instant": {
"trigger": "minecraft:tick"
}
}
}

View File

@ -0,0 +1,57 @@
{
"display": {
"icon": {
"item": "minecraft:diamond"
},
"title": "Spawn Market",
"description": "Check out the spawn market at E 30",
"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"
}
}
}
}
]
}
}
}
}

View File

@ -0,0 +1,57 @@
{
"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"
}
}
}
}
]
}
}
}
}