auto: Formatted json files

This commit is contained in:
Blockception Bot
2021-06-06 10:07:19 +00:00
parent 65dc629711
commit 77b8b88cc1
1017 changed files with 36952 additions and 36952 deletions

View File

@@ -1,158 +1,158 @@
{ {
"$id": "blockception.minecraft.behavior.animation_controller.1.10.0", "$id": "blockception.minecraft.behavior.animation_controller.1.10.0",
"type": "object", "type": "object",
"definitions": { "definitions": {
"animationspec": { "animationspec": {
"anyOf": [ "anyOf": [
{ {
"title": "Animation Specification", "title": "Animation Specification",
"description": "A single string that specifies which animation there are", "description": "A single string that specifies which animation there are",
"type": "string" "type": "string"
}, },
{ {
"type": "object", "type": "object",
"title": "Animation Specification", "title": "Animation Specification",
"description": "A object specification on how to transition", "description": "A object specification on how to transition",
"maxProperties": 1, "maxProperties": 1,
"minProperties": 1, "minProperties": 1,
"additionalProperties": { "additionalProperties": {
"$ref": "../../../molang/string.json" "$ref": "../../../molang/string.json"
} }
} }
] ]
}, },
"particle_effect_spec": { "particle_effect_spec": {
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"required": ["effect"], "required": ["effect"],
"properties": { "properties": {
"bind_to_actor": { "bind_to_actor": {
"type": "boolean", "type": "boolean",
"title": "Bind To Actor", "title": "Bind To Actor",
"description": "Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor).", "description": "Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor).",
"const": false "const": false
}, },
"effect": { "effect": {
"type": "string", "type": "string",
"title": "Effect", "title": "Effect",
"description": "The name of a particle effect that should be played" "description": "The name of a particle effect that should be played"
}, },
"locator": { "locator": {
"type": "string", "type": "string",
"title": "Locator", "title": "Locator",
"description": "The name of a locator on the actor where the effect should be located" "description": "The name of a locator on the actor where the effect should be located"
}, },
"pre_effect_script": { "pre_effect_script": {
"type": "string", "type": "string",
"title": "Pre Effect Script", "title": "Pre Effect Script",
"description": "A molang script that will be run when the particle emitter is initialized" "description": "A molang script that will be run when the particle emitter is initialized"
} }
} }
}, },
"commands": { "commands": {
"type": "string", "type": "string",
"title": "Commands", "title": "Commands",
"description": "The event or commands to execute", "description": "The event or commands to execute",
"examples": ["@s example:event"], "examples": ["@s example:event"],
"oneOf": [ "oneOf": [
{ "pattern": "^@s .+$", "title": "Event" }, { "pattern": "^@s .+$", "title": "Event" },
{ "pattern": "^/.+$", "title": "Command" }, { "pattern": "^/.+$", "title": "Command" },
{ "pattern": "^.+;$", "title": "Molang" } { "pattern": "^.+;$", "title": "Molang" }
] ]
} }
}, },
"required": ["format_version", "animation_controllers"], "required": ["format_version", "animation_controllers"],
"additionalProperties": false, "additionalProperties": false,
"title": "Animation Controller 1.10.0", "title": "Animation Controller 1.10.0",
"description": "Animation controller for minecraft behavior 1.10.0", "description": "Animation controller for minecraft behavior 1.10.0",
"properties": { "properties": {
"format_version": { "format_version": {
"title": "1.10.0 Format Version", "title": "1.10.0 Format Version",
"type": "string", "type": "string",
"pattern": "^1.10.0$", "pattern": "^1.10.0$",
"description": "A version that tells minecraft what type of data format can be expected when reading this file." "description": "A version that tells minecraft what type of data format can be expected when reading this file."
}, },
"animation_controllers": { "animation_controllers": {
"type": "object", "type": "object",
"title": "Animation Controllers", "title": "Animation Controllers",
"description": "The animation controllers schema for 1.10.0", "description": "The animation controllers schema for 1.10.0",
"propertyNames": { "propertyNames": {
"pattern": "^controller\\.animation\\.[a-z\\.]+", "pattern": "^controller\\.animation\\.[a-z\\.]+",
"examples": ["controller.animation.example", "controller.animation.example.foo"] "examples": ["controller.animation.example", "controller.animation.example.foo"]
}, },
"additionalProperties": { "additionalProperties": {
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Animation Controller", "title": "Animation Controller",
"description": "A single animation controller 1.10.0", "description": "A single animation controller 1.10.0",
"required": ["states"], "required": ["states"],
"minProperties": 1, "minProperties": 1,
"properties": { "properties": {
"states": { "states": {
"title": "States", "title": "States",
"description": "The states of this animation controller", "description": "The states of this animation controller",
"propertyNames": { "propertyNames": {
"pattern": "[a-z\\.]+" "pattern": "[a-z\\.]+"
}, },
"minProperties": 1, "minProperties": 1,
"additionalProperties": { "additionalProperties": {
"additionalProperties": false, "additionalProperties": false,
"title": "Animation State", "title": "Animation State",
"description": "Animation state", "description": "Animation state",
"type": "object", "type": "object",
"properties": { "properties": {
"animations": { "animations": {
"title": "Animations", "title": "Animations",
"description": "The animations definition for 1.10.0", "description": "The animations definition for 1.10.0",
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/animationspec", "$ref": "#/definitions/animationspec",
"description": "The key definition of an animation to play, defined in the entity", "description": "The key definition of an animation to play, defined in the entity",
"title": "Animations" "title": "Animations"
} }
}, },
"on_entry": { "on_entry": {
"type": "array", "type": "array",
"description": "Events, commands or transitions to preform on entry of this state", "description": "Events, commands or transitions to preform on entry of this state",
"title": "On Entry", "title": "On Entry",
"items": { "items": {
"$ref": "#/definitions/commands" "$ref": "#/definitions/commands"
} }
}, },
"on_exit": { "on_exit": {
"type": "array", "type": "array",
"description": "Events, commands or transitions to preform on exit of this state", "description": "Events, commands or transitions to preform on exit of this state",
"title": "On Exit", "title": "On Exit",
"items": { "items": {
"$ref": "#/definitions/commands" "$ref": "#/definitions/commands"
} }
}, },
"transitions": { "transitions": {
"title": "Transition", "title": "Transition",
"description": "The transition definition for 1.10.0", "description": "The transition definition for 1.10.0",
"minProperties": 1, "minProperties": 1,
"type": "array", "type": "array",
"items": { "items": {
"title": "Transitions", "title": "Transitions",
"description": "A object specification on how to transition", "description": "A object specification on how to transition",
"type": "object", "type": "object",
"maxProperties": 1, "maxProperties": 1,
"minProperties": 1, "minProperties": 1,
"additionalProperties": { "additionalProperties": {
"$ref": "../../../molang/string.json" "$ref": "../../../molang/string.json"
} }
} }
} }
} }
} }
}, },
"initial_state": { "initial_state": {
"type": "string", "type": "string",
"description": "The state to start with, if not specified state at position 0 in the array is used", "description": "The state to start with, if not specified state at position 0 in the array is used",
"title": "Initial State" "title": "Initial State"
} }
} }
} }
} }
} }
} }

View File

@@ -1,157 +1,157 @@
{ {
"$id": "blockception.minecraft.behavior.animation_controller.1.8.0", "$id": "blockception.minecraft.behavior.animation_controller.1.8.0",
"definitions": { "definitions": {
"animationspec": { "animationspec": {
"anyOf": [ "anyOf": [
{ {
"title": "Animation Specification", "title": "Animation Specification",
"description": "A single string that specifies which animation there are", "description": "A single string that specifies which animation there are",
"type": "string" "type": "string"
}, },
{ {
"type": "object", "type": "object",
"title": "Animation Specification", "title": "Animation Specification",
"description": "A object specification on when to animate", "description": "A object specification on when to animate",
"maxProperties": 1, "maxProperties": 1,
"minProperties": 1, "minProperties": 1,
"additionalProperties": { "additionalProperties": {
"$ref": "../../../molang/string.json" "$ref": "../../../molang/string.json"
} }
} }
] ]
}, },
"particle_effect_spec": { "particle_effect_spec": {
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"required": ["effect"], "required": ["effect"],
"properties": { "properties": {
"bind_to_actor": { "bind_to_actor": {
"type": "boolean", "type": "boolean",
"title": "Bind To Actor", "title": "Bind To Actor",
"description": "Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor).", "description": "Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor).",
"const": false "const": false
}, },
"effect": { "effect": {
"type": "string", "type": "string",
"title": "Effect", "title": "Effect",
"description": "The name of a particle effect that should be played" "description": "The name of a particle effect that should be played"
}, },
"locator": { "locator": {
"type": "string", "type": "string",
"title": "Locator", "title": "Locator",
"description": "The name of a locator on the actor where the effect should be located" "description": "The name of a locator on the actor where the effect should be located"
}, },
"pre_effect_script": { "pre_effect_script": {
"type": "string", "type": "string",
"title": "Pre Effect Script", "title": "Pre Effect Script",
"description": "A molang script that will be run when the particle emitter is initialized" "description": "A molang script that will be run when the particle emitter is initialized"
} }
} }
}, },
"commands": { "commands": {
"type": "string", "type": "string",
"description": "The event or commands to execute", "description": "The event or commands to execute",
"title": "Commands", "title": "Commands",
"oneOf": [ "oneOf": [
{ "pattern": "^@s .+$", "title": "Event" }, { "pattern": "^@s .+$", "title": "Event" },
{ "pattern": "^/.+$", "title": "Command" }, { "pattern": "^/.+$", "title": "Command" },
{ "pattern": "^.+;$", "title": "Molang" } { "pattern": "^.+;$", "title": "Molang" }
] ]
} }
}, },
"type": "object", "type": "object",
"title": "Animation Controller 1.8.0", "title": "Animation Controller 1.8.0",
"description": "Animation controller for behaviors 1.8.0", "description": "Animation controller for behaviors 1.8.0",
"required": ["format_version", "animation_controllers"], "required": ["format_version", "animation_controllers"],
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"format_version": { "format_version": {
"title": "1.8.0 Format Version", "title": "1.8.0 Format Version",
"type": "string", "type": "string",
"pattern": "^1.8.0$", "pattern": "^1.8.0$",
"description": "A version that tells minecraft what type of data format can be expected when reading this file." "description": "A version that tells minecraft what type of data format can be expected when reading this file."
}, },
"animation_controllers": { "animation_controllers": {
"type": "object", "type": "object",
"title": "Animation Controllers Schema", "title": "Animation Controllers Schema",
"description": "The animation controllers schema for 1.8.0", "description": "The animation controllers schema for 1.8.0",
"propertyNames": { "propertyNames": {
"pattern": "^controller\\.animation\\.[a-z\\.]+", "pattern": "^controller\\.animation\\.[a-z\\.]+",
"examples": ["controller.animation.example", "controller.animation.example.foo"] "examples": ["controller.animation.example", "controller.animation.example.foo"]
}, },
"additionalProperties": { "additionalProperties": {
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "A Animation Controller", "title": "A Animation Controller",
"description": "A single animation controller 1.8.0", "description": "A single animation controller 1.8.0",
"required": ["states"], "required": ["states"],
"minProperties": 1, "minProperties": 1,
"properties": { "properties": {
"states": { "states": {
"title": "States", "title": "States",
"description": "The states of this animation controller", "description": "The states of this animation controller",
"propertyNames": { "pattern": "[a-z\\.]+" }, "propertyNames": { "pattern": "[a-z\\.]+" },
"minProperties": 1, "minProperties": 1,
"additionalProperties": { "additionalProperties": {
"additionalProperties": false, "additionalProperties": false,
"title": "Animation State", "title": "Animation State",
"description": "Animation state", "description": "Animation state",
"type": "object", "type": "object",
"properties": { "properties": {
"animations": { "animations": {
"title": "Animations", "title": "Animations",
"description": "The animations definition for 1.8.0", "description": "The animations definition for 1.8.0",
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/animationspec", "$ref": "#/definitions/animationspec",
"description": "The animation key to play, defined in the entity", "description": "The animation key to play, defined in the entity",
"title": "Animation" "title": "Animation"
} }
}, },
"on_entry": { "on_entry": {
"type": "array", "type": "array",
"description": "Events, commands or transitions to preform", "description": "Events, commands or transitions to preform",
"title": "On Entry", "title": "On Entry",
"items": { "items": {
"$ref": "#/definitions/commands" "$ref": "#/definitions/commands"
} }
}, },
"on_exit": { "on_exit": {
"type": "array", "type": "array",
"description": "Events, commands or transitions to preform", "description": "Events, commands or transitions to preform",
"title": "On Exit", "title": "On Exit",
"items": { "items": {
"$ref": "#/definitions/commands" "$ref": "#/definitions/commands"
} }
}, },
"transitions": { "transitions": {
"title": "Transition", "title": "Transition",
"description": "The transition definition for 1.8.0", "description": "The transition definition for 1.8.0",
"minProperties": 1, "minProperties": 1,
"type": "array", "type": "array",
"items": { "items": {
"title": "Transition", "title": "Transition",
"description": "A transition to another state", "description": "A transition to another state",
"type": "object", "type": "object",
"examples": [{ "default": "query.is_chested" }], "examples": [{ "default": "query.is_chested" }],
"additionalProperties": { "additionalProperties": {
"$ref": "../../../molang/string.json" "$ref": "../../../molang/string.json"
}, },
"minProperties": 1, "minProperties": 1,
"maxProperties": 1 "maxProperties": 1
} }
} }
} }
} }
}, },
"initial_state": { "initial_state": {
"title": "Initial State", "title": "Initial State",
"description": "The state to start with, if not specified state at position 0 in the array is used", "description": "The state to start with, if not specified state at position 0 in the array is used",
"type": "string", "type": "string",
"examples": ["default"] "examples": ["default"]
} }
} }
} }
} }
} }
} }

View File

@@ -1,25 +1,25 @@
{ {
"$id": "blockception.minecraft.behavior.animation_controller", "$id": "blockception.minecraft.behavior.animation_controller",
"examples": [ "examples": [
{ {
"format_version": "1.10.0", "format_version": "1.10.0",
"animation_controllers": { "animation_controllers": {
"controller.animation.example": { "controller.animation.example": {
"initial_state": "default", "initial_state": "default",
"states": { "default": { "transitions": [{ "state_1": "query.is_baby" }] }, "state_1": {} } "states": { "default": { "transitions": [{ "state_1": "query.is_baby" }] }, "state_1": {} }
} }
} }
} }
], ],
"allOf": [ "allOf": [
{ {
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } }, "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" } } }, "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" }
}, },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } } { "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
] ]
} }

View File

@@ -1,95 +1,95 @@
{ {
"$id": "blockception.minecraft.behavior.1.10.0.animations", "$id": "blockception.minecraft.behavior.1.10.0.animations",
"definitions": { "definitions": {
"animationspec": { "animationspec": {
"anyOf": [ "anyOf": [
{ "title": "Animation Specification", "description": "A single string that specifies which animation there are", "type": "string" }, { "title": "Animation Specification", "description": "A single string that specifies which animation there are", "type": "string" },
{ {
"type": "object", "type": "object",
"title": "Animation Specification", "title": "Animation Specification",
"description": "A object specification on how to transition", "description": "A object specification on how to transition",
"maxProperties": 1, "maxProperties": 1,
"minProperties": 1, "minProperties": 1,
"additionalProperties": { "$ref": "../../../molang/string.json" } "additionalProperties": { "$ref": "../../../molang/string.json" }
} }
] ]
}, },
"particle_effect_spec": { "particle_effect_spec": {
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"required": ["effect"], "required": ["effect"],
"properties": { "properties": {
"bind_to_actor": { "bind_to_actor": {
"title": "Bind To Actor", "title": "Bind To Actor",
"type": "boolean", "type": "boolean",
"description": "Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor).", "description": "Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor).",
"const": false "const": false
}, },
"effect": { "type": "string", "description": "The name of a particle effect that should be played", "title": "Effect" }, "effect": { "type": "string", "description": "The name of a particle effect that should be played", "title": "Effect" },
"locator": { "type": "string", "description": "The name of a locator on the actor where the effect should be located", "title": "Locator" }, "locator": { "type": "string", "description": "The name of a locator on the actor where the effect should be located", "title": "Locator" },
"pre_effect_script": { "pre_effect_script": {
"type": "string", "type": "string",
"description": "A molang script that will be run when the particle emitter is initialized", "description": "A molang script that will be run when the particle emitter is initialized",
"title": "Pre Effect Script" "title": "Pre Effect Script"
} }
} }
}, },
"commands": { "commands": {
"type": "string", "type": "string",
"description": "The event or commands to execute", "description": "The event or commands to execute",
"title": "Commands", "title": "Commands",
"anyOf": [ "anyOf": [
{ "pattern": "^.*=.*;$", "title": "Variable" }, { "pattern": "^.*=.*;$", "title": "Variable" },
{ "pattern": "^/[a-z].*$", "title": "Minecraft Command" }, { "pattern": "^/[a-z].*$", "title": "Minecraft Command" },
{ "pattern": "[A-Za-z][a-z]*\\.[a-z_0-9]*", "title": "Molang" }, { "pattern": "[A-Za-z][a-z]*\\.[a-z_0-9]*", "title": "Molang" },
{ "pattern": "^@s .*$", "title": "Event" } { "pattern": "^@s .*$", "title": "Event" }
] ]
} }
}, },
"type": "object", "type": "object",
"title": "Animation 1.10.0", "title": "Animation 1.10.0",
"description": "Animation for behavior for 1.10.0", "description": "Animation for behavior for 1.10.0",
"required": ["format_version", "animations"], "required": ["format_version", "animations"],
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"format_version": { "format_version": {
"title": "1.10.0 Format Version", "title": "1.10.0 Format Version",
"type": "string", "type": "string",
"pattern": "^1.10.0$", "pattern": "^1.10.0$",
"description": "A version that tells minecraft what type of data format can be expected when reading this file." "description": "A version that tells minecraft what type of data format can be expected when reading this file."
}, },
"animations": { "animations": {
"title": "Animations Schema", "title": "Animations Schema",
"description": "The animation 1.10.0 specification", "description": "The animation 1.10.0 specification",
"type": "object", "type": "object",
"propertyNames": { "pattern": "^animation\\.[a-z\\.]+" }, "propertyNames": { "pattern": "^animation\\.[a-z\\.]+" },
"additionalProperties": { "additionalProperties": {
"title": "Animation", "title": "Animation",
"type": "object", "type": "object",
"description": "A single animation definition for 1.10.0", "description": "A single animation definition for 1.10.0",
"additionalProperties": false, "additionalProperties": false,
"propertyNames": { "examples": ["animation.example.foo"] }, "propertyNames": { "examples": ["animation.example.foo"] },
"properties": { "properties": {
"animation_length": { "type": "number", "description": "The time in seconds this animation will last", "title": "Animation Length" }, "animation_length": { "type": "number", "description": "The time in seconds this animation will last", "title": "Animation Length" },
"loop": { "loop": {
"type": "boolean", "type": "boolean",
"description": "Whenever this animation should loop once it reaches the end, will only happen if the animation is still active", "description": "Whenever this animation should loop once it reaches the end, will only happen if the animation is still active",
"title": "Loop" "title": "Loop"
}, },
"timeline": { "timeline": {
"title": "Timeline", "title": "Timeline",
"description": "A timeline specification, property names are timestamps", "description": "A timeline specification, property names are timestamps",
"type": "object", "type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] }, "propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
"additionalProperties": { "additionalProperties": {
"oneOf": [ "oneOf": [
{ "type": "string", "$ref": "#/definitions/commands" }, { "type": "string", "$ref": "#/definitions/commands" },
{ "type": "array", "title": "Collection Timelime Items", "items": { "$ref": "#/definitions/commands" } } { "type": "array", "title": "Collection Timelime Items", "items": { "$ref": "#/definitions/commands" } }
] ]
} }
} }
} }
} }
} }
} }
} }

