mirror of
https://github.com/pmmp/BedrockData.git
synced 2024-07-04 22:59:44 -03:00
added JSON schema describing how to upgrade each version's blockstates (generated)
This commit is contained in:
parent
be342b7525
commit
46c55d414a
7
upgrade_schema/mapping_schema_0001_1.13.0_to_1.14.0.json
Normal file
7
upgrade_schema/mapping_schema_0001_1.13.0_to_1.14.0.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"renamedProperties": {
|
||||||
|
"minecraft:kelp": {
|
||||||
|
"age": "kelp_age"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
60
upgrade_schema/mapping_schema_0011_1.14.0_to_1.16.0.json
Normal file
60
upgrade_schema/mapping_schema_0011_1.14.0_to_1.16.0.json
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
{
|
||||||
|
"addedProperties": {
|
||||||
|
"minecraft:melon_stem": {
|
||||||
|
"facing_direction": [
|
||||||
|
{
|
||||||
|
"type": "int",
|
||||||
|
"value": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:jigsaw": {
|
||||||
|
"rotation": [
|
||||||
|
{
|
||||||
|
"type": "int",
|
||||||
|
"value": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:cobblestone_wall": {
|
||||||
|
"wall_connection_type_east": [
|
||||||
|
{
|
||||||
|
"type": "string",
|
||||||
|
"value": "none"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"wall_connection_type_north": [
|
||||||
|
{
|
||||||
|
"type": "string",
|
||||||
|
"value": "none"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"wall_connection_type_south": [
|
||||||
|
{
|
||||||
|
"type": "string",
|
||||||
|
"value": "none"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"wall_connection_type_west": [
|
||||||
|
{
|
||||||
|
"type": "string",
|
||||||
|
"value": "none"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"wall_post_bit": [
|
||||||
|
{
|
||||||
|
"type": "byte",
|
||||||
|
"value": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:pumpkin_stem": {
|
||||||
|
"facing_direction": [
|
||||||
|
{
|
||||||
|
"type": "int",
|
||||||
|
"value": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"renamedIds": {
|
||||||
|
"minecraft:blue_fire": "minecraft:soul_fire",
|
||||||
|
"minecraft:blue_nether_wart_block": "minecraft:warped_wart_block",
|
||||||
|
"minecraft:shroomlight_block": "minecraft:shroomlight",
|
||||||
|
"minecraft:weeping_vines_block": "minecraft:weeping_vines",
|
||||||
|
"minecraft:basalt_block": "minecraft:basalt",
|
||||||
|
"minecraft:polished_basalt_block": "minecraft:polished_basalt",
|
||||||
|
"minecraft:soul_soil_block": "minecraft:soul_soil",
|
||||||
|
"minecraft:target_block": "minecraft:target",
|
||||||
|
"minecraft:crimson_trap_door": "minecraft:crimson_trapdoor",
|
||||||
|
"minecraft:lodestone_block": "minecraft:lodestone",
|
||||||
|
"minecraft:twisting_vines_block": "minecraft:twisting_vines"
|
||||||
|
},
|
||||||
|
"removedProperties": {
|
||||||
|
"minecraft:blackstone_wall": [
|
||||||
|
"wall_block_type"
|
||||||
|
],
|
||||||
|
"minecraft:polished_blackstone_brick_wall": [
|
||||||
|
"wall_block_type"
|
||||||
|
],
|
||||||
|
"minecraft:polished_blackstone_wall": [
|
||||||
|
"wall_block_type"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
110
upgrade_schema/mapping_schema_0021_1.16.0_to_1.16.100.json
Normal file
110
upgrade_schema/mapping_schema_0021_1.16.0_to_1.16.100.json
Normal file
@ -0,0 +1,110 @@
|
|||||||
|
{
|
||||||
|
"renamedProperties": {
|
||||||
|
"minecraft:beehive": {
|
||||||
|
"facing_direction": "direction"
|
||||||
|
},
|
||||||
|
"minecraft:bee_nest": {
|
||||||
|
"facing_direction": "direction"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"addedProperties": {
|
||||||
|
"minecraft:chain": {
|
||||||
|
"pillar_axis": [
|
||||||
|
{
|
||||||
|
"type": "string",
|
||||||
|
"value": "y"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
16
upgrade_schema/mapping_schema_0031_1.16.200_to_1.16.210.json
Normal file
16
upgrade_schema/mapping_schema_0031_1.16.200_to_1.16.210.json
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"removedProperties": {
|
||||||
|
"minecraft:stripped_crimson_hyphae": [
|
||||||
|
"deprecated"
|
||||||
|
],
|
||||||
|
"minecraft:stripped_crimson_stem": [
|
||||||
|
"deprecated"
|
||||||
|
],
|
||||||
|
"minecraft:stripped_warped_hyphae": [
|
||||||
|
"deprecated"
|
||||||
|
],
|
||||||
|
"minecraft:stripped_warped_stem": [
|
||||||
|
"deprecated"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
20
upgrade_schema/mapping_schema_0041_1.17.10_to_1.17.30.json
Normal file
20
upgrade_schema/mapping_schema_0041_1.17.10_to_1.17.30.json
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"addedProperties": {
|
||||||
|
"minecraft:frame": {
|
||||||
|
"item_frame_photo_bit": [
|
||||||
|
{
|
||||||
|
"type": "byte",
|
||||||
|
"value": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"minecraft:glow_frame": {
|
||||||
|
"item_frame_photo_bit": [
|
||||||
|
{
|
||||||
|
"type": "byte",
|
||||||
|
"value": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
12
upgrade_schema/mapping_schema_0051_1.17.30_to_1.17.40.json
Normal file
12
upgrade_schema/mapping_schema_0051_1.17.30_to_1.17.40.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"addedProperties": {
|
||||||
|
"minecraft:sculk_catalyst": {
|
||||||
|
"bloom": [
|
||||||
|
{
|
||||||
|
"type": "byte",
|
||||||
|
"value": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
76
upgrade_schema/mapping_schema_schema.json
Normal file
76
upgrade_schema/mapping_schema_schema.json
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
{
|
||||||
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||||
|
"$defs": {
|
||||||
|
"blockStateProperty": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"type": {
|
||||||
|
"oneOf": ["int", "string", "byte"]
|
||||||
|
},
|
||||||
|
"value": {
|
||||||
|
"anyOf": ["int", "string"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"renamedIds": {
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"renamedProperties": {
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"addedProperties": {
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"type": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"value": {
|
||||||
|
"type": ["string", "integer"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"removedProperties": {
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"remappedPropertyValues": {
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "#/$defs/blockStateProperty"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user