Refactoring

This commit is contained in:
DaanV2
2020-12-12 00:09:25 +01:00
parent 124cc839f1
commit 6d1ef3597b
226 changed files with 740 additions and 744 deletions

View File

@@ -22,11 +22,11 @@
"allOf": [
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
"then": { "$ref": "1.8.0/animation_controller.json" }
"then": { "$ref": "./1.8.0/animation_controller.json" }
},
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
"then": { "$ref": "1.10.0/animation_controller.json" }
"then": { "$ref": "./1.10.0/animation_controller.json" }
}
]
}

View File

@@ -16,11 +16,11 @@
"allOf": [
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
"then": { "$ref": "1.8.0/actor_animation.json" }
"then": { "$ref": "./1.8.0/actor_animation.json" }
},
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
"then": { "$ref": "1.10.0/actor_animation.json" }
"then": { "$ref": "./1.10.0/actor_animation.json" }
}
]
}

View File

@@ -26,15 +26,15 @@
"allOf": [
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
"then": { "$ref": "1.8.0/attachables.json" }
"then": { "$ref": "./1.8.0/attachables.json" }
},
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } },
"then": { "$ref": "1.10.0/attachables.json" }
"then": { "$ref": "./1.10.0/attachables.json" }
},
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
"then": { "$ref": "1.10.0/attachables.json" }
"then": { "$ref": "./1.10.0/attachables.json" }
}
]
}

View File

@@ -19,11 +19,11 @@
"allOf": [
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } },
"then": { "$ref": "1.10.0/items.json" }
"then": { "$ref": "./1.10.0/items.json" }
},
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
"then": { "$ref": "1.10.0/items.json" }
"then": { "$ref": "./1.10.0/items.json" }
}
]
}

View File

@@ -21,19 +21,19 @@
"allOf": [
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
"then": { "$ref": "1.8.0/model_entity.json" }
"then": { "$ref": "./1.8.0/model_entity.json" }
},
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
"then": { "$ref": "1.10.0/model_entity.json" }
"then": { "$ref": "./1.10.0/model_entity.json" }
},
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.12.0" } } },
"then": { "$ref": "1.12.0/model_entity.json" }
"then": { "$ref": "./1.12.0/model_entity.json" }
},
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.14.0" } } },
"then": { "$ref": "1.14.0/model_entity.json" }
"then": { "$ref": "./1.14.0/model_entity.json" }
}
]
}

View File