View File

@@ -1,95 +1,95 @@
{ {
"$id": "blockception.minecraft.behavior.1.8.0.animations", "$id": "blockception.minecraft.behavior.1.8.0.animations",
"definitions": { "definitions": {
"animationspec": { "animationspec": {
"anyOf": [ "anyOf": [
{ "title": "Animation Specification", "description": "A single string that specifies which animation there are", "type": "string" }, { "title": "Animation Specification", "description": "A single string that specifies which animation there are", "type": "string" },
{ {
"type": "object", "type": "object",
"title": "Animation Specification", "title": "Animation Specification",
"description": "A object specification on how to transition", "description": "A object specification on how to transition",
"maxProperties": 1, "maxProperties": 1,
"minProperties": 1, "minProperties": 1,
"additionalProperties": { "$ref": "../../../molang/string.json" } "additionalProperties": { "$ref": "../../../molang/string.json" }
} }
] ]
}, },
"particle_effect_spec": { "particle_effect_spec": {
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"required": ["effect"], "required": ["effect"],
"properties": { "properties": {
"bind_to_actor": { "bind_to_actor": {
"title": "Bind To Actor", "title": "Bind To Actor",
"type": "boolean", "type": "boolean",
"description": "Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor).", "description": "Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor).",
"const": false "const": false
}, },
"effect": { "type": "string", "description": "The name of a particle effect that should be played", "title": "Effect" }, "effect": { "type": "string", "description": "The name of a particle effect that should be played", "title": "Effect" },
"locator": { "type": "string", "description": "The name of a locator on the actor where the effect should be located", "title": "Locator" }, "locator": { "type": "string", "description": "The name of a locator on the actor where the effect should be located", "title": "Locator" },
"pre_effect_script": { "pre_effect_script": {
"type": "string", "type": "string",
"description": "A molang script that will be run when the particle emitter is initialized", "description": "A molang script that will be run when the particle emitter is initialized",
"title": "Pre Effect Script" "title": "Pre Effect Script"
} }
} }
}, },
"commands": { "commands": {
"type": "string", "type": "string",
"description": "The event or commands to execute", "description": "The event or commands to execute",
"title": "Commands", "title": "Commands",
"anyOf": [ "anyOf": [
{ "pattern": "^.*=.*;$", "title": "Variable" }, { "pattern": "^.*=.*;$", "title": "Variable" },
{ "pattern": "^/[a-z].*$", "title": "Minecraft Command" }, { "pattern": "^/[a-z].*$", "title": "Minecraft Command" },
{ "pattern": "[A-Za-z][a-z]*\\.[a-z_0-9]*", "title": "Molang" }, { "pattern": "[A-Za-z][a-z]*\\.[a-z_0-9]*", "title": "Molang" },
{ "pattern": "^@s .*$", "title": "Event" } { "pattern": "^@s .*$", "title": "Event" }
] ]
} }
}, },
"type": "object", "type": "object",
"title": "Animation 1.8.0", "title": "Animation 1.8.0",
"description": "Animation for behaviors 1.8.0", "description": "Animation for behaviors 1.8.0",
"required": ["format_version", "animations"], "required": ["format_version", "animations"],
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"format_version": { "format_version": {
"title": "1.8.0 Format Version", "title": "1.8.0 Format Version",
"type": "string", "type": "string",
"pattern": "^1.8.0$", "pattern": "^1.8.0$",
"description": "A version that tells minecraft what type of data format can be expected when reading this file." "description": "A version that tells minecraft what type of data format can be expected when reading this file."
}, },
"animations": { "animations": {
"title": "Animations", "title": "Animations",
"description": "The animation 1.8.0 specification", "description": "The animation 1.8.0 specification",
"type": "object", "type": "object",
"propertyNames": { "pattern": "^animation\\.[a-z\\.]+" }, "propertyNames": { "pattern": "^animation\\.[a-z\\.]+" },
"additionalProperties": { "additionalProperties": {
"title": "Animation", "title": "Animation",
"type": "object", "type": "object",
"description": "A single animation definition for 1.8.0", "description": "A single animation definition for 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"propertyNames": { "examples": ["animation.example.foo"] }, "propertyNames": { "examples": ["animation.example.foo"] },
"properties": { "properties": {
"animation_length": { "type": "number", "description": "The time in seconds this animation will last", "title": "Animation Length" }, "animation_length": { "type": "number", "description": "The time in seconds this animation will last", "title": "Animation Length" },
"loop": { "loop": {
"type": "boolean", "type": "boolean",
"description": "Wheter or not to loop this animation", "description": "Wheter or not to loop this animation",
"title": "Loop" "title": "Loop"
}, },
"timeline": { "timeline": {
"title": "Timeline", "title": "Timeline",
"description": "A timeline specification, property names are timestamps", "description": "A timeline specification, property names are timestamps",
"type": "object", "type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] }, "propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
"additionalProperties": { "additionalProperties": {
"oneOf": [ "oneOf": [
{ "$ref": "#/definitions/commands" }, { "$ref": "#/definitions/commands" },
{ "type": "array", "title": "Collection Timelime Items", "items": { "$ref": "#/definitions/commands" } } { "type": "array", "title": "Collection Timelime Items", "items": { "$ref": "#/definitions/commands" } }
] ]
} }
} }
} }
} }
} }
} }
} }

View File

@@ -1,9 +1,9 @@
{ {
"$id": "blockception.minecraft.behavior.animations", "$id": "blockception.minecraft.behavior.animations",
"examples": [{ "format_version": "1.10.0", "animations": { "animation.example": {} } }], "examples": [{ "format_version": "1.10.0", "animations": { "animation.example": {} } }],
"allOf": [ "allOf": [
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } }, "then": { "$ref": "./1.8.0/animations.json" } }, { "if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } }, "then": { "$ref": "./1.8.0/animations.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/animations.json" } }, { "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/animations.json" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } } { "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
] ]
} }

View File

@@ -1,30 +1,30 @@
{ {
"$id": "minecraft.behavior.biomes.1.12.0", "$id": "minecraft.behavior.biomes.1.12.0",
"type": "object", "type": "object",
"title": "Biomes", "title": "Biomes",
"description": "The definition of a biome", "description": "The definition of a biome",
"additionalProperties": { "additionalProperties": {
"title": "Tag", "title": "Tag",
"type": "object", "type": "object",
"description": "Components with no namespace are treated as 'tags': any name consisting of alphanumeric characters, '.' and '_' is permitted; the tag is attached to the biome so that either code or data may check for its existence; tag components may not have member fields.", "description": "Components with no namespace are treated as 'tags': any name consisting of alphanumeric characters, '.' and '_' is permitted; the tag is attached to the biome so that either code or data may check for its existence; tag components may not have member fields.",
"additionalProperties": false "additionalProperties": false
}, },
"properties": { "properties": {
"minecraft:climate": { "$ref": "./components/minecraft.climate.json" }, "minecraft:climate": { "$ref": "./components/minecraft.climate.json" },
"minecraft:forced_features": { "$ref": "./components/minecraft.forced_features.json" }, "minecraft:forced_features": { "$ref": "./components/minecraft.forced_features.json" },
"minecraft:overworld_height": { "$ref": "./components/minecraft.overworld_height.json" }, "minecraft:overworld_height": { "$ref": "./components/minecraft.overworld_height.json" },
"minecraft:ignore_automatic_features": { "$ref": "./components/minecraft.ignore_automatic_features.json" }, "minecraft:ignore_automatic_features": { "$ref": "./components/minecraft.ignore_automatic_features.json" },
"minecraft:surface_parameters": { "$ref": "./components/minecraft.surface_parameters.json" }, "minecraft:surface_parameters": { "$ref": "./components/minecraft.surface_parameters.json" },
"minecraft:surface_material_adjustments": { "$ref": "./components/minecraft.surface_material_adjustments.json" }, "minecraft:surface_material_adjustments": { "$ref": "./components/minecraft.surface_material_adjustments.json" },
"minecraft:swamp_surface": { "$ref": "./components/minecraft.swamp_surface.json" }, "minecraft:swamp_surface": { "$ref": "./components/minecraft.swamp_surface.json" },
"minecraft:frozen_ocean_surface": { "$ref": "./components/minecraft.frozen_ocean_surface.json" }, "minecraft:frozen_ocean_surface": { "$ref": "./components/minecraft.frozen_ocean_surface.json" },
"minecraft:mesa_surface": { "$ref": "./components/minecraft.mesa_surface.json" }, "minecraft:mesa_surface": { "$ref": "./components/minecraft.mesa_surface.json" },
"minecraft:mountain_parameters": { "$ref": "./components/minecraft.mountain_parameters.json" }, "minecraft:mountain_parameters": { "$ref": "./components/minecraft.mountain_parameters.json" },
"minecraft:nether_surface": { "$ref": "./components/minecraft.nether_surface.json" }, "minecraft:nether_surface": { "$ref": "./components/minecraft.nether_surface.json" },
"minecraft:the_end_surface": { "$ref": "./components/minecraft.the_end_surface.json" }, "minecraft:the_end_surface": { "$ref": "./components/minecraft.the_end_surface.json" },
"minecraft:capped_surface": { "$ref": "./components/minecraft.capped_surface.json" }, "minecraft:capped_surface": { "$ref": "./components/minecraft.capped_surface.json" },
"minecraft:overworld_generation_rules": { "$ref": "./components/minecraft.overworld_generation_rules.json" }, "minecraft:overworld_generation_rules": { "$ref": "./components/minecraft.overworld_generation_rules.json" },
"minecraft:nether_generation_rules": { "$ref": "./components/minecraft.nether_generation_rules.json" }, "minecraft:nether_generation_rules": { "$ref": "./components/minecraft.nether_generation_rules.json" },
"minecraft:legacy_world_generation_rules": { "$ref": "./components/minecraft.legacy_world_generation_rules.json" } "minecraft:legacy_world_generation_rules": { "$ref": "./components/minecraft.legacy_world_generation_rules.json" }
} }
} }

View File

@@ -1,37 +1,37 @@
{ {
"$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.capped_surface", "$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.capped_surface",
"title": "Capped Surface", "title": "Capped Surface",
"description": "Generates surface on blocks with non-solid blocks above or below.", "description": "Generates surface on blocks with non-solid blocks above or below.",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"required": ["floor_materials", "ceiling_materials", "sea_material", "foundation_material"], "required": ["floor_materials", "ceiling_materials", "sea_material", "foundation_material"],
"properties": { "properties": {
"ceiling_materials": { "ceiling_materials": {
"title": "Ceiling Materials", "title": "Ceiling Materials",
"description": "Materials used for the surface ceiling.", "description": "Materials used for the surface ceiling.",
"minItems": 1, "minItems": 1,
"items": { "items": {
"title": "Block Reference", "title": "Block Reference",
"description": "UNDOCUMENTATED", "description": "UNDOCUMENTATED",
"type": "string" "type": "string"
} }
}, },
"floor_materials": { "floor_materials": {
"title": "Floor Materials", "title": "Floor Materials",
"description": "Materials used for the surface floor.", "description": "Materials used for the surface floor.",
"minItems": 1, "minItems": 1,
"items": { "items": {
"title": "Block Reference", "title": "Block Reference",
"description": "UNDOCUMENTATED", "description": "UNDOCUMENTATED",
"type": "string" "type": "string"
} }
}, },
"sea_material": { "title": "Sea Material", "description": "Material used to replace air blocks below sea level.", "type": "string" }, "sea_material": { "title": "Sea Material", "description": "Material used to replace air blocks below sea level.", "type": "string" },
"foundation_material": { "foundation_material": {
"title": "Foundation Material", "title": "Foundation Material",
"description": "Material used to repalce solid blocks that are not surface blocks.", "description": "Material used to repalce solid blocks that are not surface blocks.",
"type": "string" "type": "string"
}, },
"beach_material": { "title": "Beach Material", "description": "Material used to decorate surface near sea level.", "type": "string" } "beach_material": { "title": "Beach Material", "description": "Material used to decorate surface near sea level.", "type": "string" }
} }
} }

View File

@@ -1,30 +1,30 @@
{ {
"$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.climate", "$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.climate",
"title": "Climate", "title": "Climate",
"description": "Describes temperature, humidity, precipitation, etc. Biomes without this component will have default values.", "description": "Describes temperature, humidity, precipitation, etc. Biomes without this component will have default values.",
"type": "object", "type": "object",
"minProperties": 0, "minProperties": 0,
"maxProperties": 7, "maxProperties": 7,
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"temperature": { "title": "Temperature", "description": "UNDOCUMENATED", "type": "number" }, "temperature": { "title": "Temperature", "description": "UNDOCUMENATED", "type": "number" },
"downfall": { "title": "Downfall", "description": "UNDOCUMENATED", "type": "number" }, "downfall": { "title": "Downfall", "description": "UNDOCUMENATED", "type": "number" },
"red_spores": { "title": "Red Spores", "description": "UNDOCUMENATED", "type": "number" }, "red_spores": { "title": "Red Spores", "description": "UNDOCUMENATED", "type": "number" },
"blue_spores": { "title": "Blue Spores", "description": "UNDOCUMENATED", "type": "number" }, "blue_spores": { "title": "Blue Spores", "description": "UNDOCUMENATED", "type": "number" },
"ash": { "title": "Ash", "description": "UNDOCUMENATED", "type": "number" }, "ash": { "title": "Ash", "description": "UNDOCUMENATED", "type": "number" },
"white_ash": { "title": "White Ash", "description": "UNDOCUMENATED", "type": "number" }, "white_ash": { "title": "White Ash", "description": "UNDOCUMENATED", "type": "number" },
"snow_accumulation": { "snow_accumulation": {
"title": "Snow Accumulation", "title": "Snow Accumulation",
"description": "UNDOCUMENATED", "description": "UNDOCUMENATED",
"type": "array", "type": "array",
"items": [ "items": [
{ {
"type": "number" "type": "number"
}, },
{ {
"type": "number" "type": "number"
} }
] ]
} }
} }
} }

View File

