Add light, block and fluid location properties

This commit is contained in:
Misode
2019-10-09 14:19:07 +02:00
parent 990cd2c1a8
commit 7870287147
2 changed files with 94 additions and 1 deletions
+22 -1
View File
@@ -266,7 +266,28 @@
},
"biome": "Biome",
"feature": "Feature",
"dimension": "Dimension"
"dimension": "Dimension",
"light": "Light",
"$light": {
"light": "Visible Level"
},
"block": "Block",
"$block": {
"block": "Block ID",
"tag": "Block Tag",
"nbt": "NBT",
"state": "Block State",
"state_add": "Add Block State",
"state_remove": "Remove Block State"
},
"fluid": "Fluid",
"$fluid": {
"fluid": "Fluid ID",
"tag": "Fluid Tag",
"state": "Fluid State",
"state_add": "Add Fluid State",
"state_remove": "Remove Fluid State"
}
},
"$distance": {
"x": "X",
+72
View File
@@ -963,6 +963,78 @@
"translateValue": "$dimension",
"unset": true,
"values": "dimensions"
},
{
"id": "light",
"type": "object",
"translate": "$location.light",
"card": false,
"fields": [
{
"id": "light",
"type": "range",
"translate": "$location.$light.light"
}
]
},
{
"id": "block",
"type": "object",
"translate": "$location.block",
"color": "dark",
"collapse": true,
"fields": [
{
"id": "block",
"type": "string",
"translate": "$location.$block.block"
},
{
"id": "tag",
"type": "string",
"translate": "$location.$block.tag"
},
{
"id": "nbt",
"type": "nbt",
"translate": "$location.$block.nbt"
},
{
"id": "state",
"type": "map",
"translate": "$location.$block.state",
"values": {
"type": "string"
}
}
]
},
{
"id": "fluid",
"type": "object",
"translate": "$location.fluid",
"color": "dark",
"collapse": true,
"fields": [
{
"id": "fluid",
"type": "string",
"translate": "$location.$fluid.fluid"
},
{
"id": "tag",
"type": "string",
"translate": "$location.$fluid.tag"
},
{
"id": "state",
"type": "map",
"translate": "$location.$fluid.state",
"values": {
"type": "string"
}
}
]
}
]
},