mirror of
https://github.com/misode/misode.github.io.git
synced 2026-05-03 06:02:54 +00:00
Add offsetXYZ to location_check condition (#44)
* Add offsetXYZ to location_check condition * Add translations
This commit is contained in:
@@ -40,6 +40,9 @@
|
|||||||
"condition.location": "Location",
|
"condition.location": "Location",
|
||||||
"condition.looting_multiplier": "Looting Multiplier",
|
"condition.looting_multiplier": "Looting Multiplier",
|
||||||
"condition.name": "Predicate Name",
|
"condition.name": "Predicate Name",
|
||||||
|
"condition.offsetX": "X Offset",
|
||||||
|
"condition.offsetY": "Y Offset",
|
||||||
|
"condition.offsetZ": "Z Offset",
|
||||||
"condition.raining": "Raining",
|
"condition.raining": "Raining",
|
||||||
"condition.score": "Objective",
|
"condition.score": "Objective",
|
||||||
"condition.score_add": "Add Score",
|
"condition.score_add": "Add Score",
|
||||||
|
|||||||
@@ -676,6 +676,30 @@
|
|||||||
"minecraft:entity_scores"
|
"minecraft:entity_scores"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "offsetX",
|
||||||
|
"type": "int",
|
||||||
|
"translate": "condition.offsetX",
|
||||||
|
"require": [
|
||||||
|
"minecraft:location_check"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "offsetY",
|
||||||
|
"type": "int",
|
||||||
|
"translate": "condition.offsetY",
|
||||||
|
"require": [
|
||||||
|
"minecraft:location_check"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "offsetZ",
|
||||||
|
"type": "int",
|
||||||
|
"translate": "condition.offsetZ",
|
||||||
|
"require": [
|
||||||
|
"minecraft:location_check"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "predicate",
|
"id": "predicate",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|||||||
Reference in New Issue
Block a user