@@ -1,231 +1,231 @@
{ {
"$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.forced_features", "$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.forced_features",
"title": "Forced Features", "title": "Forced Features",
"description": "Force specific decorative features (trees, plants, etc.) to appear in this Biome, regardless of normal decoration rules.", "description": "Force specific decorative features (trees, plants, etc.) to appear in this Biome, regardless of normal decoration rules.",
"type": "object", "type": "object",
"minProperties": 0, "minProperties": 0,
"maxProperties": 11, "maxProperties": 11,
"additionalProperties": false, "additionalProperties": false,
"definitions": { "definitions": {
"coordinate": { "coordinate": {
"oneOf": [ "oneOf": [
{ {
"type": "string", "type": "string",
"$ref": "../../../../molang/number.json", "$ref": "../../../../molang/number.json",
"description": "Expression for the coordinate (evaluated each iteration). Mutually exclusive with random distribution object below." "description": "Expression for the coordinate (evaluated each iteration). Mutually exclusive with random distribution object below."
}, },
{ {
"type": "number", "type": "number",
"description": "Expression for the coordinate (evaluated each iteration). Mutually exclusive with random distribution object below." "description": "Expression for the coordinate (evaluated each iteration). Mutually exclusive with random distribution object below."
}, },
{ {
"type": "object", "type": "object",
"description": "Distribution for the coordinate (evaluated each iteration). Mutually exclusive with Molang expression above.", "description": "Distribution for the coordinate (evaluated each iteration). Mutually exclusive with Molang expression above.",
"additionalProperties": false, "additionalProperties": false,
"required": ["distribution", "extent"], "required": ["distribution", "extent"],
"properties": { "properties": {
"distribution": { "distribution": {
"title": "Distribution", "title": "Distribution",
"description": "Type of distribution - uniform random, gaussian (centered in the range), or grid (either fixed-step or jittered)", "description": "Type of distribution - uniform random, gaussian (centered in the range), or grid (either fixed-step or jittered)",
"type": "string", "type": "string",
"enum": ["uniform", "gaussian", "inverse_gaussian", "fixed_grid", "jittered_grid"] "enum": ["uniform", "gaussian", "inverse_gaussian", "fixed_grid", "jittered_grid"]
}, },
"extent": { "extent": {
"title": "Extent", "title": "Extent",
"description": "UNDOCUMENTATED", "description": "UNDOCUMENTATED",
"type": "array", "type": "array",
"items": [ "items": [
{ {
"title": "Lower Bound", "title": "Lower Bound",
"description": "Lower bound (inclusive) of the scatter range, as an offset from the input point to scatter around", "description": "Lower bound (inclusive) of the scatter range, as an offset from the input point to scatter around",
"$ref": "../../../../molang/number.json" "$ref": "../../../../molang/number.json"
}, },
{ {
"title": "Upper Bound", "title": "Upper Bound",
"description": "Upper bound (inclusive) of the scatter range, as an offset from the input point to scatter around", "description": "Upper bound (inclusive) of the scatter range, as an offset from the input point to scatter around",
"$ref": "../../../../molang/number.json" "$ref": "../../../../molang/number.json"
} }
] ]
}, },
"grid_offset": { "grid_offset": {
"title": "Step Size", "title": "Step Size",
"description": "When the distribution type is grid, defines the offset along this axis", "description": "When the distribution type is grid, defines the offset along this axis",
"type": "integer", "type": "integer",
"minimum": 0 "minimum": 0
}, },
"step_size": { "step_size": {
"title": "Step Size", "title": "Step Size",
"description": "When the distribution type is grid, defines the distance between steps along this axis", "description": "When the distribution type is grid, defines the distance between steps along this axis",
"type": "integer", "type": "integer",
"minimum": 1 "minimum": 1
} }
} }
} }
] ]
}, },
"iteration": { "iteration": {
"title": "Iteration", "title": "Iteration",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"additionalProperties": false, "additionalProperties": false,
"required": ["iterations", "places_feature", "identifier"], "required": ["iterations", "places_feature", "identifier"],
"properties": { "properties": {
"coordinate_eval_order": { "coordinate_eval_order": {
"title": "Coordinate Eval Order", "title": "Coordinate Eval Order",
"description": "The order in which coordinates will be evaluated. Should be used when a coordinate depends on another. If omitted, defaults to 'xzy'.", "description": "The order in which coordinates will be evaluated. Should be used when a coordinate depends on another. If omitted, defaults to 'xzy'.",
"type": "string", "type": "string",
"enum": ["xyz", "xzy", "yxz", "yzx", "zxy", "zyx"] "enum": ["xyz", "xzy", "yxz", "yzx", "zxy", "zyx"]
}, },
"identifier": { "identifier": {
"title": "Identifier", "title": "Identifier",
"description": "UNDOCUMANTED", "description": "UNDOCUMANTED",
"type": "string" "type": "string"
}, },
"iterations": { "iterations": {
"title": "Iterations", "title": "Iterations",
"description": "Number of scattered positions to generate", "description": "Number of scattered positions to generate",
"$ref": "../../../../molang/number.json" "$ref": "../../../../molang/number.json"
}, },
"places_feature": { "places_feature": {
"title": "Places Feature", "title": "Places Feature",
"description": "UNDOCUMANTED", "description": "UNDOCUMANTED",
"type": "string" "type": "string"
}, },
"scatter_chance": { "scatter_chance": {
"title": "Scatter Chance", "title": "Scatter Chance",
"oneOf": [ "oneOf": [
{ {
"type": "object", "type": "object",
"description": "Probability numerator / denominator that this scatter will occur. Not evaluated each iteration; either no iterations will run, or all will.", "description": "Probability numerator / denominator that this scatter will occur. Not evaluated each iteration; either no iterations will run, or all will.",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"denominator": { "denominator": {
"title": "Denominator", "title": "Denominator",
"description": "", "description": "",
"type": "integer", "type": "integer",
"minimum": 1 "minimum": 1
}, },
"numerator": { "numerator": {
"title": "Numerator", "title": "Numerator",
"description": "", "description": "",
"type": "integer", "type": "integer",
"minimum": 1 "minimum": 1
} }
} }
}, },
{ {
"type": "string", "type": "string",
"description": "Probability (0-100) that this scatter will occur. Not evaluated each iteration; either no iterations will run, or all will.", "description": "Probability (0-100) that this scatter will occur. Not evaluated each iteration; either no iterations will run, or all will.",
"$ref": "../../../../molang/number.json" "$ref": "../../../../molang/number.json"
}, },
{ {
"type": "number", "type": "number",
"description": "Probability (0-100) that this scatter will occur. Not evaluated each iteration; either no iterations will run, or all will." "description": "Probability (0-100) that this scatter will occur. Not evaluated each iteration; either no iterations will run, or all will."
} }
] ]
}, },
"x": { "x": {
"title": "X", "title": "X",
"$ref": "#/definitions/coordinate" "$ref": "#/definitions/coordinate"
}, },
"y": { "y": {
"title": "X", "title": "X",
"$ref": "#/definitions/coordinate" "$ref": "#/definitions/coordinate"
}, },
"z": { "z": {
"title": "X", "title": "X",
"$ref": "#/definitions/coordinate" "$ref": "#/definitions/coordinate"
} }
} }
} }
}, },
"properties": { "properties": {
"after_sky_pass": { "after_sky_pass": {
"title": "First Pass", "title": "First Pass",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/iteration" "$ref": "#/definitions/iteration"
} }
}, },
"after_surface_pass": { "after_surface_pass": {
"title": "First Pass", "title": "First Pass",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/iteration" "$ref": "#/definitions/iteration"
} }
}, },
"after_underground_pass": { "after_underground_pass": {
"title": "First Pass", "title": "First Pass",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/iteration" "$ref": "#/definitions/iteration"
} }
}, },
"before_sky_pass": { "before_sky_pass": {
"title": "First Pass", "title": "First Pass",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/iteration" "$ref": "#/definitions/iteration"
} }
}, },
"before_surface_pass": { "before_surface_pass": {
"title": "First Pass", "title": "First Pass",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/iteration" "$ref": "#/definitions/iteration"
} }
}, },
"before_underground_pass": { "before_underground_pass": {
"title": "First Pass", "title": "First Pass",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/iteration" "$ref": "#/definitions/iteration"
} }
}, },
"final_pass": { "final_pass": {
"title": "First Pass", "title": "First Pass",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/iteration" "$ref": "#/definitions/iteration"
} }
}, },
"first_pass": { "first_pass": {
"title": "First Pass", "title": "First Pass",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/iteration" "$ref": "#/definitions/iteration"
} }
}, },
"surface_pass": { "surface_pass": {
"title": "First Pass", "title": "First Pass",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/iteration" "$ref": "#/definitions/iteration"
} }
}, },
"sky_pass": { "sky_pass": {
"title": "First Pass", "title": "First Pass",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/iteration" "$ref": "#/definitions/iteration"
} }
}, },
"underground_pass": { "underground_pass": {
"title": "First Pass", "title": "First Pass",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/iteration" "$ref": "#/definitions/iteration"
} }
} }
} }
} }

View File

@@ -1,37 +1,37 @@
{ {
"$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.frozen_ocean_surface", "$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.frozen_ocean_surface",
"title": "Frozen Ocean Surface", "title": "Frozen Ocean Surface",
"description": "Similar to overworld_surface. Adds icebergs.", "description": "Similar to overworld_surface. Adds icebergs.",
"type": "object", "type": "object",
"minProperties": 0, "minProperties": 0,
"maxProperties": 6, "maxProperties": 6,
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"top_material": { "title": "Top Material", "description": "Controls the block type used for the surface of this biome.", "string": "string" }, "top_material": { "title": "Top Material", "description": "Controls the block type used for the surface of this biome.", "string": "string" },
"mid_material": { "mid_material": {
"title": "Mid Material", "title": "Mid Material",
"description": "Controls the block type used in a layer below the surface of this biome.", "description": "Controls the block type used in a layer below the surface of this biome.",
"string": "string" "string": "string"
}, },
"sea_floor_material": { "sea_floor_material": {
"title": "Sea Floor Material", "title": "Sea Floor Material",
"description": "Controls the block type used as a floor for bodies of water in this biome.", "description": "Controls the block type used as a floor for bodies of water in this biome.",
"string": "boostringlean" "string": "boostringlean"
}, },
"foundation_material": { "foundation_material": {
"title": "Foundation Material", "title": "Foundation Material",
"description": "Controls the block type used deep underground in this biome.", "description": "Controls the block type used deep underground in this biome.",
"string": "string" "string": "string"
}, },
"sea_material": { "sea_material": {
"title": "Sea Material", "title": "Sea Material",
"description": "Controls the block type used for the bodies of water in this biome.", "description": "Controls the block type used for the bodies of water in this biome.",
"string": "string" "string": "string"
}, },
"sea_floor_depth": { "sea_floor_depth": {
"title": "Sea Floor Depth", "title": "Sea Floor Depth",
"description": "Controls how deep below the world water level the floor should occur.", "description": "Controls how deep below the world water level the floor should occur.",
"type": "integer" "type": "integer"
} }
} }
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.ignore_automatic_features", "$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.ignore_automatic_features",
"title": "Ignore Automatic Features", "title": "Ignore Automatic Features",
"description": "No features will be automatically attached to this Biome, only features specified in the minecraft:forced_features component will appear.", "description": "No features will be automatically attached to this Biome, only features specified in the minecraft:forced_features component will appear.",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": {} "properties": {}
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.legacy_world_generation_rules", "$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.legacy_world_generation_rules",
"title": "Legacy World Generation Rules", "title": "Legacy World Generation Rules",
"description": "Additional world generation control applicable only to legacy limited worlds.", "description": "Additional world generation control applicable only to legacy limited worlds.",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": {} "properties": {}
} }

View File

@@ -1,41 +1,41 @@
{ {
"$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.mesa_surface", "$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.mesa_surface",
"title": "Mesa Surface", "title": "Mesa Surface",
"description": "Similar to overworld_surface. Adds colored strata and optional pillars.", "description": "Similar to overworld_surface. Adds colored strata and optional pillars.",
"type": "object", "type": "object",
"minProperties": 0, "minProperties": 0,
"maxProperties": 10, "maxProperties": 10,
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"top_material": { "title": "Top Material", "description": "Controls the block type used for the surface of this biome.", "string": "string" }, "top_material": { "title": "Top Material", "description": "Controls the block type used for the surface of this biome.", "string": "string" },
"mid_material": { "mid_material": {
"title": "Mid Material", "title": "Mid Material",
"description": "Controls the block type used in a layer below the surface of this biome.", "description": "Controls the block type used in a layer below the surface of this biome.",
"string": "string" "string": "string"
}, },
"sea_floor_material": { "sea_floor_material": {
"title": "Sea Floor Material", "title": "Sea Floor Material",
"description": "Controls the block type used as a floor for bodies of water in this biome.", "description": "Controls the block type used as a floor for bodies of water in this biome.",
"string": "boostringlean" "string": "boostringlean"
}, },
"foundation_material": { "foundation_material": {
"title": "Foundation Material", "title": "Foundation Material",
"description": "Controls the block type used deep underground in this biome.", "description": "Controls the block type used deep underground in this biome.",
"string": "string" "string": "string"
}, },
"sea_material": { "sea_material": {
"title": "Sea Material", "title": "Sea Material",
"description": "Controls the block type used for the bodies of water in this biome.", "description": "Controls the block type used for the bodies of water in this biome.",
"string": "string" "string": "string"
}, },
"sea_floor_depth": { "sea_floor_depth": {
"title": "Sea Floor Depth", "title": "Sea Floor Depth",
"description": "Controls how deep below the world water level the floor should occur.", "description": "Controls how deep below the world water level the floor should occur.",
"type": "integer" "type": "integer"
}, },
"clay_material": { "title": "Clay Material", "description": "UNDOCUMENTATED", "type": "string" }, "clay_material": { "title": "Clay Material", "description": "UNDOCUMENTATED", "type": "string" },
"hard_clay_material": { "title": "Hard Clay Material", "description": "UNDOCUMENTATED", "type": "string" }, "hard_clay_material": { "title": "Hard Clay Material", "description": "UNDOCUMENTATED", "type": "string" },
"bryce_pillars": { "title": "Bryce Pillars", "description": "UNDOCUMENTATED", "type": "boolean" }, "bryce_pillars": { "title": "Bryce Pillars", "description": "UNDOCUMENTATED", "type": "boolean" },
"has_forest": { "title": "Has Forest", "description": "UNDOCUMENTATED", "type": "boolean" } "has_forest": { "title": "Has Forest", "description": "UNDOCUMENTATED", "type": "boolean" }
} }
} }

View File

@@ -1,61 +1,61 @@
{ {
"$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.mountain_parameters", "$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.mountain_parameters",
"title": "Mountain parameters", "title": "Mountain parameters",
"description": "Noise parameters used to drive mountain terrain generation in Overworld", "description": "Noise parameters used to drive mountain terrain generation in Overworld",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"minProperties": 0, "minProperties": 0,
"maxProperties": 3, "maxProperties": 3,
"properties": { "properties": {
"peaks_factor": { "peaks_factor": {
"type": "number", "type": "number",
"title": "Peaks factor", "title": "Peaks factor",
"description": "UNDOCUMENTATED" "description": "UNDOCUMENTATED"
}, },
"steep_material_adjustment": { "steep_material_adjustment": {
"type": "object", "type": "object",
"title": "Steep material adjustment", "title": "Steep material adjustment",
"description": "Defines surface material for steep slopes", "description": "Defines surface material for steep slopes",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"material": { "material": {
"type": "string", "type": "string",
"title": "Material", "title": "Material",
"description": "Block type use as steep material." "description": "Block type use as steep material."
}, },
"north_slopes": { "north_slopes": {
"type": "boolean", "type": "boolean",
"title": "North slopes", "title": "North slopes",
"description": "Enable for north facing slopes" "description": "Enable for north facing slopes"
}, },
"south_slopes": { "south_slopes": {
"type": "boolean", "type": "boolean",
"title": "South slopes", "title": "South slopes",
"description": "Enable for south facing slopes" "description": "Enable for south facing slopes"
}, },
"west_slopes": { "west_slopes": {
"type": "boolean", "type": "boolean",
"title": "West slopes", "title": "West slopes",
"description": "Enable for west facing slopes" "description": "Enable for west facing slopes"
}, },
"east_slopes": { "east_slopes": {
"type": "boolean", "type": "boolean",
"title": "East slopes", "title": "East slopes",
"description": "Enable for east facing slopes" "description": "Enable for east facing slopes"
} }
} }
}, },
"top_slide": { "top_slide": {
"title": "Top slide", "title": "Top slide",
"description": "Controls the density tapering that happens at the top of the world to prevent terrain from reaching too high", "description": "Controls the density tapering that happens at the top of the world to prevent terrain from reaching too high",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"enabled": { "enabled": {
"title": "Enabled", "title": "Enabled",
"description": "If false, top slide will be disabled. If true, other parameters will be taken into account" "description": "If false, top slide will be disabled. If true, other parameters will be taken into account"
} }
} }
} }
} }
} }

View File

@@ -1,30 +1,30 @@
{ {
"$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.nether_generation_rules", "$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.nether_generation_rules",
"title": "Nether Generation Rules", "title": "Nether Generation Rules",
"description": "Controls how this biome is instantiated (and then potentially modified) during world generation of the nether.", "description": "Controls how this biome is instantiated (and then potentially modified) during world generation of the nether.",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"target_temperature": { "target_temperature": {
"title": "Target Temperature", "title": "Target Temperature",
"description": "Temperature with which this biome should selected, relative to other biomes.", "description": "Temperature with which this biome should selected, relative to other biomes.",
"type": "number" "type": "number"
}, },
"target_humidity": { "target_humidity": {
"title": "Target Humidity", "title": "Target Humidity",
"description": "Humidity with which this biome should selected, relative to other biomes.", "description": "Humidity with which this biome should selected, relative to other biomes.",
"type": "number" "type": "number"
}, },
"target_altitude": { "target_altitude": {
"title": "Target Altitude", "title": "Target Altitude",
"description": "Altitude with which this biome should selected, relative to other biomes.", "description": "Altitude with which this biome should selected, relative to other biomes.",
"type": "number" "type": "number"
}, },
"target_weirdness": { "target_weirdness": {
"title": "Target Weirdness", "title": "Target Weirdness",
"description": "Weirdness with which this biome should selected, relative to other biomes.", "description": "Weirdness with which this biome should selected, relative to other biomes.",
"type": "number" "type": "number"
}, },
"weight": { "title": "Weight", "description": "Weight with which this biome should selected, relative to other biomes.", "type": "number" } "weight": { "title": "Weight", "description": "Weight with which this biome should selected, relative to other biomes.", "type": "number" }
} }
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.nether_surface", "$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.nether_surface",
"title": "Nether Surface", "title": "Nether Surface",
"description": "Use default Minecraft Nether terrain generation.", "description": "Use default Minecraft Nether terrain generation.",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": {} "properties": {}
} }

View File

@@ -1,77 +1,77 @@
{ {
"$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.overworld_generation_rules", "$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.overworld_generation_rules",
"title": "Overworld Generation Rules", "title": "Overworld Generation Rules",
"description": "Control how this biome is instantiated (and then potentially modified) during world generation of the overworld.", "description": "Control how this biome is instantiated (and then potentially modified) during world generation of the overworld.",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"definitions": { "definitions": {
"transformation": { "transformation": {
"oneOf": [ "oneOf": [
{ {
"type": "string", "type": "string",
"title": "Block Reference", "title": "Block Reference",
"description": "UNDOCUMENTATED" "description": "UNDOCUMENTATED"
}, },
{ {
"type": "array", "type": "array",
"description": "UNDOCUMENTATED", "description": "UNDOCUMENTATED",
"minItems": 1, "minItems": 1,
"items": { "items": {
"oneOf": [ "oneOf": [
{ {
"type": "string", "type": "string",
"description": "UNDOCUMENTATED", "description": "UNDOCUMENTATED",
"title": "Block Reference" "title": "Block Reference"
}, },
{ {
"type": "array", "type": "array",
"description": "UNDOCUMENTATED", "description": "UNDOCUMENTATED",
"items": [ "items": [
{ {
"title": "Biome Reference", "title": "Biome Reference",
"description": "UNDOCUMENTATED", "description": "UNDOCUMENTATED",
"type": "string" "type": "string"
}, },
{ {
"title": "_", "title": "_",
"description": "UNDOCUMENTATED", "description": "UNDOCUMENTATED",
"type": "integer" "type": "integer"
} }
] ]
} }
] ]
} }
} }
] ]
} }
}, },
"properties": { "properties": {
"hills_transformation": { "title": "Hills Transformation", "description": "UNDOCUMENTATED", "$ref": "#/definitions/transformation" }, "hills_transformation": { "title": "Hills Transformation", "description": "UNDOCUMENTATED", "$ref": "#/definitions/transformation" },
"mutate_transformation": { "title": "Mutate Transformation", "description": "UNDOCUMENTATED", "$ref": "#/definitions/transformation" }, "mutate_transformation": { "title": "Mutate Transformation", "description": "UNDOCUMENTATED", "$ref": "#/definitions/transformation" },
"river_transformation": { "title": "River Transformation", "description": "UNDOCUMENTATED", "$ref": "#/definitions/transformation" }, "river_transformation": { "title": "River Transformation", "description": "UNDOCUMENTATED", "$ref": "#/definitions/transformation" },
"shore_transformation": { "title": "Shore Transformation", "description": "UNDOCUMENTATED", "$ref": "#/definitions/transformation" }, "shore_transformation": { "title": "Shore Transformation", "description": "UNDOCUMENTATED", "$ref": "#/definitions/transformation" },
"generate_for_climates": { "generate_for_climates": {
"title": "Generate For Climates", "title": "Generate For Climates",
"description": "Controls the world generation climate categories that this biome can spawn for. A single biome can be associated with multiple categories with different weightings.", "description": "Controls the world generation climate categories that this biome can spawn for. A single biome can be associated with multiple categories with different weightings.",
"type": "array", "type": "array",
"items": { "items": {
"title": "_", "title": "_",
"description": "UNDOCUMENTATED", "description": "UNDOCUMENTATED",
"type": "array", "type": "array",
"items": [ "items": [
{ {
"title": "UNDOCUMENTATED", "title": "UNDOCUMENTATED",
"description": "Name of a climate category", "description": "Name of a climate category",
"type": "string", "type": "string",
"enum": ["medium", "warm", "lukewarm", "cold", "frozen"] "enum": ["medium", "warm", "lukewarm", "cold", "frozen"]
}, },
{ {
"title": "UNDOCUMENTATED", "title": "UNDOCUMENTATED",
"description": "Weight with which this biome should be selected, relative to other biomes in the same category", "description": "Weight with which this biome should be selected, relative to other biomes in the same category",
"type": "integer" "type": "integer"
} }
] ]
} }
} }
} }
} }