@@ -111,88 +111,88 @@
"title": "Components",
"properties": {
"minecraft:emitter_initialization": {
"$ref": "components/minecraft.emitter_initialization.json"
"$ref": "./components/minecraft.emitter_initialization.json"
},
"minecraft:emitter_lifetime_events": {
"$ref": "components/minecraft.emitter_lifetime_events.json"
"$ref": "./components/minecraft.emitter_lifetime_events.json"
},
"minecraft:emitter_lifetime_expression": {
"$ref": "components/minecraft.emitter_lifetime_expression.json"
"$ref": "./components/minecraft.emitter_lifetime_expression.json"
},
"minecraft:emitter_lifetime_once": {
"$ref": "components/minecraft.emitter_lifetime_once.json"
"$ref": "./components/minecraft.emitter_lifetime_once.json"
},
"minecraft:emitter_lifetime_looping": {
"$ref": "components/minecraft.emitter_lifetime_looping.json"
"$ref": "./components/minecraft.emitter_lifetime_looping.json"
},
"minecraft:emitter_local_space": {
"$ref": "components/minecraft.emitter_local_space.json"
"$ref": "./components/minecraft.emitter_local_space.json"
},
"minecraft:emitter_rate_instant": {
"$ref": "components/minecraft.emitter_rate_instant.json"
"$ref": "./components/minecraft.emitter_rate_instant.json"
},
"minecraft:emitter_rate_manual": {
"$ref": "components/minecraft.emitter_rate_manual.json"
"$ref": "./components/minecraft.emitter_rate_manual.json"
},
"minecraft:emitter_rate_steady": {
"$ref": "components/minecraft.emitter_rate_steady.json"
"$ref": "./components/minecraft.emitter_rate_steady.json"
},
"minecraft:emitter_shape_box": {
"$ref": "components/minecraft.emitter_shape_box.json"
"$ref": "./components/minecraft.emitter_shape_box.json"
},
"minecraft:emitter_shape_custom": {
"$ref": "components/minecraft.emitter_shape_custom.json"
"$ref": "./components/minecraft.emitter_shape_custom.json"
},
"minecraft:emitter_shape_disc": {
"$ref": "components/minecraft.emitter_shape_disc.json"
"$ref": "./components/minecraft.emitter_shape_disc.json"
},
"minecraft:emitter_shape_entity_aabb": {
"$ref": "components/minecraft.emitter_shape_entity_aabb.json"
"$ref": "./components/minecraft.emitter_shape_entity_aabb.json"
},
"minecraft:emitter_shape_point": {
"$ref": "components/minecraft.emitter_shape_point.json"
"$ref": "./components/minecraft.emitter_shape_point.json"
},
"minecraft:emitter_shape_sphere": {
"$ref": "components/minecraft.emitter_shape_sphere.json"
"$ref": "./components/minecraft.emitter_shape_sphere.json"
},
"minecraft:particle_appearance_billboard": {
"$ref": "components/minecraft.particle_appearance_billboard.json"
"$ref": "./components/minecraft.particle_appearance_billboard.json"
},
"minecraft:particle_appearance_tinting": {
"$ref": "components/minecraft.particle_appearance_tinting.json"
"$ref": "./components/minecraft.particle_appearance_tinting.json"
},
"minecraft:particle_appearance_lighting": {
"$ref": "components/minecraft.particle_appearance_lighting.json"
"$ref": "./components/minecraft.particle_appearance_lighting.json"
},
"minecraft:particle_expire_if_not_in_blocks": {
"$ref": "components/minecraft.particle_expire_if_not_in_blocks.json"
"$ref": "./components/minecraft.particle_expire_if_not_in_blocks.json"
},
"minecraft:particle_initialization": {
"$ref": "components/minecraft.particle_initialization.json"
"$ref": "./components/minecraft.particle_initialization.json"
},
"minecraft:particle_initial_speed": {
"$ref": "components/minecraft.particle_initial_speed.json"
"$ref": "./components/minecraft.particle_initial_speed.json"
},
"minecraft:particle_initial_spin": {
"$ref": "components/minecraft.particle_initial_spin.json"
"$ref": "./components/minecraft.particle_initial_spin.json"
},
"minecraft:particle_lifetime_expression": {
"$ref": "components/minecraft.particle_lifetime_expression.json"
"$ref": "./components/minecraft.particle_lifetime_expression.json"
},
"minecraft:particle_lifetime_events": {
"$ref": "components/minecraft.particle_lifetime_events.json"
"$ref": "./components/minecraft.particle_lifetime_events.json"
},
"minecraft:particle_kill_plane": {
"$ref": "components/minecraft.particle_kill_plane.json"
"$ref": "./components/minecraft.particle_kill_plane.json"
},
"minecraft:particle_motion_collision": {
"$ref": "components/minecraft.particle_motion_collision.json"
"$ref": "./components/minecraft.particle_motion_collision.json"
},
"minecraft:particle_motion_dynamic": {
"$ref": "components/minecraft.particle_motion_dynamic.json"
"$ref": "./components/minecraft.particle_motion_dynamic.json"
},
"minecraft:particle_motion_parametric": {
"$ref": "components/minecraft.particle_motion_parametric.json"
"$ref": "./components/minecraft.particle_motion_parametric.json"
}
}
},

View File

@@ -20,11 +20,11 @@
"allOf": [
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
"then": { "$ref": "1.8.0/particle.json" }
"then": { "$ref": "./1.8.0/particle.json" }
},
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
"then": { "$ref": "1.10.0/particle.json" }
"then": { "$ref": "./1.10.0/particle.json" }
}
]
}

View File

@@ -19,15 +19,15 @@
"allOf": [
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
"then": { "$ref": "1.8.0/render_controllers.json" }
"then": { "$ref": "./1.8.0/render_controllers.json" }
},
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } },
"then": { "$ref": "1.10.0/render_controllers.json" }
"then": { "$ref": "./1.10.0/render_controllers.json" }
},
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
"then": { "$ref": "1.10.0/render_controllers.json" }
"then": { "$ref": "./1.10.0/render_controllers.json" }
}
]
}

View File

@@ -12,11 +12,11 @@
"allOf": [
{
"if": { "properties": { "format_version": { "type": "string" } } },
"else": { "$ref": "sound_definitions_unknown.json" }
"else": { "$ref": "./sound_definitions_unknown.json" }
},
{
"if": { "properties": { "format_version": { "type": "string", "const": "1.14.0" } } },
"then": { "$ref": "1.14.0/sound_definitions.json" }
"then": { "$ref": "./1.14.0/sound_definitions.json" }
}
]
}