Skip to content

Commit

Permalink
upd: refactoring more
Browse files Browse the repository at this point in the history
  • Loading branch information
NguyenDuck authored and outercloudstudio committed Jan 8, 2024
1 parent ef63f22 commit 389563d
Show file tree
Hide file tree
Showing 8 changed files with 66 additions and 84 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@
"type": "object",
"properties": {
"minecraft:destroy_time": {
"$ref": "./destroy_time.json"
"$ref": "../../v1.16.0/components/destroy_time.json"
},
"minecraft:block_light_emission": {
"$ref": "./block_light_emission.json"
"$ref": "../../v1.16.0/components/block_light_emission.json"
},
"minecraft:block_light_absorption": {
"$ref": "./block_light_absorption.json"
"$ref": "../../v1.16.0/components/block_light_absorption.json"
},
"minecraft:map_color": {
"$ref": "./map_color.json"
"$ref": "../../v1.16.0/components/map_color.json"
},
"minecraft:flammable": {
"$ref": "./flammable.json"
"$ref": "../../v1.16.0/components/flammable.json"
},
"minecraft:friction": {
"$ref": "./friction.json"
"$ref": "../../v1.16.0/components/friction.json"
},
"minecraft:explosion_resistance": {
"$ref": "./explosion_resistance.json"
"$ref": "../../v1.16.0/components/explosion_resistance.json"
},
"minecraft:loot": {
"$ref": "./loot.json"
"$ref": "../../v1.16.0/components/loot.json"
}
}
}
6 changes: 0 additions & 6 deletions packages/minecraftBedrock/schema/block/v1.16.100/event.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@
{
"$ref": "../../event/v1.16.100/removeMobEffect.json"
},
// {
// "$ref": "../../event/v1.16.100/playEffect.json"
// },
// {
// "$ref": "../../event/v1.16.100/playSound.json"
// },
{
"$ref": "../../event/v1.16.100/runCommand.json"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/minecraftBedrock/schema/block/v1.16.100/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"condition": {
"title": "Condition",
"description": "MoLang condition",
"$ref": "../../embedded.json"
"$ref": "../../molang/embedded.json"
},
"components": {
"title": "Components",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,82 +8,82 @@
"type": "object",
"properties": {
"minecraft:aim_collision": {
"$ref": "../v1.18.10/components/aim_collision.json"
"$ref": "../../v1.18.10/components/aim_collision.json"
},
"minecraft:block_collision": {
"$ref": "../v1.18.10/components/block_collision.json"
"$ref": "../../v1.18.10/components/block_collision.json"
},
"minecraft:part_visibility": {
"$ref": "../v1.16.100/components/part_visibility.json"
"$ref": "../../v1.16.100/components/part_visibility.json"
},
"minecraft:creative_category": {
"$ref": "../v1.16.100/components/creative_category.json"
"$ref": "../../v1.16.100/components/creative_category.json"
},
"minecraft:crafting_table": {
"$ref": "../v1.16.100/components/crafting_table.json"
"$ref": "../../v1.16.100/components/crafting_table.json"
},
"minecraft:display_name": {
"$ref": "../v1.16.100/components/display_name.json"
"$ref": "../../v1.16.100/components/display_name.json"
},
"minecraft:unit_cube": {
"$ref": "../v1.16.100/components/unit_cube.json"
"$ref": "../../v1.16.100/components/unit_cube.json"
},
"minecraft:material_instances": {
"$ref": "../v1.16.100/components/material_instances.json"
"$ref": "../../v1.16.100/components/material_instances.json"
},
"minecraft:geometry": {
"$ref": "../v1.16.100/components/geometry.json"
"$ref": "../../v1.16.100/components/geometry.json"
},
"minecraft:on_step_on": {
"$ref": "../v1.16.100/components/on_step_on.json"
"$ref": "../../v1.16.100/components/on_step_on.json"
},
"minecraft:on_step_off": {
"$ref": "../v1.16.100/components/on_step_off.json"
"$ref": "../../v1.16.100/components/on_step_off.json"
},
"minecraft:on_player_destroyed": {
"$ref": "../v1.16.100/components/on_player_destroyed.json"
"$ref": "../../v1.16.100/components/on_player_destroyed.json"
},
"minecraft:on_fall_on": {
"$ref": "../v1.16.100/components/on_fall_on.json"
"$ref": "../../v1.16.100/components/on_fall_on.json"
},
"minecraft:on_placed": {
"$ref": "../v1.16.100/components/on_placed.json"
"$ref": "../../v1.16.100/components/on_placed.json"
},
"minecraft:on_player_placing": {
"$ref": "../v1.16.100/components/on_player_placing.json"
"$ref": "../../v1.16.100/components/on_player_placing.json"
},
"minecraft:on_interact": {
"$ref": "../v1.16.100/components/on_interact.json"
"$ref": "../../v1.16.100/components/on_interact.json"
},
"minecraft:ticking": {
"$ref": "../v1.16.100/components/ticking.json"
"$ref": "../../v1.16.100/components/ticking.json"
},
"minecraft:random_ticking": {
"$ref": "../v1.16.100/components/random_ticking.json"
"$ref": "../../v1.16.100/components/random_ticking.json"
},
"minecraft:breakonpush": {
"$ref": "../v1.16.100/components/breakonpush.json"
"$ref": "../../v1.16.100/components/breakonpush.json"
},
"minecraft:immovable": {
"$ref": "../v1.16.100/components/immovable.json"
"$ref": "../../v1.16.100/components/immovable.json"
},
"minecraft:breathability": {
"$ref": "../v1.16.100/components/breathability.json"
"$ref": "../../v1.16.100/components/breathability.json"
},
"minecraft:onlypistonpush": {
"$ref": "../v1.16.100/components/onlypistonpush.json"
"$ref": "../../v1.16.100/components/onlypistonpush.json"
},
"minecraft:placement_filter": {
"$ref": "../v1.16.100/components/placement_filter.json"
"$ref": "../../v1.16.100/components/placement_filter.json"
},
"minecraft:preventsjumping": {
"$ref": "../v1.16.100/components/preventsjumping.json"
"$ref": "../../v1.16.100/components/preventsjumping.json"
},
"minecraft:rotation": {
"$ref": "../v1.16.100/components/rotation.json"
"$ref": "../../v1.16.100/components/rotation.json"
},
"minecraft:unwalkable": {
"$ref": "../v1.16.100/components/unwalkable.json"
"$ref": "../../v1.16.100/components/unwalkable.json"
}
}
}
Expand All @@ -92,7 +92,7 @@
"type": "object",
"properties": {
"minecraft:block_light_filter": {
"$ref": "./block_light_filter.json"
"$ref": "../../v1.18.10/components/block_light_filter.json"
},
"minecraft:destroy_time": {
"$ref": "../../v1.16.0/components/destroy_time.json"
Expand Down Expand Up @@ -122,13 +122,13 @@
"properties": {
// Deprecated
"minecraft:entity_collision": {
"$ref": "./entity_collision.json"
"$ref": "../../v1.18.10/components/entity_collision.json"
},
"minecraft:pick_collision": {
"$ref": "./pick_collision.json"
"$ref": "../../v1.18.10/components/pick_collision.json"
},
"minecraft:block_light_absorption": {
"$ref": "./block_light_absorption.json"
"$ref": "../../v1.18.10/components/block_light_absorption.json"
}
}
}
Expand Down
6 changes: 0 additions & 6 deletions packages/minecraftBedrock/schema/block/v1.18.10/event.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@
{
"$ref": "../../event/v1.16.100/removeMobEffect.json"
},
// {
// "$ref": "../../event/v1.16.100/playEffect.json"
// },
// {
// "$ref": "../../event/v1.16.100/playSound.json"
// },
{
"$ref": "../../event/v1.16.100/runCommand.json"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,70 +8,70 @@
"type": "object",
"properties": {
"minecraft:aim_collision": {
"$ref": "../v1.18.10/components/aim_collision.json"
"$ref": "../../v1.18.10/components/aim_collision.json"
},
"minecraft:block_collision": {
"$ref": "../v1.18.10/components/block_collision.json"
"$ref": "../../v1.18.10/components/block_collision.json"
},
"minecraft:part_visibility": {
"$ref": "../v1.16.100/components/part_visibility.json"
"$ref": "../../v1.16.100/components/part_visibility.json"
},
"minecraft:creative_category": {
"$ref": "../v1.16.100/components/creative_category.json"
"$ref": "../../v1.16.100/components/creative_category.json"
},
"minecraft:crafting_table": {
"$ref": "../v1.16.100/components/crafting_table.json"
"$ref": "../../v1.16.100/components/crafting_table.json"
},
"minecraft:display_name": {
"$ref": "../v1.16.100/components/display_name.json"
"$ref": "../../v1.16.100/components/display_name.json"
},
"minecraft:unit_cube": {
"$ref": "../v1.16.100/components/unit_cube.json"
"$ref": "../../v1.16.100/components/unit_cube.json"
},
"minecraft:material_instances": {
"$ref": "../v1.16.100/components/material_instances.json"
"$ref": "../../v1.16.100/components/material_instances.json"
},
"minecraft:geometry": {
"$ref": "../v1.16.100/components/geometry.json"
"$ref": "../../v1.16.100/components/geometry.json"
},
"minecraft:on_step_on": {
"$ref": "../v1.16.100/components/on_step_on.json"
"$ref": "../../v1.16.100/components/on_step_on.json"
},
"minecraft:on_step_off": {
"$ref": "../v1.16.100/components/on_step_off.json"
"$ref": "../../v1.16.100/components/on_step_off.json"
},
"minecraft:on_player_destroyed": {
"$ref": "../v1.16.100/components/on_player_destroyed.json"
"$ref": "../../v1.16.100/components/on_player_destroyed.json"
},
"minecraft:on_fall_on": {
"$ref": "../v1.16.100/components/on_fall_on.json"
"$ref": "../../v1.16.100/components/on_fall_on.json"
},
"minecraft:on_placed": {
"$ref": "../v1.16.100/components/on_placed.json"
"$ref": "../../v1.16.100/components/on_placed.json"
},
"minecraft:on_player_placing": {
"$ref": "../v1.16.100/components/on_player_placing.json"
"$ref": "../../v1.16.100/components/on_player_placing.json"
},
"minecraft:on_interact": {
"$ref": "../v1.16.100/components/on_interact.json"
"$ref": "../../v1.16.100/components/on_interact.json"
},
"minecraft:ticking": {
"$ref": "../v1.16.100/components/ticking.json"
"$ref": "../../v1.16.100/components/ticking.json"
},
"minecraft:random_ticking": {
"$ref": "../v1.16.100/components/random_ticking.json"
"$ref": "../../v1.16.100/components/random_ticking.json"
},
"minecraft:breathability": {
"$ref": "../v1.16.100/components/breathability.json"
"$ref": "../../v1.16.100/components/breathability.json"
},
"minecraft:placement_filter": {
"$ref": "../v1.16.100/components/placement_filter.json"
"$ref": "../../v1.16.100/components/placement_filter.json"
},
"minecraft:rotation": {
"$ref": "../v1.16.100/components/rotation.json"
"$ref": "../../v1.16.100/components/rotation.json"
},
"minecraft:unwalkable": {
"$ref": "../v1.16.100/components/unwalkable.json"
"$ref": "../../v1.16.100/components/unwalkable.json"
}
}
}
Expand Down Expand Up @@ -110,16 +110,16 @@
"properties": {
// Deprecated
"minecraft:immovable": {
"$ref": "./immovable.json"
"$ref": "../../v1.18.30/components/immovable.json"
},
"minecraft:breakonpush": {
"$ref": "./breakonpush.json"
"$ref": "../../v1.18.30/components/breakonpush.json"
},
"minecraft:onlypistonpush": {
"$ref": "./onlypistonpush.json"
"$ref": "../../v1.18.30/components/onlypistonpush.json"
},
"minecraft:preventsjumping": {
"$ref": "./preventsjumping.json"
"$ref": "../../v1.18.30/components/preventsjumping.json"
},
"minecraft:entity_collision": {
"$ref": "../../v1.18.10/components/entity_collision.json"
Expand Down
6 changes: 0 additions & 6 deletions packages/minecraftBedrock/schema/block/v1.18.30/event.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@
{
"$ref": "../../event/v1.16.100/removeMobEffect.json"
},
// {
// "$ref": "../../event/v1.16.100/playEffect.json"
// },
// {
// "$ref": "../../event/v1.16.100/playSound.json"
// },
{
"$ref": "../../event/v1.16.100/runCommand.json"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"type": "object",
"anyOf": [
{
"$ref": "../../dynamic/currentContext/propertyProperty.json"
"$ref": "../../entity/dynamic/currentContext/propertyProperty.json"
},
{
"patternProperties": {
Expand Down

0 comments on commit 389563d

Please sign in to comment.