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

added JSON schema describing how to upgrade each version's blockstates (generated)

This commit is contained in:
Dylan K. Taylor 2022-01-31 01:23:49 +00:00
parent be342b7525
commit 46c55d414a
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D
8 changed files with 327 additions and 0 deletions

@ -0,0 +1,7 @@
{
"renamedProperties": {
"minecraft:kelp": {
"age": "kelp_age"
}
}
}

@ -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"
]
}
}

@ -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
}
}
]
}
}
}

@ -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"
]
}
}

@ -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
}
]
}
}
}

@ -0,0 +1,12 @@
{
"addedProperties": {
"minecraft:sculk_catalyst": {
"bloom": [
{
"type": "byte",
"value": 0
}
]
}
}
}

@ -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"
}
}
}
}
}
}