1
0
mirror of https://github.com/pmmp/BedrockData.git synced 2024-07-02 19:54:08 -03:00

Improved remappedPropertyValues format, removed a ton of repeated data

This commit is contained in:
Dylan K. Taylor 2022-02-09 21:52:48 +00:00
parent 607e4766c9
commit 1d96dd836a
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D
6 changed files with 3092 additions and 6061 deletions

File diff suppressed because it is too large Load Diff

@ -52,96 +52,69 @@
},
"remappedPropertyValues": {
"minecraft:barrel": {
"facing_direction": [
{
"old": {
"type": "int",
"value": 7
},
"new": {
"type": "int",
"value": 0
}
},
{
"old": {
"type": "int",
"value": 6
},
"new": {
"type": "int",
"value": 0
}
}
]
"facing_direction": "facing_direction_00"
},
"minecraft:blast_furnace": {
"direction": [
{
"old": {
"type": "int",
"value": 0
},
"new": {
"type": "int",
"value": 3
}
},
{
"old": {
"type": "int",
"value": 1
},
"new": {
"type": "int",
"value": 4
}
},
{
"old": {
"type": "int",
"value": 3
},
"new": {
"type": "int",
"value": 5
}
}
]
"direction": "direction_01"
},
"minecraft:smoker": {
"direction": [
{
"old": {
"type": "int",
"value": 1
},
"new": {
"type": "int",
"value": 4
}
},
{
"old": {
"type": "int",
"value": 3
},
"new": {
"type": "int",
"value": 5
}
},
{
"old": {
"type": "int",
"value": 0
},
"new": {
"type": "int",
"value": 3
}
}
]
"direction": "direction_01"
}
},
"remappedPropertyValuesIndex": {
"facing_direction_00": [
{
"old": {
"type": "int",
"value": 7
},
"new": {
"type": "int",
"value": 0
}
},
{
"old": {
"type": "int",
"value": 6
},
"new": {
"type": "int",
"value": 0
}
}
],
"direction_01": [
{
"old": {
"type": "int",
"value": 0
},
"new": {
"type": "int",
"value": 3
}
},
{
"old": {
"type": "int",
"value": 1
},
"new": {
"type": "int",
"value": 4
}
},
{
"old": {
"type": "int",
"value": 3
},
"new": {
"type": "int",
"value": 5
}
}
]
}
}

File diff suppressed because it is too large Load Diff

@ -21,92 +21,54 @@
},
"remappedPropertyValues": {
"minecraft:beehive": {
"facing_direction": [
{
"old": {
"type": "int",
"value": 1
},
"new": {
"type": "int",
"value": 0
}
},
{
"old": {
"type": "int",
"value": 3
},
"new": {
"type": "int",
"value": 0
}
},
{
"old": {
"type": "int",
"value": 5
},
"new": {
"type": "int",
"value": 3
}
},
{
"old": {
"type": "int",
"value": 4
},
"new": {
"type": "int",
"value": 1
}
}
]
"facing_direction": "facing_direction_00"
},
"minecraft:bee_nest": {
"facing_direction": [
{
"old": {
"type": "int",
"value": 4
},
"new": {
"type": "int",
"value": 1
}
},
{
"old": {
"type": "int",
"value": 3
},
"new": {
"type": "int",
"value": 0
}
},
{
"old": {
"type": "int",
"value": 5
},
"new": {
"type": "int",
"value": 3
}
},
{
"old": {
"type": "int",
"value": 1
},
"new": {
"type": "int",
"value": 0
}
}
]
"facing_direction": "facing_direction_00"
}
},
"remappedPropertyValuesIndex": {
"facing_direction_00": [
{
"old": {
"type": "int",
"value": 1
},
"new": {
"type": "int",
"value": 0
}
},
{
"old": {
"type": "int",
"value": 3
},
"new": {
"type": "int",
"value": 0
}
},
{
"old": {
"type": "int",
"value": 5
},
"new": {
"type": "int",
"value": 3
}
},
{
"old": {
"type": "int",
"value": 4
},
"new": {
"type": "int",
"value": 1
}
}
]
}
}

File diff suppressed because it is too large Load Diff

@ -76,9 +76,23 @@
"additionalProperties": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"$ref": "#/$defs/blockStateProperty"
"type": "string"
}
}
},
"remappedPropertyValuesIndex": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "object",
"properties": {
"old": {
"$ref": "#/$defs/blockStateProperty"
},
"new": {
"$ref": "#/$defs/blockStateProperty"
}
}
}
}
@ -91,8 +105,8 @@
"type": "object",
"properties": {
"oldState": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/blockStateProperty"
}
},
@ -100,8 +114,8 @@
"type": "string"
},
"newState": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/blockStateProperty"
}
}