View File

@@ -1,46 +1,46 @@
{ {
"$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.overworld_height", "$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.overworld_height",
"title": "Overworld Height", "title": "Overworld Height",
"description": "Noise parameters used to drive terrain height in the Overworld.", "description": "Noise parameters used to drive terrain height in the Overworld.",
"type": "object", "type": "object",
"minProperties": 0, "minProperties": 0,
"maxProperties": 2, "maxProperties": 2,
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"noise_params": { "noise_params": {
"title": "Noise Params", "title": "Noise Params",
"description": "UNDOCUMENATED", "description": "UNDOCUMENATED",
"type": "array", "type": "array",
"items": [ "items": [
{ {
"type": "number" "type": "number"
}, },
{ {
"type": "number" "type": "number"
} }
] ]
}, },
"noise_type": { "noise_type": {
"title": "Noise Type", "title": "Noise Type",
"description": "UNDOCUMENATED", "description": "UNDOCUMENATED",
"type": "string", "type": "string",
"enum": [ "enum": [
"stone_beach", "stone_beach",
"deep_ocean", "deep_ocean",
"default", "default",
"default_mutated", "default_mutated",
"lowlands", "lowlands",
"river", "river",
"ocean", "ocean",
"taiga", "taiga",
"mountains", "mountains",
"highlands", "highlands",
"mushroom", "mushroom",
"less_extreme", "less_extreme",
"extreme", "extreme",
"beach", "beach",
"swamp" "swamp"
] ]
} }
} }
} }

View File

@@ -1,86 +1,86 @@
{ {
"$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.surface_material_adjustments", "$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.surface_material_adjustments",
"title": "Surface Material Adjustments", "title": "Surface Material Adjustments",
"description": "Specify fine-detail changes to blocks used in terrain generation (based on a noise function)", "description": "Specify fine-detail changes to blocks used in terrain generation (based on a noise function)",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"adjustments": { "adjustments": {
"title": "Adjustments", "title": "Adjustments",
"description": "All adjustments that match the column's noise values will be applied in the order listed.", "description": "All adjustments that match the column's noise values will be applied in the order listed.",
"items": { "items": {
"title": "Adjustment", "title": "Adjustment",
"description": "UNDOCUMENTATED", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"height_range": { "height_range": {
"title": "Height Range", "title": "Height Range",
"description": "Defines a range of noise values [min, max] for which this adjustment should be applied.", "description": "Defines a range of noise values [min, max] for which this adjustment should be applied.",
"type": "array", "type": "array",
"items": [ "items": [
{ {
"$ref": "../../../../molang/number.json", "$ref": "../../../../molang/number.json",
"title": "Min" "title": "Min"
}, },
{ {
"$ref": "../../../../molang/number.json", "$ref": "../../../../molang/number.json",
"title": "Max" "title": "Max"
} }
] ]
}, },
"materials": { "materials": {
"title": "Materials", "title": "Materials",
"description": "UNDOCUMENTATED", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"top_material": { "top_material": {
"title": "Top Material", "title": "Top Material",
"description": "Controls the block type used for the surface of this biome when this adjustment is active.", "description": "Controls the block type used for the surface of this biome when this adjustment is active.",
"type": "string" "type": "string"
}, },
"mid_material": { "mid_material": {
"title": "Mid Material", "title": "Mid Material",
"description": "Controls the block type used in a layer below the surface of this biome when this adjustment is active.", "description": "Controls the block type used in a layer below the surface of this biome when this adjustment is active.",
"type": "string" "type": "string"
}, },
"sea_floor_material": { "sea_floor_material": {
"title": "Sea Floor Material", "title": "Sea Floor Material",
"description": "Controls the block type used as a floor for bodies of water in this biome when this adjustment is active.", "description": "Controls the block type used as a floor for bodies of water in this biome when this adjustment is active.",
"type": "string" "type": "string"
}, },
"foundation_material": { "foundation_material": {
"title": "Top Materials", "title": "Top Materials",
"description": "Controls the block type used deep underground in this biome when this adjustment is active.", "description": "Controls the block type used deep underground in this biome when this adjustment is active.",
"type": "string" "type": "string"
}, },
"sea_material": { "sea_material": {
"title": "Top Materials", "title": "Top Materials",
"description": "Controls the block type used in the bodies of water in this biome when this adjustment is active.", "description": "Controls the block type used in the bodies of water in this biome when this adjustment is active.",
"type": "string" "type": "string"
} }
} }
}, },
"noise_range": { "noise_range": {
"title": "Noise Range", "title": "Noise Range",
"description": "Defines a range of noise values [min, max] for which this adjustment should be applied.", "description": "Defines a range of noise values [min, max] for which this adjustment should be applied.",
"type": "array", "type": "array",
"items": [ "items": [
{ {
"minimum": -1, "minimum": -1,
"maximum": 1, "maximum": 1,
"title": "Min" "title": "Min"
}, },
{ {
"minimum": -1, "minimum": -1,
"maximum": 1, "maximum": 1,
"title": "Max" "title": "Max"
} }
] ]
} }
} }
} }
} }
} }
} }

View File

@@ -1,37 +1,37 @@
{ {
"$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.surface_parameters", "$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.surface_parameters",
"title": "Surface Parameters", "title": "Surface Parameters",
"description": "Control the blocks used for the default Minecraft Overworld terrain generation.", "description": "Control the blocks used for the default Minecraft Overworld terrain generation.",
"type": "object", "type": "object",
"minProperties": 0, "minProperties": 0,
"maxProperties": 6, "maxProperties": 6,
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"top_material": { "title": "Top Material", "description": "Controls the block type used for the surface of this biome.", "string": "string" }, "top_material": { "title": "Top Material", "description": "Controls the block type used for the surface of this biome.", "string": "string" },
"mid_material": { "mid_material": {
"title": "Mid Material", "title": "Mid Material",
"description": "Controls the block type used in a layer below the surface of this biome.", "description": "Controls the block type used in a layer below the surface of this biome.",
"string": "string" "string": "string"
}, },
"sea_floor_material": { "sea_floor_material": {
"title": "Sea Floor Material", "title": "Sea Floor Material",
"description": "Controls the block type used as a floor for bodies of water in this biome.", "description": "Controls the block type used as a floor for bodies of water in this biome.",
"string": "boostringlean" "string": "boostringlean"
}, },
"foundation_material": { "foundation_material": {
"title": "Foundation Material", "title": "Foundation Material",
"description": "Controls the block type used deep underground in this biome.", "description": "Controls the block type used deep underground in this biome.",
"string": "string" "string": "string"
}, },
"sea_material": { "sea_material": {
"title": "Sea Material", "title": "Sea Material",
"description": "Controls the block type used for the bodies of water in this biome.", "description": "Controls the block type used for the bodies of water in this biome.",
"string": "string" "string": "string"
}, },
"sea_floor_depth": { "sea_floor_depth": {
"title": "Sea Floor Depth", "title": "Sea Floor Depth",
"description": "Controls how deep below the world water level the floor should occur.", "description": "Controls how deep below the world water level the floor should occur.",
"type": "integer" "type": "integer"
} }
} }
} }

View File

@@ -1,37 +1,37 @@
{ {
"$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.swamp_surface", "$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.swamp_surface",
"title": "Swamp Surface", "title": "Swamp Surface",
"description": "Similar to overworld_surface. Adds swamp surface details.", "description": "Similar to overworld_surface. Adds swamp surface details.",
"type": "object", "type": "object",
"minProperties": 0, "minProperties": 0,
"maxProperties": 6, "maxProperties": 6,
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"top_material": { "title": "Top Material", "description": "Controls the block type used for the surface of this biome.", "string": "string" }, "top_material": { "title": "Top Material", "description": "Controls the block type used for the surface of this biome.", "string": "string" },
"mid_material": { "mid_material": {
"title": "Mid Material", "title": "Mid Material",
"description": "Controls the block type used in a layer below the surface of this biome.", "description": "Controls the block type used in a layer below the surface of this biome.",
"string": "string" "string": "string"
}, },
"sea_floor_material": { "sea_floor_material": {
"title": "Sea Floor Material", "title": "Sea Floor Material",
"description": "Controls the block type used as a floor for bodies of water in this biome.", "description": "Controls the block type used as a floor for bodies of water in this biome.",
"string": "boostringlean" "string": "boostringlean"
}, },
"foundation_material": { "foundation_material": {
"title": "Foundation Material", "title": "Foundation Material",
"description": "Controls the block type used deep underground in this biome.", "description": "Controls the block type used deep underground in this biome.",
"string": "string" "string": "string"
}, },
"sea_material": { "sea_material": {
"title": "Sea Material", "title": "Sea Material",
"description": "Controls the block type used for the bodies of water in this biome.", "description": "Controls the block type used for the bodies of water in this biome.",
"string": "string" "string": "string"
}, },
"sea_floor_depth": { "sea_floor_depth": {
"title": "Sea Floor Depth", "title": "Sea Floor Depth",
"description": "Controls how deep below the world water level the floor should occur.", "description": "Controls how deep below the world water level the floor should occur.",
"type": "integer" "type": "integer"
} }
} }
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.the_end_surface", "$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.the_end_surface",
"title": "End Surface", "title": "End Surface",
"description": "Use default Minecraft End terrain generation.", "description": "Use default Minecraft End terrain generation.",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": {} "properties": {}
} }

View File

@@ -1,14 +1,14 @@
{ {
"$id": "minecraft.behavior.biomes", "$id": "minecraft.behavior.biomes",
"type": "object", "type": "object",
"examples": [{ "plains": { "format_version": "1.12.0" } }], "examples": [{ "plains": { "format_version": "1.12.0" } }],
"additionalProperties": { "additionalProperties": {
"type": "object", "type": "object",
"title": "Biome", "title": "Biome",
"description": "A biome definition", "description": "A biome definition",
"allOf": [ "allOf": [
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.12.0" } } }, "then": { "$ref": "./1.12.0/biomes.json" } }, { "if": { "properties": { "format_version": { "type": "string", "const": "1.12.0" } } }, "then": { "$ref": "./1.12.0/biomes.json" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } } { "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
] ]
} }
} }

View File

@@ -1,53 +1,53 @@
{ {
"$id": "blockception.minecraft.behavior.1.10.0.blocks", "$id": "blockception.minecraft.behavior.1.10.0.blocks",
"description": "Minecraft blocks 1.10.0", "description": "Minecraft blocks 1.10.0",
"required": ["format_version", "minecraft:block"], "required": ["format_version", "minecraft:block"],
"title": "Block", "title": "Block",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"format_version": { "format_version": {
"title": "1.10.0 Format Version", "title": "1.10.0 Format Version",
"type": "string", "type": "string",
"const": "1.10.0", "const": "1.10.0",
"description": "A version that tells minecraft what type of data format can be expected when reading this file." "description": "A version that tells minecraft what type of data format can be expected when reading this file."
}, },
"minecraft:block": { "minecraft:block": {
"title": "Block Definitions", "title": "Block Definitions",
"description": "A custom block definition", "description": "A custom block definition",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"required": ["description", "components"], "required": ["description", "components"],
"properties": { "properties": {
"description": { "description": {
"title": "Block Description", "title": "Block Description",
"description": "The description for this block", "description": "The description for this block",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
"identifier": { "identifier": {
"type": "string", "type": "string",
"description": "The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.", "description": "The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.",
"title": "Identifier", "title": "Identifier",
"$ref": "../../../general/block/identifier.json" "$ref": "../../../general/block/identifier.json"
}, },
"is_experimental": { "is_experimental": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If this block is experimental, it will only be registered if the world is marked as experimantal.", "description": "If this block is experimental, it will only be registered if the world is marked as experimantal.",
"title": "Is Experimental" "title": "Is Experimental"
}, },
"register_to_creative_menu": { "register_to_creative_menu": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "Whether or not to register this block to the creative inventory menu.", "description": "Whether or not to register this block to the creative inventory menu.",
"title": "Register To Creative Menu" "title": "Register To Creative Menu"
} }
} }
}, },
"components": { "$ref": "./components.json" } "components": { "$ref": "./components.json" }
} }
} }
} }
} }

View File

@@ -1,34 +1,34 @@
{ {
"$id": "blockception.minecraft.behavior.1.10.0.blocks.components", "$id": "blockception.minecraft.behavior.1.10.0.blocks.components",
"title": "Components", "title": "Components",
"description": "The components of that define this block", "description": "The components of that define this block",
"required": [], "required": [],
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"minecraft:block_light_absorption": { "$ref": "./components/minecraft.block_light_absorption.json" }, "minecraft:block_light_absorption": { "$ref": "./components/minecraft.block_light_absorption.json" },
"minecraft:block_light_emission": { "$ref": "./components/minecraft.block_light_emission.json" }, "minecraft:block_light_emission": { "$ref": "./components/minecraft.block_light_emission.json" },
"minecraft:breakonpush": { "$ref": "./components/minecraft.breakonpush.json" }, "minecraft:breakonpush": { "$ref": "./components/minecraft.breakonpush.json" },
"minecraft:breathability": { "$ref": "./components/minecraft.breathability.json" }, "minecraft:breathability": { "$ref": "./components/minecraft.breathability.json" },
"minecraft:destroy_time": { "$ref": "./components/minecraft.destroy_time.json" }, "minecraft:destroy_time": { "$ref": "./components/minecraft.destroy_time.json" },
"minecraft:display_name": { "$ref": "./components/minecraft.display_name.json" }, "minecraft:display_name": { "$ref": "./components/minecraft.display_name.json" },
"minecraft:entity_collision": { "$ref": "./components/minecraft.entity_collision.json" }, "minecraft:entity_collision": { "$ref": "./components/minecraft.entity_collision.json" },
"minecraft:explosion_resistance": { "$ref": "./components/minecraft.explosion_resistance.json" }, "minecraft:explosion_resistance": { "$ref": "./components/minecraft.explosion_resistance.json" },
"minecraft:flammable": { "$ref": "./components/minecraft.flammable.json" }, "minecraft:flammable": { "$ref": "./components/minecraft.flammable.json" },
"minecraft:friction": { "$ref": "./components/minecraft.friction.json" }, "minecraft:friction": { "$ref": "./components/minecraft.friction.json" },
"minecraft:geometry": { "$ref": "./components/minecraft.geometry.json" }, "minecraft:geometry": { "$ref": "./components/minecraft.geometry.json" },
"minecraft:immovable": { "$ref": "./components/minecraft.immovable.json" }, "minecraft:immovable": { "$ref": "./components/minecraft.immovable.json" },
"minecraft:loot": { "$ref": "./components/minecraft.loot.json" }, "minecraft:loot": { "$ref": "./components/minecraft.loot.json" },
"minecraft:map_color": { "$ref": "./components/minecraft.map_color.json" }, "minecraft:map_color": { "$ref": "./components/minecraft.map_color.json" },
"minecraft:material_instances": { "$ref": "./components/minecraft.material_instances.json" }, "minecraft:material_instances": { "$ref": "./components/minecraft.material_instances.json" },
"minecraft:onlypistonpush": { "$ref": "./components/minecraft.onlypistonpush.json" }, "minecraft:onlypistonpush": { "$ref": "./components/minecraft.onlypistonpush.json" },
"minecraft:pick_collision": { "$ref": "./components/minecraft.pick_collision.json" }, "minecraft:pick_collision": { "$ref": "./components/minecraft.pick_collision.json" },
"minecraft:placement_filter": { "$ref": "./components/minecraft.placement_filter.json" }, "minecraft:placement_filter": { "$ref": "./components/minecraft.placement_filter.json" },
"minecraft:preventsjumping": { "$ref": "./components/minecraft.preventsjumping.json" }, "minecraft:preventsjumping": { "$ref": "./components/minecraft.preventsjumping.json" },
"minecraft:random_ticking": { "$ref": "./components/minecraft.random_ticking.json" }, "minecraft:random_ticking": { "$ref": "./components/minecraft.random_ticking.json" },
"minecraft:rotation": { "$ref": "./components/minecraft.rotation.json" }, "minecraft:rotation": { "$ref": "./components/minecraft.rotation.json" },
"minecraft:ticking": { "$ref": "./components/minecraft.ticking.json" }, "minecraft:ticking": { "$ref": "./components/minecraft.ticking.json" },
"minecraft:unit_cube": { "$ref": "./components/minecraft.unit_cube.json" }, "minecraft:unit_cube": { "$ref": "./components/minecraft.unit_cube.json" },
"minecraft:unwalkable": { "$ref": "./components/minecraft.unwalkable.json" } "minecraft:unwalkable": { "$ref": "./components/minecraft.unwalkable.json" }
} }
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.block_light_absorption", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.block_light_absorption",
"additionalProperties": false, "additionalProperties": false,
"type": "integer", "type": "integer",
"title": "Block Light Absorption 1.10.0", "title": "Block Light Absorption 1.10.0",
"description": "The amount of light this block will absorb.", "description": "The amount of light this block will absorb.",
"default": 0 "default": 0
} }

