Add offsetXYZ to location_check condition (#44)

* Add offsetXYZ to location_check condition

* Add translations
This commit is contained in:
Misode
2019-12-27 01:34:59 +01:00
committed by GitHub
parent 8f92e485cf
commit 32b6dabf2e
2 changed files with 27 additions and 0 deletions
+3
View File
@@ -40,6 +40,9 @@
"condition.location": "Location",
"condition.looting_multiplier": "Looting Multiplier",
"condition.name": "Predicate Name",
"condition.offsetX": "X Offset",
"condition.offsetY": "Y Offset",
"condition.offsetZ": "Z Offset",
"condition.raining": "Raining",
"condition.score": "Objective",
"condition.score_add": "Add Score",
+24
View File
@@ -676,6 +676,30 @@
"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",
"type": "object",