-Fixes to previous

master
Ben Maurer 2021-08-02 22:11:23 -05:00
parent 206561cf6b
commit 864bd571e8
2 changed files with 132 additions and 62 deletions

View File

@ -9,24 +9,59 @@
"show_toast": false, "show_toast": false,
"announce_to_chat": true "announce_to_chat": true
}, },
"parent": "canopy:yeet", "parent": "canopy:far_out_man",
"criteria": { "criteria": {
"be_near": { "outer_pos_x": {
"trigger": "minecraft:location", "trigger": "minecraft:location",
"conditions": { "conditions": {
"dimension": "minecraft:the_end", "dimension": "the_end",
"position": { "position": {
"x": { "x": {
"min": 1000000, "min": 1000000.0
"max": -1000000 }
}
}
}, },
"outer_pos_z": {
"trigger": "minecraft:location",
"conditions": {
"dimension": "the_end",
"position": {
"z": { "z": {
"min": 1000000, "min": 1000000.0
"max": -1000000 }
} }
}
},
"outer_neg_x": {
"trigger": "minecraft:location",
"conditions": {
"dimension": "the_end",
"position": {
"x": {
"max": -1000000.0
}
}
}
},
"outer_neg_z": {
"trigger": "minecraft:location",
"conditions": {
"dimension": "the_end",
"position": {
"z": {
"max": -1000000.0
} }
} }
} }
} }
},
"requirements": [
[
"outer_pos_x",
"outer_pos_z",
"outer_neg_x",
"outer_neg_z"
]
]
} }

View File

@ -11,22 +11,57 @@
}, },
"parent": "canopy:yeet", "parent": "canopy:yeet",
"criteria": { "criteria": {
"be_near": { "outer_pos_x": {
"trigger": "minecraft:location", "trigger": "minecraft:location",
"conditions": { "conditions": {
"dimension": "minecraft:the_end", "dimension": "the_end",
"position": { "position": {
"x": { "x": {
"min": 100000, "min": 1000000.0
"max": -100000 }
}
}
}, },
"outer_pos_z": {
"trigger": "minecraft:location",
"conditions": {
"dimension": "the_end",
"position": {
"z": { "z": {
"min": 100000, "min": 1000000.0
"max": -100000 }
} }
}
},
"outer_neg_x": {
"trigger": "minecraft:location",
"conditions": {
"dimension": "the_end",
"position": {
"x": {
"max": -1000000.0
}
}
}
},
"outer_neg_z": {
"trigger": "minecraft:location",
"conditions": {
"dimension": "the_end",
"position": {
"z": {
"max": -1000000.0
} }
} }
} }
} }
},
"requirements": [
[
"outer_pos_x",
"outer_pos_z",
"outer_neg_x",
"outer_neg_z"
]
]
} }