View File

@@ -1,10 +1,10 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.block_light_emission", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.block_light_emission",
"additionalProperties": false, "additionalProperties": false,
"type": "number", "type": "number",
"title": "Block Light Emission 1.10.0", "title": "Block Light Emission 1.10.0",
"description": "The amount of light this block will emit in a range [0.0, 1.0].", "description": "The amount of light this block will emit in a range [0.0, 1.0].",
"minimum": 0, "minimum": 0,
"maximum": 1, "maximum": 1,
"default": 0.0 "default": 0.0
} }

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.breakonpush", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.breakonpush",
"additionalProperties": false, "additionalProperties": false,
"type": "boolean", "type": "boolean",
"title": "Break On Push 1.10.0", "title": "Break On Push 1.10.0",
"description": "When pushed by a piston the block breaks." "description": "When pushed by a piston the block breaks."
} }

View File

@@ -1,9 +1,9 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.breathability", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.breathability",
"additionalProperties": false, "additionalProperties": false,
"type": "string", "type": "string",
"title": "Breathability 1.10.0", "title": "Breathability 1.10.0",
"description": "Property describing the breathability of this block and whether it is treated as a solid or as air.", "description": "Property describing the breathability of this block and whether it is treated as a solid or as air.",
"enum": ["solid", "air"], "enum": ["solid", "air"],
"default": "solid" "default": "solid"
} }

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.destroy_time", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.destroy_time",
"additionalProperties": false, "additionalProperties": false,
"type": "number", "type": "number",
"title": "Destroy Time 1.10.0", "title": "Destroy Time 1.10.0",
"description": "Sets the destroy time property for the block. Greater numbers result in greater mining times." "description": "Sets the destroy time property for the block. Greater numbers result in greater mining times."
} }

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.display_name", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.display_name",
"additionalProperties": false, "additionalProperties": false,
"type": "string", "type": "string",
"title": "Display Name 1.10.0", "title": "Display Name 1.10.0",
"description": "Specifies the display name id for the block." "description": "Specifies the display name id for the block."
} }

View File

@@ -1,37 +1,37 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.entity_collision", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.entity_collision",
"additionalProperties": false, "additionalProperties": false,
"title": "Entity Collision 1.10.0", "title": "Entity Collision 1.10.0",
"description": "Can only be set to false, it disables the collision of the block with entities.", "description": "Can only be set to false, it disables the collision of the block with entities.",
"oneOf": [ "oneOf": [
{ "type": "boolean", "const": false }, { "type": "boolean", "const": false },
{ {
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"origin": { "origin": {
"type": "array", "type": "array",
"title": "Origin", "title": "Origin",
"description": "Minimal position Bounds of the collision box", "description": "Minimal position Bounds of the collision box",
"default": [-8.0, 0.0, -8.0], "default": [-8.0, 0.0, -8.0],
"items": [ "items": [
{ "type": "number", "title": "X", "description": "The x offset" }, { "type": "number", "title": "X", "description": "The x offset" },
{ "type": "number", "title": "Y", "description": "The y offset" }, { "type": "number", "title": "Y", "description": "The y offset" },
{ "type": "number", "title": "Z", "description": "The z offset" } { "type": "number", "title": "Z", "description": "The z offset" }
] ]
}, },
"size": { "size": {
"type": "array", "type": "array",
"title": "Size", "title": "Size",
"description": "Size of each side of the box of the component", "description": "Size of each side of the box of the component",
"default": [16.0, 16.0, 16.0], "default": [16.0, 16.0, 16.0],
"items": [ "items": [
{ "type": "number", "title": "X", "description": "The x size" }, { "type": "number", "title": "X", "description": "The x size" },
{ "type": "number", "title": "Y", "description": "The y size" }, { "type": "number", "title": "Y", "description": "The y size" },
{ "type": "number", "title": "Z", "description": "The z size" } { "type": "number", "title": "Z", "description": "The z size" }
] ]
} }
} }
} }
] ]
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.explosion_resistance", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.explosion_resistance",
"additionalProperties": false, "additionalProperties": false,
"type": "number", "type": "number",
"title": "Explosion Resistance 1.10.0", "title": "Explosion Resistance 1.10.0",
"description": "Sets the explosion resistance for this block.", "description": "Sets the explosion resistance for this block.",
"default": 0.0 "default": 0.0
} }

View File

@@ -1,22 +1,22 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.flammable", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.flammable",
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Flammable 1.10.0", "title": "Flammable 1.10.0",
"description": "Describes the flammable properties for this block.", "description": "Describes the flammable properties for this block.",
"additionalItems": false, "additionalItems": false,
"properties": { "properties": {
"burn_odds": { "burn_odds": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "How likely the block will be destroyed by flames when on fire.", "description": "How likely the block will be destroyed by flames when on fire.",
"title": "Burn Odds" "title": "Burn Odds"
}, },
"flame_odds": { "flame_odds": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "How likely the block will catch flame when next to a fire.", "description": "How likely the block will catch flame when next to a fire.",
"title": "Flame Odds" "title": "Flame Odds"
} }
} }
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.friction", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.friction",
"additionalProperties": false, "additionalProperties": false,
"type": "number", "type": "number",
"title": "Friction 1.10.0", "title": "Friction 1.10.0",
"description": "Property describing the friction for this block. Friction effects an entities movements when it walks on the block.", "description": "Property describing the friction for this block. Friction effects an entities movements when it walks on the block.",
"default": 0.1 "default": 0.1
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.geometry", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.geometry",
"additionalProperties": false, "additionalProperties": false,
"type": "string", "type": "string",
"title": "Geometry 1.10.0", "title": "Geometry 1.10.0",
"description": "The geometry definition name to use.", "description": "The geometry definition name to use.",
"pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$" "pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$"
} }

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.immovable", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.immovable",
"additionalProperties": false, "additionalProperties": false,
"type": "boolean", "type": "boolean",
"title": "Immovable 1.10.0", "title": "Immovable 1.10.0",
"description": "An Immovable block cannot be pushed by pistons" "description": "An Immovable block cannot be pushed by pistons"
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.loot", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.loot",
"additionalProperties": false, "additionalProperties": false,
"type": "string", "type": "string",
"title": "Loot 1.10.0", "title": "Loot 1.10.0",
"description": "The path of the loot table that this component will use when the block is destroyed.", "description": "The path of the loot table that this component will use when the block is destroyed.",
"pattern": "loot_tables/.*\\.json$" "pattern": "loot_tables/.*\\.json$"
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.map_color", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.map_color",
"additionalProperties": false, "additionalProperties": false,
"type": "string", "type": "string",
"title": "Map Color 1.10.0", "title": "Map Color 1.10.0",
"description": "A color represented as a hex value. This will be the color rendered to a map.", "description": "A color represented as a hex value. This will be the color rendered to a map.",
"format": "color-hex" "format": "color-hex"
} }

View File

@@ -1,21 +1,21 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.material_instances", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.material_instances",
"type": "object", "type": "object",
"title": "Material Instances 1.10.0", "title": "Material Instances 1.10.0",
"description": "Maps face or material_instance names in a geometry file to an actual material instance. Material instance can either be a full material instance or a name to another already defined instance", "description": "Maps face or material_instance names in a geometry file to an actual material instance. Material instance can either be a full material instance or a name to another already defined instance",
"definitions": { "definitions": {
"material_instance": { "material_instance": {
"title": "Material Instance", "title": "Material Instance",
"description": "A single material instance", "description": "A single material instance",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"ambient_occlusion": { "title": "Ambient Occlusion", "type": "boolean", "description": "UNDOCUMENTATED" }, "ambient_occlusion": { "title": "Ambient Occlusion", "type": "boolean", "description": "UNDOCUMENTATED" },
"face_dimming": { "title": "Face Dimming", "type": "boolean", "description": "UNDOCUMENTATED" }, "face_dimming": { "title": "Face Dimming", "type": "boolean", "description": "UNDOCUMENTATED" },
"render_method": { "type": "string", "title": "Render Method", "description": "TODO description", "enum": ["blend", "opaque", "alpha_test"] }, "render_method": { "type": "string", "title": "Render Method", "description": "TODO description", "enum": ["blend", "opaque", "alpha_test"] },
"texture": { "type": "string", "title": "Texture", "description": "TODO description" } "texture": { "type": "string", "title": "Texture", "description": "TODO description" }
} }
} }
}, },
"properties": { "*": { "$ref": "#/definitions/material_instance" } }, "properties": { "*": { "$ref": "#/definitions/material_instance" } },
"additionalProperties": { "$ref": "#/definitions/material_instance" } "additionalProperties": { "$ref": "#/definitions/material_instance" }
} }

View File

@@ -1,6 +1,6 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.onlypistonpush", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.onlypistonpush",
"type": "boolean", "type": "boolean",
"title": "Only Piston Push 1.10.0", "title": "Only Piston Push 1.10.0",
"description": "Blocks with those components won't stick to stickyPistons" "description": "Blocks with those components won't stick to stickyPistons"
} }

View File

@@ -1,36 +1,36 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.pick_collision", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.pick_collision",
"title": "Pick Collision 1.10.0", "title": "Pick Collision 1.10.0",
"description": "Can only be set to false, it disables the collision of the block with entities", "description": "Can only be set to false, it disables the collision of the block with entities",
"oneOf": [ "oneOf": [
{ "type": "boolean", "const": false }, { "type": "boolean", "const": false },
{ {
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"origin": { "origin": {
"type": "array", "type": "array",
"title": "Origin", "title": "Origin",
"description": "Minimal position Bounds of the collision box", "description": "Minimal position Bounds of the collision box",
"default": [-8.0, 0.0, -8.0], "default": [-8.0, 0.0, -8.0],
"items": [ "items": [
{ "type": "number", "title": "X", "description": "The x offset" }, { "type": "number", "title": "X", "description": "The x offset" },
{ "type": "number", "title": "Y", "description": "The y offset" }, { "type": "number", "title": "Y", "description": "The y offset" },
{ "type": "number", "title": "Z", "description": "The z offset" } { "type": "number", "title": "Z", "description": "The z offset" }
] ]
}, },
"size": { "size": {
"type": "array", "type": "array",
"title": "Size", "title": "Size",
"description": "Size of each side of the box of the component", "description": "Size of each side of the box of the component",
"default": [16.0, 16.0, 16.0], "default": [16.0, 16.0, 16.0],
"items": [ "items": [
{ "type": "number", "title": "X", "description": "The x size" }, { "type": "number", "title": "X", "description": "The x size" },
{ "type": "number", "title": "Y", "description": "The y size" }, { "type": "number", "title": "Y", "description": "The y size" },
{ "type": "number", "title": "Z", "description": "The z size" } { "type": "number", "title": "Z", "description": "The z size" }
] ]
} }
} }
} }
] ]
} }

View File

@@ -1,32 +1,32 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.placement_filter", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.placement_filter",
"title": "Placement Filter 1.10.0", "title": "Placement Filter 1.10.0",
"description": "Sets rules for under what conditions the block can be placed/survive", "description": "Sets rules for under what conditions the block can be placed/survive",
"type": "object", "type": "object",
"properties": { "properties": {
"conditions": { "conditions": {
"title": "Conditions", "title": "Conditions",
"description": "List of conditions where the block can be placed/survive", "description": "List of conditions where the block can be placed/survive",
"type": "array", "type": "array",
"items": { "items": {
"type": "object", "type": "object",
"title": "Condition", "title": "Condition",
"description": "TODO", "description": "TODO",
"properties": { "properties": {
"allowed_faces": { "allowed_faces": {
"title": "Allowed Faces", "title": "Allowed Faces",
"description": "List of any of the following strings: up, down, north, south, east, west, side, all", "description": "List of any of the following strings: up, down, north, south, east, west, side, all",
"type": "array", "type": "array",
"items": { "type": "string", "enum": ["up", "down", "north", "south", "east", "west", "side", "all"] } "items": { "type": "string", "enum": ["up", "down", "north", "south", "east", "west", "side", "all"] }
}, },
"block_filter": { "block_filter": {
"title": "Block Filter", "title": "Block Filter",
"description": "List of blocks (can use tags to specify them) that this block can be placed against in the allowed_faces direction", "description": "List of blocks (can use tags to specify them) that this block can be placed against in the allowed_faces direction",
"type": "array", "type": "array",
"items": { "type": "string", "title": "Block Identifier", "description": "TODO" } "items": { "type": "string", "title": "Block Identifier", "description": "TODO" }
} }
} }
} }
} }
} }
} }

View File

@@ -1,6 +1,6 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.preventsjumping", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.preventsjumping",
"title": "Prevents Jumping 1.10.0", "title": "Prevents Jumping 1.10.0",
"description": "This component makes it so actors can't jump when walking on this block", "description": "This component makes it so actors can't jump when walking on this block",
"type": "boolean" "type": "boolean"
} }

View File

@@ -1,26 +1,26 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.random_ticking", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.random_ticking",
"title": "Random Ticking 1.10.0", "title": "Random Ticking 1.10.0",
"description": "Describes the component that will trigger an even at a regular interval between two values", "description": "Describes the component that will trigger an even at a regular interval between two values",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"on_tick": { "on_tick": {
"title": "On Tick", "title": "On Tick",
"description": "Describes the component that will trigger an even at a regular interval between two values", "description": "Describes the component that will trigger an even at a regular interval between two values",
"type": "string", "type": "string",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"condition": { "title": "Condition", "type": "string", "description": "The condition of event to be executed on the block. Molang" }, "condition": { "title": "Condition", "type": "string", "description": "The condition of event to be executed on the block. Molang" },
"event": { "title": "Event", "type": "string", "description": "The type of event executed on the block." }, "event": { "title": "Event", "type": "string", "description": "The type of event executed on the block." },
"range": { "title": "Range", "type": "array", "items": [{ "type": "integer" }, { "type": "integer" }] }, "range": { "title": "Range", "type": "array", "items": [{ "type": "integer" }, { "type": "integer" }] },
"target": { "target": {
"title": "Target", "title": "Target",
"description": "The target of event executed on the block.", "description": "The target of event executed on the block.",
"type": "string", "type": "string",
"enum": ["block", "damager", "other", "parent", "player", "self", "target"] "enum": ["block", "damager", "other", "parent", "player", "self", "target"]
} }
} }
} }
} }
} }

View File

@@ -1,12 +1,12 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.rotation", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.rotation",
"title": "Rotation 1.10.0", "title": "Rotation 1.10.0",
"description": "This is the block's rotation around the center of the cube in degrees. The rotation order is x-y-z.", "description": "This is the block's rotation around the center of the cube in degrees. The rotation order is x-y-z.",
"type": "array", "type": "array",
"additionalProperties": false, "additionalProperties": false,
"items": [ "items": [
{ "type": "number", "title": "X" }, { "type": "number", "title": "X" },
{ "type": "number", "title": "Y" }, { "type": "number", "title": "Y" },
{ "type": "number", "title": "Z" } { "type": "number", "title": "Z" }
] ]
} }

View File

@@ -1,29 +1,29 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.ticking", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.ticking",
"title": "Ticking 1.10.0", "title": "Ticking 1.10.0",
"description": "Describes the component that will trigger an even at a regular interval between two values", "description": "Describes the component that will trigger an even at a regular interval between two values",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"looping": { "type": "boolean", "title": "Looping", "description": "Does the event loop" }, "looping": { "type": "boolean", "title": "Looping", "description": "Does the event loop" },
"range": { "range": {
"title": "Range", "title": "Range",
"description": "The Range between which the component will trigger his event.", "description": "The Range between which the component will trigger his event.",
"type": "array", "type": "array",
"items": [{ "type": "integer" }, { "type": "integer" }] "items": [{ "type": "integer" }, { "type": "integer" }]
}, },
"on_tick": { "on_tick": {
"type": "object", "type": "object",
"title": "On Tick", "title": "On Tick",
"description": "Describes the component that will trigger an even at a regular interval between two values", "description": "Describes the component that will trigger an even at a regular interval between two values",
"condition": { "title": "Condition", "type": "string", "description": "The condition of event to be executed on the block. Molang" }, "condition": { "title": "Condition", "type": "string", "description": "The condition of event to be executed on the block. Molang" },
"event": { "title": "Event", "type": "string", "description": "The type of event executed on the block." }, "event": { "title": "Event", "type": "string", "description": "The type of event executed on the block." },
"target": { "target": {
"title": "Target", "title": "Target",
"description": "The target of event executed on the block.", "description": "The target of event executed on the block.",
"type": "string", "type": "string",
"enum": ["block", "damager", "other", "parent", "player", "self", "target"] "enum": ["block", "damager", "other", "parent", "player", "self", "target"]
} }
} }
} }
} }

View File

@@ -1,6 +1,6 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.unit_cube", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.unit_cube",
"title": "Unit Cube 1.10.0", "title": "Unit Cube 1.10.0",
"description": "Specifies that a unit cube is to be used with tessellation.", "description": "Specifies that a unit cube is to be used with tessellation.",
"type": "string" "type": "string"
} }

View File

@@ -1,6 +1,6 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.unwalkable", "$id": "blockception.minecraft.behavior.blocks.1.10.0.minecraft.unwalkable",
"title": "Unwalkable 1.10.0", "title": "Unwalkable 1.10.0",
"description": "this component sets a block as unwalkable. Most mobs will not try to jump over it if the value is set to true", "description": "this component sets a block as unwalkable. Most mobs will not try to jump over it if the value is set to true",
"type": "boolean" "type": "boolean"
} }

View File

@@ -1,53 +1,53 @@
{ {
"$id": "blockception.minecraft.behavior.1.12.0.blocks", "$id": "blockception.minecraft.behavior.1.12.0.blocks",
"description": "Minecraft blocks 1.12.0", "description": "Minecraft blocks 1.12.0",
"required": ["format_version", "minecraft:block"], "required": ["format_version", "minecraft:block"],
"title": "Block", "title": "Block",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"format_version": { "format_version": {
"title": "1.12.0 Format Version", "title": "1.12.0 Format Version",
"type": "string", "type": "string",
"const": "1.12.0", "const": "1.12.0",
"description": "A version that tells minecraft what type of data format can be expected when reading this file." "description": "A version that tells minecraft what type of data format can be expected when reading this file."
}, },
"minecraft:block": { "minecraft:block": {
"title": "Block Definitions", "title": "Block Definitions",
"description": "A custom block definition", "description": "A custom block definition",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"required": ["description", "components"], "required": ["description", "components"],
"properties": { "properties": {
"description": { "description": {
"title": "Block Description", "title": "Block Description",
"description": "The description for this block", "description": "The description for this block",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
"identifier": { "identifier": {
"type": "string", "type": "string",
"description": "The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.", "description": "The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.",
"title": "Identifier", "title": "Identifier",
"$ref": "../../../general/block/identifier.json" "$ref": "../../../general/block/identifier.json"
}, },
"is_experimental": { "is_experimental": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If this block is experimental, it will only be registered if the world is marked as experimantal.", "description": "If this block is experimental, it will only be registered if the world is marked as experimantal.",
"title": "Is Experimental" "title": "Is Experimental"
}, },
"register_to_creative_menu": { "register_to_creative_menu": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "Whether or not to register this block to the creative inventory menu.", "description": "Whether or not to register this block to the creative inventory menu.",
"title": "Register To Creative Menu" "title": "Register To Creative Menu"
} }
} }
}, },
"components": { "$ref": "../1.10.0/components.json" } "components": { "$ref": "../1.10.0/components.json" }
} }
} }
} }
} }

View File

@@ -1,73 +1,73 @@
{ {
"$id": "blockception.minecraft.behavior.1.16.0.blocks", "$id": "blockception.minecraft.behavior.1.16.0.blocks",
"description": "Minecraft blocks 1.16.0", "description": "Minecraft blocks 1.16.0",
"required": ["format_version", "minecraft:block"], "required": ["format_version", "minecraft:block"],
"title": "Block", "title": "Block",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"format_version": { "format_version": {
"title": "1.16.0 Format Version", "title": "1.16.0 Format Version",
"type": "string", "type": "string",
"const": "1.16.0", "const": "1.16.0",
"description": "A version that tells minecraft what type of data format can be expected when reading this file." "description": "A version that tells minecraft what type of data format can be expected when reading this file."
}, },
"minecraft:block": { "minecraft:block": {
"title": "Block Definitions", "title": "Block Definitions",
"description": "A custom block definition", "description": "A custom block definition",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"required": ["description", "components"], "required": ["description", "components"],
"properties": { "properties": {
"description": { "description": {
"title": "Block Description", "title": "Block Description",
"description": "The description for this block", "description": "The description for this block",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
"identifier": { "identifier": {
"type": "string", "type": "string",
"description": "The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.", "description": "The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.",
"title": "Identifier", "title": "Identifier",
"$ref": "../../../general/block/identifier.json" "$ref": "../../../general/block/identifier.json"
}, },
"is_experimental": { "is_experimental": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If this block is experimental, it will only be registered if the world is marked as experimantal.", "description": "If this block is experimental, it will only be registered if the world is marked as experimantal.",
"title": "Is Experimental" "title": "Is Experimental"
}, },
"register_to_creative_menu": { "register_to_creative_menu": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "Whether or not to register this block to the creative inventory menu.", "description": "Whether or not to register this block to the creative inventory menu.",
"title": "Register To Creative Menu" "title": "Register To Creative Menu"
}, },
"properties": { "properties": {
"title": "Properties", "title": "Properties",
"description": "UNDOCUMENATED", "description": "UNDOCUMENATED",
"propertyNames": { "pattern": "^([a-zA-Z0-9_]+:[a-zA-Z0-9_\\-]+)$" }, "propertyNames": { "pattern": "^([a-zA-Z0-9_]+:[a-zA-Z0-9_\\-]+)$" },
"additionalProperties": { "additionalProperties": {
"title": "Property", "title": "Property",
"description": "A block property", "description": "A block property",
"oneOf": [ "oneOf": [
{ {
"type": "array", "type": "array",
"items": { "items": {
"title": "Property Value", "title": "Property Value",
"description": "The value of this property", "description": "The value of this property",
"anyOf": [{ "type": "boolean" }, { "type": "number" }, { "type": "integer" }, { "type": "string" }] "anyOf": [{ "type": "boolean" }, { "type": "number" }, { "type": "integer" }, { "type": "string" }]
} }
}, },
{ "type": "object" } { "type": "object" }
] ]
} }
} }
} }
}, },
"components": { "$ref": "../1.10.0/components.json" } "components": { "$ref": "../1.10.0/components.json" }
} }
} }
} }
} }

View File

@@ -1,141 +1,141 @@
{ {
"$id": "blockception.minecraft.behavior.1.16.100.blocks", "$id": "blockception.minecraft.behavior.1.16.100.blocks",
"description": "Minecraft blocks 1.16.100", "description": "Minecraft blocks 1.16.100",
"required": ["format_version", "minecraft:block"], "required": ["format_version", "minecraft:block"],
"title": "Block", "title": "Block",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"format_version": { "format_version": {
"title": "1.16.100 Format Version", "title": "1.16.100 Format Version",
"type": "string", "type": "string",
"const": "1.16.100", "const": "1.16.100",
"description": "A version that tells minecraft what type of data format can be expected when reading this file." "description": "A version that tells minecraft what type of data format can be expected when reading this file."
}, },
"minecraft:block": { "minecraft:block": {
"title": "Block Definitions", "title": "Block Definitions",
"description": "A custom block definition", "description": "A custom block definition",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"required": ["description", "components"], "required": ["description", "components"],
"definitions": { "definitions": {
"components_ref": { "components_ref": {
"type": "object", "type": "object",
"title": "Component", "title": "Component",
"description": "UNDOCUMENTATED", "description": "UNDOCUMENTATED",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"minecraft:on_fall_on": { "$ref": "./components/minecraft.on_fall_on.json" }, "minecraft:on_fall_on": { "$ref": "./components/minecraft.on_fall_on.json" },
"minecraft:on_interact": { "$ref": "./components/minecraft.on_interact.json" }, "minecraft:on_interact": { "$ref": "./components/minecraft.on_interact.json" },
"minecraft:on_placed": { "$ref": "./components/minecraft.on_placed.json" }, "minecraft:on_placed": { "$ref": "./components/minecraft.on_placed.json" },
"minecraft:on_player_destroyed": { "$ref": "./components/minecraft.on_player_destroyed.json" }, "minecraft:on_player_destroyed": { "$ref": "./components/minecraft.on_player_destroyed.json" },
"minecraft:on_player_placing": { "$ref": "./components/minecraft.on_player_placing.json" }, "minecraft:on_player_placing": { "$ref": "./components/minecraft.on_player_placing.json" },
"minecraft:on_step_off": { "$ref": "./components/minecraft.on_step_off.json" }, "minecraft:on_step_off": { "$ref": "./components/minecraft.on_step_off.json" },
"minecraft:on_step_on": { "$ref": "./components/minecraft.on_step_on.json" }, "minecraft:on_step_on": { "$ref": "./components/minecraft.on_step_on.json" },
"minecraft:block_light_absorption": { "$ref": "./components/minecraft.block_light_absorption.json" }, "minecraft:block_light_absorption": { "$ref": "./components/minecraft.block_light_absorption.json" },
"minecraft:block_light_emission": { "$ref": "./components/minecraft.block_light_emission.json" }, "minecraft:block_light_emission": { "$ref": "./components/minecraft.block_light_emission.json" },
"minecraft:breakonpush": { "$ref": "./components/minecraft.breakonpush.json" }, "minecraft:breakonpush": { "$ref": "./components/minecraft.breakonpush.json" },
"minecraft:breathability": { "$ref": "./components/minecraft.breathability.json" }, "minecraft:breathability": { "$ref": "./components/minecraft.breathability.json" },
"minecraft:destroy_time": { "$ref": "./components/minecraft.destroy_time.json" }, "minecraft:destroy_time": { "$ref": "./components/minecraft.destroy_time.json" },
"minecraft:display_name": { "$ref": "./components/minecraft.display_name.json" }, "minecraft:display_name": { "$ref": "./components/minecraft.display_name.json" },
"minecraft:entity_collision": { "$ref": "./components/minecraft.entity_collision.json" }, "minecraft:entity_collision": { "$ref": "./components/minecraft.entity_collision.json" },
"minecraft:explosion_resistance": { "$ref": "./components/minecraft.explosion_resistance.json" }, "minecraft:explosion_resistance": { "$ref": "./components/minecraft.explosion_resistance.json" },
"minecraft:flammable": { "$ref": "./components/minecraft.flammable.json" }, "minecraft:flammable": { "$ref": "./components/minecraft.flammable.json" },
"minecraft:friction": { "$ref": "./components/minecraft.friction.json" }, "minecraft:friction": { "$ref": "./components/minecraft.friction.json" },
"minecraft:geometry": { "$ref": "./components/minecraft.geometry.json" }, "minecraft:geometry": { "$ref": "./components/minecraft.geometry.json" },
"minecraft:immovable": { "$ref": "./components/minecraft.immovable.json" }, "minecraft:immovable": { "$ref": "./components/minecraft.immovable.json" },
"minecraft:map_color": { "$ref": "./components/minecraft.map_color.json" }, "minecraft:map_color": { "$ref": "./components/minecraft.map_color.json" },
"minecraft:material_instances": { "$ref": "./components/minecraft.material_instances.json" }, "minecraft:material_instances": { "$ref": "./components/minecraft.material_instances.json" },
"minecraft:onlypistonpush": { "$ref": "./components/minecraft.onlypistonpush.json" }, "minecraft:onlypistonpush": { "$ref": "./components/minecraft.onlypistonpush.json" },
"minecraft:pick_collision": { "$ref": "./components/minecraft.pick_collision.json" }, "minecraft:pick_collision": { "$ref": "./components/minecraft.pick_collision.json" },
"minecraft:placement_filter": { "$ref": "./components/minecraft.placement_filter.json" }, "minecraft:placement_filter": { "$ref": "./components/minecraft.placement_filter.json" },
"minecraft:preventsjumping": { "$ref": "./components/minecraft.preventsjumping.json" }, "minecraft:preventsjumping": { "$ref": "./components/minecraft.preventsjumping.json" },
"minecraft:random_ticking": { "$ref": "./components/minecraft.random_ticking.json" }, "minecraft:random_ticking": { "$ref": "./components/minecraft.random_ticking.json" },
"minecraft:rotation": { "$ref": "./components/minecraft.rotation.json" }, "minecraft:rotation": { "$ref": "./components/minecraft.rotation.json" },
"minecraft:ticking": { "$ref": "./components/minecraft.ticking.json" }, "minecraft:ticking": { "$ref": "./components/minecraft.ticking.json" },
"minecraft:unit_cube": { "$ref": "./components/minecraft.unit_cube.json" }, "minecraft:unit_cube": { "$ref": "./components/minecraft.unit_cube.json" },
"minecraft:unwalkable": { "$ref": "./components/minecraft.unwalkable.json" } "minecraft:unwalkable": { "$ref": "./components/minecraft.unwalkable.json" }
} }
} }
}, },
"properties": { "properties": {
"description": { "description": {
"title": "Block Description", "title": "Block Description",
"description": "The description for this block", "description": "The description for this block",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"required": ["identifier"], "required": ["identifier"],
"properties": { "properties": {
"identifier": { "identifier": {
"type": "string", "type": "string",
"description": "The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.", "description": "The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.",
"title": "Identifier", "title": "Identifier",
"$ref": "../../../general/block/identifier.json" "$ref": "../../../general/block/identifier.json"
}, },
"is_experimental": { "is_experimental": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If this block is experimental, it will only be registered if the world is marked as experimantal.", "description": "If this block is experimental, it will only be registered if the world is marked as experimantal.",
"title": "Is Experimental" "title": "Is Experimental"
}, },
"register_to_creative_menu": { "register_to_creative_menu": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "Whether or not to register this block to the creative inventory menu.", "description": "Whether or not to register this block to the creative inventory menu.",
"title": "Register To Creative Menu" "title": "Register To Creative Menu"
}, },
"properties": { "properties": {
"title": "Properties", "title": "Properties",
"description": "UNDOCUMENATED", "description": "UNDOCUMENATED",
"propertyNames": { "pattern": "^([a-zA-Z0-9_]+:[a-zA-Z0-9_\\-]+)$" }, "propertyNames": { "pattern": "^([a-zA-Z0-9_]+:[a-zA-Z0-9_\\-]+)$" },
"additionalProperties": { "additionalProperties": {
"title": "Property", "title": "Property",
"description": "A block property", "description": "A block property",
"oneOf": [ "oneOf": [
{ {
"type": "array", "type": "array",
"items": { "items": {
"title": "Property Value", "title": "Property Value",
"description": "The value of this property", "description": "The value of this property",
"anyOf": [{ "type": "boolean" }, { "type": "number" }, { "type": "integer" }, { "type": "string" }] "anyOf": [{ "type": "boolean" }, { "type": "number" }, { "type": "integer" }, { "type": "string" }]
} }
}, },
{ "type": "object" } { "type": "object" }
] ]
} }
} }
} }
}, },
"events": { "$ref": "./events.json" }, "events": { "$ref": "./events.json" },
"components": { "components": {
"type": "object", "type": "object",
"title": "Component", "title": "Component",
"$ref": "#/definitions/components_ref" "$ref": "#/definitions/components_ref"
}, },
"permutations": { "permutations": {
"type": "array", "type": "array",
"title": "Permutations", "title": "Permutations",
"description": "UNDOCUMENATED", "description": "UNDOCUMENATED",
"items": { "items": {
"title": "Permutation", "title": "Permutation",
"description": "UNDOCUMENATED", "description": "UNDOCUMENATED",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"condition": { "condition": {
"title": "Condition", "title": "Condition",
"description": "UNDOCUMENATED", "description": "UNDOCUMENATED",
"$ref": "../../../molang/string.json" "$ref": "../../../molang/string.json"
}, },
"components": { "components": {
"type": "object", "type": "object",
"title": "Component", "title": "Component",
"$ref": "#/definitions/components_ref" "$ref": "#/definitions/components_ref"
} }
} }
} }
} }
} }
} }
} }
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.block_light_absorption", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.block_light_absorption",
"additionalProperties": false, "additionalProperties": false,
"type": "integer", "type": "integer",
"title": "Block Light Absorption 1.16.100", "title": "Block Light Absorption 1.16.100",
"description": "The amount of light this block will absorb.", "description": "The amount of light this block will absorb.",
"default": 0 "default": 0
} }

View File

@@ -1,10 +1,10 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.block_light_emission", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.block_light_emission",
"additionalProperties": false, "additionalProperties": false,
"type": "number", "type": "number",
"title": "Block Light Emission 1.16.100", "title": "Block Light Emission 1.16.100",
"description": "The amount of light this block will emit in a range [0.0, 1.0].", "description": "The amount of light this block will emit in a range [0.0, 1.0].",
"minimum": 0, "minimum": 0,
"maximum": 1, "maximum": 1,
"default": 0.0 "default": 0.0
} }

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.breakonpush", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.breakonpush",
"additionalProperties": false, "additionalProperties": false,
"type": "boolean", "type": "boolean",
"title": "Break On Push 1.16.100", "title": "Break On Push 1.16.100",
"description": "When pushed by a piston the block breaks." "description": "When pushed by a piston the block breaks."
} }

View File

@@ -1,9 +1,9 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.breathability", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.breathability",
"additionalProperties": false, "additionalProperties": false,
"type": "string", "type": "string",
"title": "Breathability 1.16.100", "title": "Breathability 1.16.100",
"description": "Property describing the breathability of this block and whether it is treated as a solid or as air.", "description": "Property describing the breathability of this block and whether it is treated as a solid or as air.",
"enum": ["solid", "air"], "enum": ["solid", "air"],
"default": "solid" "default": "solid"
} }

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.destroy_time", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.destroy_time",
"additionalProperties": false, "additionalProperties": false,
"type": "number", "type": "number",
"title": "Destroy Time 1.16.100", "title": "Destroy Time 1.16.100",
"description": "Sets the destroy time property for the block. Greater numbers result in greater mining times." "description": "Sets the destroy time property for the block. Greater numbers result in greater mining times."
} }

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.display_name", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.display_name",
"additionalProperties": false, "additionalProperties": false,
"type": "string", "type": "string",
"title": "Display Name 1.16.100", "title": "Display Name 1.16.100",
"description": "Specifies the display name id for the block." "description": "Specifies the display name id for the block."
} }

View File

@@ -1,36 +1,36 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.entity_collision", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.entity_collision",
"title": "Entity Collision 1.16.100", "title": "Entity Collision 1.16.100",
"description": "Can only be set to false, it disables the collision of the block with entities.", "description": "Can only be set to false, it disables the collision of the block with entities.",
"oneOf": [ "oneOf": [
{ "type": "boolean", "const": false }, { "type": "boolean", "const": false },
{ {
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"origin": { "origin": {
"type": "array", "type": "array",
"title": "Origin", "title": "Origin",
"description": "Minimal position Bounds of the collision box", "description": "Minimal position Bounds of the collision box",
"default": [-8.0, 0.0, -8.0], "default": [-8.0, 0.0, -8.0],
"items": [ "items": [
{ "type": "number", "title": "X", "description": "The x offset" }, { "type": "number", "title": "X", "description": "The x offset" },
{ "type": "number", "title": "Y", "description": "The y offset" }, { "type": "number", "title": "Y", "description": "The y offset" },
{ "type": "number", "title": "Z", "description": "The z offset" } { "type": "number", "title": "Z", "description": "The z offset" }
] ]
}, },
"size": { "size": {
"type": "array", "type": "array",
"title": "Size", "title": "Size",
"description": "Size of each side of the box of the component", "description": "Size of each side of the box of the component",
"default": [16.0, 16.0, 16.0], "default": [16.0, 16.0, 16.0],
"items": [ "items": [
{ "type": "number", "title": "X", "description": "The x size" }, { "type": "number", "title": "X", "description": "The x size" },
{ "type": "number", "title": "Y", "description": "The y size" }, { "type": "number", "title": "Y", "description": "The y size" },
{ "type": "number", "title": "Z", "description": "The z size" } { "type": "number", "title": "Z", "description": "The z size" }
] ]
} }
} }
} }
] ]
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.explosion_resistance", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.explosion_resistance",
"additionalProperties": false, "additionalProperties": false,
"type": "number", "type": "number",
"title": "Explosion Resistance 1.16.100", "title": "Explosion Resistance 1.16.100",
"description": "Sets the explosion resistance for this block.", "description": "Sets the explosion resistance for this block.",
"default": 0.0 "default": 0.0
} }

View File

@@ -1,22 +1,22 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.flammable", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.flammable",
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Flammable 1.16.100", "title": "Flammable 1.16.100",
"description": "Describes the flammable properties for this block.", "description": "Describes the flammable properties for this block.",
"additionalItems": false, "additionalItems": false,
"properties": { "properties": {
"burn_odds": { "burn_odds": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "How likely the block will be destroyed by flames when on fire.", "description": "How likely the block will be destroyed by flames when on fire.",
"title": "Burn Odds" "title": "Burn Odds"
}, },
"flame_odds": { "flame_odds": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "How likely the block will catch flame when next to a fire.", "description": "How likely the block will catch flame when next to a fire.",
"title": "Flame Odds" "title": "Flame Odds"
} }
} }
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.friction", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.friction",
"additionalProperties": false, "additionalProperties": false,
"type": "number", "type": "number",
"title": "Friction 1.16.100", "title": "Friction 1.16.100",
"description": "Property describing the friction for this block. Friction effects an entities movements when it walks on the block.", "description": "Property describing the friction for this block. Friction effects an entities movements when it walks on the block.",
"default": 0.1 "default": 0.1
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.geometry", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.geometry",
"additionalProperties": false, "additionalProperties": false,
"type": "string", "type": "string",
"title": "Geometry 1.16.100", "title": "Geometry 1.16.100",
"description": "The geometry definition name to use.", "description": "The geometry definition name to use.",
"pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$" "pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$"
} }

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.immovable", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.immovable",
"additionalProperties": false, "additionalProperties": false,
"type": "boolean", "type": "boolean",
"title": "Immovable 1.16.100", "title": "Immovable 1.16.100",
"description": "An Immovable block cannot be pushed by pistons" "description": "An Immovable block cannot be pushed by pistons"
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.loot", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.loot",
"additionalProperties": false, "additionalProperties": false,
"type": "string", "type": "string",
"title": "Loot 1.16.100", "title": "Loot 1.16.100",
"description": "The path of the loot table that this component will use when the block is destroyed.", "description": "The path of the loot table that this component will use when the block is destroyed.",
"pattern": "loot_tables/.*\\.json$" "pattern": "loot_tables/.*\\.json$"
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.map_color", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.map_color",
"additionalProperties": false, "additionalProperties": false,
"type": "string", "type": "string",
"title": "Map Color 1.16.100", "title": "Map Color 1.16.100",
"description": "A color represented as a hex value. This will be the color rendered to a map.", "description": "A color represented as a hex value. This will be the color rendered to a map.",
"format": "color-hex" "format": "color-hex"
} }

View File

@@ -1,21 +1,21 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.material_instances", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.material_instances",
"type": "object", "type": "object",
"title": "Material Instances 1.16.100", "title": "Material Instances 1.16.100",
"description": "Maps face or material_instance names in a geometry file to an actual material instance. Material instance can either be a full material instance or a name to another already defined instance", "description": "Maps face or material_instance names in a geometry file to an actual material instance. Material instance can either be a full material instance or a name to another already defined instance",
"definitions": { "definitions": {
"material_instance": { "material_instance": {
"title": "Material Instance", "title": "Material Instance",
"description": "A single material instance", "description": "A single material instance",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"ambient_occlusion": { "title": "Ambient Occlusion", "type": "boolean", "description": "UNDOCUMENTATED" }, "ambient_occlusion": { "title": "Ambient Occlusion", "type": "boolean", "description": "UNDOCUMENTATED" },
"face_dimming": { "title": "Face Dimming", "type": "boolean", "description": "UNDOCUMENTATED" }, "face_dimming": { "title": "Face Dimming", "type": "boolean", "description": "UNDOCUMENTATED" },
"render_method": { "type": "string", "title": "Render Method", "description": "TODO description", "enum": ["blend", "opaque", "alpha_test"] }, "render_method": { "type": "string", "title": "Render Method", "description": "TODO description", "enum": ["blend", "opaque", "alpha_test"] },
"texture": { "type": "string", "title": "Texture", "description": "TODO description" } "texture": { "type": "string", "title": "Texture", "description": "TODO description" }
} }
} }
}, },
"properties": { "*": { "$ref": "#/definitions/material_instance" } }, "properties": { "*": { "$ref": "#/definitions/material_instance" } },
"additionalProperties": { "$ref": "#/definitions/material_instance" } "additionalProperties": { "$ref": "#/definitions/material_instance" }
} }

View File

@@ -1,17 +1,17 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.on_fall_on", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.on_fall_on",
"type": "object", "type": "object",
"title": "On Fall On", "title": "On Fall On",
"description": "Describes event for this block.", "description": "Describes event for this block.",
"properties": { "properties": {
"condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" },
"event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" },
"min_fall_distance": { "min_fall_distance": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "The minimum distance in blocks that an actor needs to fall to trigger this event.", "description": "The minimum distance in blocks that an actor needs to fall to trigger this event.",
"title": "Min Fall Distance" "title": "Min Fall Distance"
}, },
"target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" }
} }
} }

View File

@@ -1,11 +1,11 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.on_interact", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.on_interact",
"type": "object", "type": "object",
"title": "On Fall On", "title": "On Fall On",
"description": "Describes event for this block.", "description": "Describes event for this block.",
"properties": { "properties": {
"condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" },
"event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" },
"target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" }
} }
} }

View File

@@ -1,11 +1,11 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.on_placed", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.on_placed",
"type": "object", "type": "object",
"title": "On Placed 1.16.100", "title": "On Placed 1.16.100",
"description": "Describes event for this block.", "description": "Describes event for this block.",
"properties": { "properties": {
"condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" },
"event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" },
"target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" }
} }
} }

View File

@@ -1,11 +1,11 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.on_player_destroyed", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.on_player_destroyed",
"type": "object", "type": "object",
"title": "On Player Destroyed 1.16.100", "title": "On Player Destroyed 1.16.100",
"description": "Describes event for this block.", "description": "Describes event for this block.",
"properties": { "properties": {
"condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" },
"event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" },
"target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" }
} }
} }

View File

@@ -1,11 +1,11 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.on_player_placing", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.on_player_placing",
"type": "object", "type": "object",
"title": "On Player Placing 1.16.100", "title": "On Player Placing 1.16.100",
"description": "Describes event for this block.", "description": "Describes event for this block.",
"properties": { "properties": {
"condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" },
"event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" },
"target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" }
} }
} }

View File

@@ -1,11 +1,11 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.on_step_off", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.on_step_off",
"type": "object", "type": "object",
"title": "On Step Off 1.16.100", "title": "On Step Off 1.16.100",
"description": "Describes event for this block.", "description": "Describes event for this block.",
"properties": { "properties": {
"condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" },
"event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" },
"target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" }
} }
} }

View File

@@ -1,11 +1,11 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.on_step_on", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.on_step_on",
"type": "object", "type": "object",
"title": "On Step On 1.16.100", "title": "On Step On 1.16.100",
"description": "Describes event for this block.", "description": "Describes event for this block.",
"properties": { "properties": {
"condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" },
"event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" },
"target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" }
} }
} }

View File

@@ -1,6 +1,6 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.onlypistonpush", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.onlypistonpush",
"type": "boolean", "type": "boolean",
"title": "Only Piston Push 1.16.100", "title": "Only Piston Push 1.16.100",
"description": "Blocks with those components won't stick to stickyPistons" "description": "Blocks with those components won't stick to stickyPistons"
} }

View File

@@ -1,36 +1,36 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.pick_collision", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.pick_collision",
"title": "Pick Collision 1.16.100", "title": "Pick Collision 1.16.100",
"description": "Can only be set to false, it disables the collision of the block with entities", "description": "Can only be set to false, it disables the collision of the block with entities",
"oneOf": [ "oneOf": [
{ "type": "boolean", "const": false }, { "type": "boolean", "const": false },
{ {
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"origin": { "origin": {
"type": "array", "type": "array",
"title": "Origin", "title": "Origin",
"description": "Minimal position Bounds of the collision box", "description": "Minimal position Bounds of the collision box",
"default": [-8.0, 0.0, -8.0], "default": [-8.0, 0.0, -8.0],
"items": [ "items": [
{ "type": "number", "title": "X", "description": "The x offset" }, { "type": "number", "title": "X", "description": "The x offset" },
{ "type": "number", "title": "Y", "description": "The y offset" }, { "type": "number", "title": "Y", "description": "The y offset" },
{ "type": "number", "title": "Z", "description": "The z offset" } { "type": "number", "title": "Z", "description": "The z offset" }
] ]
}, },
"size": { "size": {
"type": "array", "type": "array",
"title": "Size", "title": "Size",
"description": "Size of each side of the box of the component", "description": "Size of each side of the box of the component",
"default": [16.0, 16.0, 16.0], "default": [16.0, 16.0, 16.0],
"items": [ "items": [
{ "type": "number", "title": "X", "description": "The x size" }, { "type": "number", "title": "X", "description": "The x size" },
{ "type": "number", "title": "Y", "description": "The y size" }, { "type": "number", "title": "Y", "description": "The y size" },
{ "type": "number", "title": "Z", "description": "The z size" } { "type": "number", "title": "Z", "description": "The z size" }
] ]
} }
} }
} }
] ]
} }

View File

@@ -1,32 +1,32 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.placement_filter", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.placement_filter",
"title": "Placement Filter 1.16.100", "title": "Placement Filter 1.16.100",
"description": "Sets rules for under what conditions the block can be placed/survive", "description": "Sets rules for under what conditions the block can be placed/survive",
"type": "object", "type": "object",
"properties": { "properties": {
"conditions": { "conditions": {
"title": "Conditions", "title": "Conditions",
"description": "List of conditions where the block can be placed/survive", "description": "List of conditions where the block can be placed/survive",
"type": "array", "type": "array",
"items": { "items": {
"type": "object", "type": "object",
"title": "Condition", "title": "Condition",
"description": "TODO", "description": "TODO",
"properties": { "properties": {
"allowed_faces": { "allowed_faces": {
"title": "Allowed Faces", "title": "Allowed Faces",
"description": "List of any of the following strings: up, down, north, south, east, west, side, all", "description": "List of any of the following strings: up, down, north, south, east, west, side, all",
"type": "array", "type": "array",
"items": { "type": "string", "enum": ["up", "down", "north", "south", "east", "west", "side", "all"] } "items": { "type": "string", "enum": ["up", "down", "north", "south", "east", "west", "side", "all"] }
}, },
"block_filter": { "block_filter": {
"title": "Block Filter", "title": "Block Filter",
"description": "List of blocks (can use tags to specify them) that this block can be placed against in the allowed_faces direction", "description": "List of blocks (can use tags to specify them) that this block can be placed against in the allowed_faces direction",
"type": "array", "type": "array",
"items": { "type": "string", "title": "Block Identifier", "description": "TODO" } "items": { "type": "string", "title": "Block Identifier", "description": "TODO" }
} }
} }
} }
} }
} }
} }

View File

@@ -1,6 +1,6 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.preventsjumping", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.preventsjumping",
"title": "Prevents Jumping 1.16.100", "title": "Prevents Jumping 1.16.100",
"description": "This component makes it so actors can't jump when walking on this block", "description": "This component makes it so actors can't jump when walking on this block",
"type": "boolean" "type": "boolean"
} }

View File

@@ -1,38 +1,38 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.random_ticking", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.random_ticking",
"title": "Random Ticking 1.16.100", "title": "Random Ticking 1.16.100",
"description": "Describes the component that will trigger an even at a regular interval between two values", "description": "Describes the component that will trigger an even at a regular interval between two values",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"on_tick": { "on_tick": {
"title": "On Tick", "title": "On Tick",
"description": "Describes the component that will trigger an even at a regular interval between two values", "description": "Describes the component that will trigger an even at a regular interval between two values",
"type": "string", "type": "string",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"condition": { "condition": {
"title": "Condition", "title": "Condition",
"type": "string", "type": "string",
"default": "1", "default": "1",
"description": "The condition of event to be executed on the block. Molang" "description": "The condition of event to be executed on the block. Molang"
}, },
"event": { "title": "Event", "type": "string", "default": "set_block_property", "description": "The type of event executed on the block." }, "event": { "title": "Event", "type": "string", "default": "set_block_property", "description": "The type of event executed on the block." },
"range": { "title": "Range", "type": "array", "items": [{ "type": "integer" }, { "type": "integer" }] }, "range": { "title": "Range", "type": "array", "items": [{ "type": "integer" }, { "type": "integer" }] },
"target": { "target": {
"title": "Target", "title": "Target",
"description": "The target of event executed on the block.", "description": "The target of event executed on the block.",
"type": "string", "type": "string",
"enum": ["block", "damager", "other", "parent", "player", "self", "target"] "enum": ["block", "damager", "other", "parent", "player", "self", "target"]
} }
} }
}, },
"looping": { "type": "boolean", "default": true, "description": "Does the event loop", "title": "Looping" }, "looping": { "type": "boolean", "default": true, "description": "Does the event loop", "title": "Looping" },
"range": { "range": {
"type": "array", "type": "array",
"default": [10, 10], "default": [10, 10],
"description": "The Range between which the component will trigger his event.", "description": "The Range between which the component will trigger his event.",
"title": "Range" "title": "Range"
} }
} }
} }

View File

@@ -1,12 +1,12 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.rotation", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.rotation",
"title": "Rotation 1.16.100", "title": "Rotation 1.16.100",
"description": "This is the block's rotation around the center of the cube in degrees. The rotation order is x-y-z.", "description": "This is the block's rotation around the center of the cube in degrees. The rotation order is x-y-z.",
"type": "array", "type": "array",
"additionalProperties": false, "additionalProperties": false,
"items": [ "items": [
{ "type": "number", "title": "X" }, { "type": "number", "title": "X" },
{ "type": "number", "title": "Y" }, { "type": "number", "title": "Y" },
{ "type": "number", "title": "Z" } { "type": "number", "title": "Z" }
] ]
} }

View File

@@ -1,29 +1,29 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.ticking", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.ticking",
"title": "Ticking 1.16.100", "title": "Ticking 1.16.100",
"description": "Describes the component that will trigger an even at a regular interval between two values", "description": "Describes the component that will trigger an even at a regular interval between two values",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"looping": { "type": "boolean", "title": "Looping", "description": "Does the event loop" }, "looping": { "type": "boolean", "title": "Looping", "description": "Does the event loop" },
"range": { "range": {
"title": "Range", "title": "Range",
"description": "The Range between which the component will trigger his event.", "description": "The Range between which the component will trigger his event.",
"type": "array", "type": "array",
"items": [{ "type": "integer" }, { "type": "integer" }] "items": [{ "type": "integer" }, { "type": "integer" }]
}, },
"on_tick": { "on_tick": {
"type": "object", "type": "object",
"title": "On Tick", "title": "On Tick",
"description": "Describes the component that will trigger an even at a regular interval between two values", "description": "Describes the component that will trigger an even at a regular interval between two values",
"condition": { "title": "Condition", "type": "string", "description": "The condition of event to be executed on the block. Molang" }, "condition": { "title": "Condition", "type": "string", "description": "The condition of event to be executed on the block. Molang" },
"event": { "title": "Event", "type": "string", "description": "The type of event executed on the block." }, "event": { "title": "Event", "type": "string", "description": "The type of event executed on the block." },
"target": { "target": {
"title": "Target", "title": "Target",
"description": "The target of event executed on the block.", "description": "The target of event executed on the block.",
"type": "string", "type": "string",
"enum": ["block", "damager", "other", "parent", "player", "self", "target"] "enum": ["block", "damager", "other", "parent", "player", "self", "target"]
} }
} }
} }
} }

View File

@@ -1,6 +1,6 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.unit_cube", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.unit_cube",
"title": "Unit Cube 1.16.100", "title": "Unit Cube 1.16.100",
"description": "Specifies that a unit cube is to be used with tessellation.", "description": "Specifies that a unit cube is to be used with tessellation.",
"type": "string" "type": "string"
} }

View File

@@ -1,6 +1,6 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.unwalkable", "$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.unwalkable",
"title": "Unwalkable 1.16.100", "title": "Unwalkable 1.16.100",
"description": "this component sets a block as unwalkable. Most mobs will not try to jump over it if the value is set to true", "description": "this component sets a block as unwalkable. Most mobs will not try to jump over it if the value is set to true",
"type": "boolean" "type": "boolean"
} }

View File

@@ -1,86 +1,86 @@
{ {
"$id": "blockception.minecraft.behavior.1.16.100.block.events", "$id": "blockception.minecraft.behavior.1.16.100.block.events",
"title": "Events", "title": "Events",
"description": "UNDOCUMENTATED", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"properties": { "properties": {
"minecraft:on_interact": { "$ref": "#/definitions/event_base" }, "minecraft:on_interact": { "$ref": "#/definitions/event_base" },
"minecraft:on_step_on": { "$ref": "#/definitions/event_base" }, "minecraft:on_step_on": { "$ref": "#/definitions/event_base" },
"minecraft:on_step_off": { "$ref": "#/definitions/event_base" }, "minecraft:on_step_off": { "$ref": "#/definitions/event_base" },
"minecraft:on_fall_on": { "$ref": "#/definitions/event_base" }, "minecraft:on_fall_on": { "$ref": "#/definitions/event_base" },
"minecraft:on_placed": { "$ref": "#/definitions/event_base" }, "minecraft:on_placed": { "$ref": "#/definitions/event_base" },
"minecraft:on_player_placing": { "$ref": "#/definitions/event_base" }, "minecraft:on_player_placing": { "$ref": "#/definitions/event_base" },
"minecraft:on_player_destroyed": { "$ref": "#/definitions/event_base" }, "minecraft:on_player_destroyed": { "$ref": "#/definitions/event_base" },
"minecraft:ticking": { "$ref": "#/definitions/event_base" }, "minecraft:ticking": { "$ref": "#/definitions/event_base" },
"minecraft:random_ticking": { "$ref": "#/definitions/event_base" } "minecraft:random_ticking": { "$ref": "#/definitions/event_base" }
}, },
"additionalProperties": { "$ref": "#/definitions/event_base" }, "additionalProperties": { "$ref": "#/definitions/event_base" },
"definitions": { "definitions": {
"event_base": { "event_base": {
"title": "Event", "title": "Event",
"description": "UNDOCUMENTATED", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"$ref": "#/definitions/event_functions", "$ref": "#/definitions/event_functions",
"properties": { "properties": {
"sequence": { "sequence": {
"title": "Sequence", "title": "Sequence",
"description": "UNDOCUMENTATED", "description": "UNDOCUMENTATED",
"type": "array", "type": "array",
"items": { "title": "Sequence", "description": "UNDOCUMENTATED", "type": "object", "$ref": "#/definitions/event_functions" } "items": { "title": "Sequence", "description": "UNDOCUMENTATED", "type": "object", "$ref": "#/definitions/event_functions" }
}, },
"randomize": { "randomize": {
"title": "Randomize", "title": "Randomize",
"description": "UNDOCUMENTATED", "description": "UNDOCUMENTATED",
"type": "array", "type": "array",
"items": { "items": {
"title": "Randomize", "title": "Randomize",
"description": "UNDOCUMENTATED", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"$ref": "#/definitions/event_functions", "$ref": "#/definitions/event_functions",
"required": ["weight"], "required": ["weight"],
"properties": { "weight": { "title": "Weight", "description": "UNDOCUMENTATED", "type": "integer", "minimum": 0 } } "properties": { "weight": { "title": "Weight", "description": "UNDOCUMENTATED", "type": "integer", "minimum": 0 } }
} }
}, },
"add_mob_effect": { "$ref": "./events/add_mob_effect.json" }, "add_mob_effect": { "$ref": "./events/add_mob_effect.json" },
"damage": { "$ref": "./events/damage.json" }, "damage": { "$ref": "./events/damage.json" },
"decrement_stack": { "$ref": "./events/decrement_stack.json" }, "decrement_stack": { "$ref": "./events/decrement_stack.json" },
"die": { "$ref": "./events/die.json" }, "die": { "$ref": "./events/die.json" },
"play_effect": { "$ref": "./events/play_effect.json" }, "play_effect": { "$ref": "./events/play_effect.json" },
"play_sound": { "$ref": "./events/play_sound.json" }, "play_sound": { "$ref": "./events/play_sound.json" },
"remove_mob_effect": { "$ref": "./events/remove_mob_effect.json" }, "remove_mob_effect": { "$ref": "./events/remove_mob_effect.json" },
"run_command": { "$ref": "./events/run_command.json" }, "run_command": { "$ref": "./events/run_command.json" },
"set_block": { "$ref": "./events/set_block.json" }, "set_block": { "$ref": "./events/set_block.json" },
"set_block_at_pos": { "$ref": "./events/set_block_at_pos.json" }, "set_block_at_pos": { "$ref": "./events/set_block_at_pos.json" },
"set_block_property": { "$ref": "./events/set_block_property.json" }, "set_block_property": { "$ref": "./events/set_block_property.json" },
"spawn_loot": { "$ref": "./events/spawn_loot.json" }, "spawn_loot": { "$ref": "./events/spawn_loot.json" },
"swing": { "$ref": "./events/swing.json" }, "swing": { "$ref": "./events/swing.json" },
"teleport": { "$ref": "./events/teleport.json" }, "teleport": { "$ref": "./events/teleport.json" },
"transform_item": { "$ref": "./events/transform_item.json" } "transform_item": { "$ref": "./events/transform_item.json" }
} }
}, },
"event_functions": { "event_functions": {
"title": "Event", "title": "Event",
"description": "UNDOCUMENTATED", "description": "UNDOCUMENTATED",
"type": "object", "type": "object",
"additionalProperties": true, "additionalProperties": true,
"properties": { "properties": {
"add_mob_effect": { "$ref": "./events/add_mob_effect.json" }, "add_mob_effect": { "$ref": "./events/add_mob_effect.json" },
"damage": { "$ref": "./events/damage.json" }, "damage": { "$ref": "./events/damage.json" },
"decrement_stack": { "$ref": "./events/decrement_stack.json" }, "decrement_stack": { "$ref": "./events/decrement_stack.json" },
"die": { "$ref": "./events/die.json" }, "die": { "$ref": "./events/die.json" },
"play_effect": { "$ref": "./events/play_effect.json" }, "play_effect": { "$ref": "./events/play_effect.json" },
"play_sound": { "$ref": "./events/play_sound.json" }, "play_sound": { "$ref": "./events/play_sound.json" },
"remove_mob_effect": { "$ref": "./events/remove_mob_effect.json" }, "remove_mob_effect": { "$ref": "./events/remove_mob_effect.json" },
"run_command": { "$ref": "./events/run_command.json" }, "run_command": { "$ref": "./events/run_command.json" },
"set_block": { "$ref": "./events/set_block.json" }, "set_block": { "$ref": "./events/set_block.json" },
"set_block_at_pos": { "$ref": "./events/set_block_at_pos.json" }, "set_block_at_pos": { "$ref": "./events/set_block_at_pos.json" },
"set_block_property": { "$ref": "./events/set_block_property.json" }, "set_block_property": { "$ref": "./events/set_block_property.json" },
"spawn_loot": { "$ref": "./events/spawn_loot.json" }, "spawn_loot": { "$ref": "./events/spawn_loot.json" },
"swing": { "$ref": "./events/swing.json" }, "swing": { "$ref": "./events/swing.json" },
"teleport": { "$ref": "./events/teleport.json" }, "teleport": { "$ref": "./events/teleport.json" },
"transform_item": { "$ref": "./events/transform_item.json" } "transform_item": { "$ref": "./events/transform_item.json" }
} }
} }
} }
} }

View File

@@ -1,13 +1,13 @@
{ {
"$id": "blockception.minecraft.behavior.1.16.100.block.events.add_mob_effect", "$id": "blockception.minecraft.behavior.1.16.100.block.events.add_mob_effect",
"type": "object", "type": "object",
"description": "Apply mob effect to target.", "description": "Apply mob effect to target.",
"title": "Add Mob Effect", "title": "Add Mob Effect",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"amplifier": { "type": "integer", "default": 0, "description": "The amplifier for the mob effect.", "title": "Amplifier" }, "amplifier": { "type": "integer", "default": 0, "description": "The amplifier for the mob effect.", "title": "Amplifier" },
"duration": { "type": "number", "default": 0, "description": "The duration of the mob effect.", "title": "Duration" }, "duration": { "type": "number", "default": 0, "description": "The duration of the mob effect.", "title": "Duration" },
"effect": { "type": "string", "default": "", "description": "The mob effect to apply.", "title": "Effect" }, "effect": { "type": "string", "default": "", "description": "The mob effect to apply.", "title": "Effect" },
"target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" } "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" }
} }
} }

View File

@@ -1,12 +1,12 @@
{ {
"$id": "blockception.minecraft.behavior.1.16.100.block.events.damage", "$id": "blockception.minecraft.behavior.1.16.100.block.events.damage",
"type": "object", "type": "object",
"description": "Deals damage to the target.", "description": "Deals damage to the target.",
"title": "Damage", "title": "Damage",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"amount": { "type": "integer", "default": 0, "description": "The amount of damage to deal.", "title": "Amount" }, "amount": { "type": "integer", "default": 0, "description": "The amount of damage to deal.", "title": "Amount" },
"target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" }, "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" },
"type": { "type": "string", "default": "", "description": "The type of damage to deal.", "title": "Type" } "type": { "type": "string", "default": "", "description": "The type of damage to deal.", "title": "Type" }
} }
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.1.16.100.block.events.decrement_stack", "$id": "blockception.minecraft.behavior.1.16.100.block.events.decrement_stack",
"type": "object", "type": "object",
"description": "Decrement item stack.", "description": "Decrement item stack.",
"title": "Decrement Stack", "title": "Decrement Stack",
"additionalProperties": false, "additionalProperties": false,
"properties": {} "properties": {}
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.1.16.100.block.events.die", "$id": "blockception.minecraft.behavior.1.16.100.block.events.die",
"type": "object", "type": "object",
"description": "Kill target. If target is self and this is run from a block then destroy the block.", "description": "Kill target. If target is self and this is run from a block then destroy the block.",
"title": "Die", "title": "Die",
"additionalProperties": false, "additionalProperties": false,
"properties": { "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" } } "properties": { "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" } }
} }

View File

@@ -1,12 +1,12 @@
{ {
"$id": "blockception.minecraft.behavior.1.16.100.block.events.play_effect", "$id": "blockception.minecraft.behavior.1.16.100.block.events.play_effect",
"type": "object", "type": "object",
"description": "Spawns a particle effect relative to target position.", "description": "Spawns a particle effect relative to target position.",
"title": "Play Effect", "title": "Play Effect",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"data": { "type": "integer", "default": 0, "description": "Particle data value.", "title": "Data" }, "data": { "type": "integer", "default": 0, "description": "Particle data value.", "title": "Data" },
"effect": { "type": "string", "default": "", "description": "The name of the particle effect to create.", "title": "Effect" }, "effect": { "type": "string", "default": "", "description": "The name of the particle effect to create.", "title": "Effect" },
"target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" } "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" }
} }
} }

View File

@@ -1,11 +1,11 @@
{ {
"$id": "blockception.minecraft.behavior.1.16.100.block.events.playsound", "$id": "blockception.minecraft.behavior.1.16.100.block.events.playsound",
"type": "object", "type": "object",
"description": "Play a sound relative to target position.", "description": "Play a sound relative to target position.",
"title": "Playsound", "title": "Playsound",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"sound": { "type": "string", "default": "", "description": "The name of the sound to play.", "title": "Sound" }, "sound": { "type": "string", "default": "", "description": "The name of the sound to play.", "title": "Sound" },
"target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" } "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" }
} }
} }

View File

@@ -1,16 +1,16 @@
{ {
"$id": "blockception.minecraft.behavior.1.16.100.block.events.remove_mob_effect", "$id": "blockception.minecraft.behavior.1.16.100.block.events.remove_mob_effect",
"type": "object", "type": "object",
"description": "Removes mob effect from target.", "description": "Removes mob effect from target.",
"title": "Remove Mob Effect", "title": "Remove Mob Effect",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"effect": { "effect": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The mob effect to remove. Use 'all' to remove all mob effects from target.", "description": "The mob effect to remove. Use 'all' to remove all mob effects from target.",
"title": "Effect" "title": "Effect"
}, },
"target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" } "target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" }
} }
} }

View File

@@ -1,16 +1,16 @@
{ {
"$id": "blockception.minecraft.behavior.1.16.100.block.events.run_command", "$id": "blockception.minecraft.behavior.1.16.100.block.events.run_command",
"type": "object", "type": "object",
"description": "Triggers a slash command or a list of slash commands.", "description": "Triggers a slash command or a list of slash commands.",
"title": "Run Command", "title": "Run Command",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"command": { "command": {
"default": "", "default": "",
"description": "Slash command to run.", "description": "Slash command to run.",
"title": "Command", "title": "Command",
"oneof": [{ "type": "string" }, { "type": "array", "items": { "type": "string", "title": "Command", "description": "Slash command to run." } }] "oneof": [{ "type": "string" }, { "type": "array", "items": { "type": "string", "title": "Command", "description": "Slash command to run." } }]
}, },
"target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" } "target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" }
} }
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.1.16.100.block.events.set_block", "$id": "blockception.minecraft.behavior.1.16.100.block.events.set_block",
"type": "object", "type": "object",
"description": "Sets this block to another block type.", "description": "Sets this block to another block type.",
"title": "Set Block", "title": "Set Block",
"additionalProperties": false, "additionalProperties": false,
"properties": { "block_type": { "type": "string", "default": "", "description": "The type of block to set.", "title": "Block Type" } } "properties": { "block_type": { "type": "string", "default": "", "description": "The type of block to set.", "title": "Block Type" } }
} }

View File

@@ -1,21 +1,21 @@
{ {
"$id": "blockception.minecraft.behavior.1.16.100.block.events.set_block_at_pos", "$id": "blockception.minecraft.behavior.1.16.100.block.events.set_block_at_pos",
"type": "object", "type": "object",
"description": "Sets a block relative to this block to another block type.", "description": "Sets a block relative to this block to another block type.",
"title": "Set Block At Pos", "title": "Set Block At Pos",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"block_offset": { "block_offset": {
"type": "array", "type": "array",
"default": [0.0, 0.0, 0.0], "default": [0.0, 0.0, 0.0],
"description": "The offset from the block's center.", "description": "The offset from the block's center.",
"title": "Block Offset", "title": "Block Offset",
"items": [ "items": [
{ "type": "number", "title": "X", "description": "The x offset from the block's center." }, { "type": "number", "title": "X", "description": "The x offset from the block's center." },
{ "type": "number", "title": "Y", "description": "The y offset from the block's center." }, { "type": "number", "title": "Y", "description": "The y offset from the block's center." },
{ "type": "number", "title": "Z", "description": "The z offset from the block's center." } { "type": "number", "title": "Z", "description": "The z offset from the block's center." }
] ]
}, },
"block_type": { "type": "string", "default": "", "description": "The type of block to set.", "title": "Block Type" } "block_type": { "type": "string", "default": "", "description": "The type of block to set.", "title": "Block Type" }
} }
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.1.16.100.block.events.set_block_property", "$id": "blockception.minecraft.behavior.1.16.100.block.events.set_block_property",
"type": "object", "type": "object",
"description": "Sets a block property on this block", "description": "Sets a block property on this block",
"title": "Set Block Property", "title": "Set Block Property",
"additionalProperties": false, "additionalProperties": false,
"properties": { "property": { "type": "string", "description": "Block property to set on the block.", "title": "Property" } } "properties": { "property": { "type": "string", "description": "Block property to set on the block.", "title": "Property" } }
} }

View File

@@ -1,11 +1,11 @@
{ {
"$id": "blockception.minecraft.behavior.1.16.100.block.events.spawn_loot", "$id": "blockception.minecraft.behavior.1.16.100.block.events.spawn_loot",
"type": "object", "type": "object",
"description": "Spawn loot from block.", "description": "Spawn loot from block.",
"title": "Spawn Loot", "title": "Spawn Loot",
"required": ["table"], "required": ["table"],
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"table": { "type": "string", "description": "File path, relative to the Behavior Pack's path, to the loot table file.", "title": "Table" } "table": { "type": "string", "description": "File path, relative to the Behavior Pack's path, to the loot table file.", "title": "Table" }
} }
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.1.16.100.block.events.swing", "$id": "blockception.minecraft.behavior.1.16.100.block.events.swing",
"type": "object", "type": "object",
"description": "Event causes the actor to swing.", "description": "Event causes the actor to swing.",
"title": "Swing", "title": "Swing",
"additionalProperties": false, "additionalProperties": false,
"properties": {} "properties": {}
} }

View File

@@ -1,42 +1,42 @@
{ {
"$id": "blockception.minecraft.behavior.1.16.100.block.events.teleport", "$id": "blockception.minecraft.behavior.1.16.100.block.events.teleport",
"type": "object", "type": "object",
"description": "Teleport target randomly around destination point.", "description": "Teleport target randomly around destination point.",
"title": "Teleport", "title": "Teleport",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"avoid_water": { "avoid_water": {
"type": "boolean", "type": "boolean",
"default": true, "default": true,
"description": "Determines if the teleport avoids putting the target in water.", "description": "Determines if the teleport avoids putting the target in water.",
"title": "Avoid Water" "title": "Avoid Water"
}, },
"destination": { "destination": {
"default": [0.0, 0.0, 0.0], "default": [0.0, 0.0, 0.0],
"description": "Origin destination of the teleport.", "description": "Origin destination of the teleport.",
"title": "Destination", "title": "Destination",
"items": [ "items": [
{ "type": "number", "title": "X", "description": "The x offset from the block's center." }, { "type": "number", "title": "X", "description": "The x offset from the block's center." },
{ "type": "number", "title": "Y", "description": "The y offset from the block's center." }, { "type": "number", "title": "Y", "description": "The y offset from the block's center." },
{ "type": "number", "title": "Z", "description": "The z offset from the block's center." } { "type": "number", "title": "Z", "description": "The z offset from the block's center." }
] ]
}, },
"land_on_block": { "land_on_block": {
"type": "boolean", "type": "boolean",
"default": true, "default": true,
"description": "Determines if the teleport places the target on a block.", "description": "Determines if the teleport places the target on a block.",
"title": "Land On Block" "title": "Land On Block"
}, },
"max_range": { "max_range": {
"default": [8.0, 8.0, 8.0], "default": [8.0, 8.0, 8.0],
"description": "Max range the target can teleport relative to the origin destination.", "description": "Max range the target can teleport relative to the origin destination.",
"title": "Max Range", "title": "Max Range",
"items": [ "items": [
{ "type": "number", "title": "X", "description": "The x offset from the block's center." }, { "type": "number", "title": "X", "description": "The x offset from the block's center." },
{ "type": "number", "title": "Y", "description": "The y offset from the block's center." }, { "type": "number", "title": "Y", "description": "The y offset from the block's center." },
{ "type": "number", "title": "Z", "description": "The z offset from the block's center." } { "type": "number", "title": "Z", "description": "The z offset from the block's center." }
] ]
}, },
"target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" } "target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" }
} }
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.1.16.100.block.events.transform_item", "$id": "blockception.minecraft.behavior.1.16.100.block.events.transform_item",
"type": "object", "type": "object",
"description": "Transforms item into another item.", "description": "Transforms item into another item.",
"title": "Transform Item 1.16.100", "title": "Transform Item 1.16.100",
"additionalProperties": false, "additionalProperties": false,
"properties": { "transform": { "type": "string", "description": "Name of the item it should transform into", "title": "Transform" } } "properties": { "transform": { "type": "string", "description": "Name of the item it should transform into", "title": "Transform" } }
} }

Some files were not shown because too many files have changed in this diff Show More