Adding dots to description

This commit is contained in:
DaanV2
2022-07-22 19:41:04 +02:00
parent 61327eac6e
commit 8b3778de6d
457 changed files with 2337 additions and 2406 deletions

View File

@@ -17,13 +17,13 @@
"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": {
@@ -46,23 +46,23 @@
"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" },
@@ -73,7 +73,7 @@
}, },
"type": "object", "type": "object",
"title": "Animation Controller", "title": "Animation Controller",
"description": "Animation controller for behaviors", "description": "Animation controller for behaviors.",
"required": ["format_version", "animation_controllers"], "required": ["format_version", "animation_controllers"],
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
@@ -81,7 +81,7 @@
"animation_controllers": { "animation_controllers": {
"type": "object", "type": "object",
"title": "Animation Controllers", "title": "Animation Controllers",
"description": "The animation controllers schema for", "description": "The animation controllers schema for.",
"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"]
@@ -90,20 +90,20 @@
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Animation Controller", "title": "Animation Controller",
"description": "A single animation controller", "description": "A single animation controller.",
"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,
"type": "object", "type": "object",
"additionalProperties": { "additionalProperties": {
"additionalProperties": false, "additionalProperties": false,
"title": "Animation State", "title": "Animation State",
"description": "Animation state", "description": "Animation state.",
"type": "object", "type": "object",
"examples": [ "examples": [
{ {
@@ -114,17 +114,17 @@
"properties": { "properties": {
"animations": { "animations": {
"title": "Animations", "title": "Animations",
"description": "The animations definition for", "description": "The animations definition for.",
"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"
@@ -132,7 +132,7 @@
}, },
"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"
@@ -140,12 +140,12 @@
}, },
"transitions": { "transitions": {
"title": "Transition", "title": "Transition",
"description": "The transition definition for", "description": "The transition definition for.",
"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",
"maxProperties": 1, "maxProperties": 1,
"minProperties": 1, "minProperties": 1,
@@ -160,7 +160,7 @@
}, },
"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

@@ -5,11 +5,11 @@
"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" }
@@ -27,55 +27,55 @@
"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", "description": "Sets the value to a molang variable" }, { "pattern": "^.*=.*;$", "title": "Variable", "description": "Sets the value to a molang variable." },
{ "pattern": "^/[a-z].*$", "title": "Minecraft Command", "description": "Executes a minecraft command" }, { "pattern": "^/[a-z].*$", "title": "Minecraft Command", "description": "Executes a 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", "description": "An event to be called upon within the executing entity" } { "pattern": "^@s .*$", "title": "Event", "description": "An event to be called upon within the executing entity." }
] ]
} }
}, },
"type": "object", "type": "object",
"title": "Animation", "title": "Animation",
"description": "Animation for behavior for", "description": "Animation for behavior for.",
"required": ["format_version", "animations"], "required": ["format_version", "animations"],
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"format_version": { "$ref": "../../general/format_version.json" }, "format_version": { "$ref": "../../general/format_version.json" },
"animations": { "animations": {
"title": "Animations Schema", "title": "Animations Schema",
"description": "The animation specification", "description": "The animation 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", "description": "A single animation definition for.",
"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": {

View File

@@ -6,7 +6,7 @@
"additionalProperties": { "additionalProperties": {
"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",

View File

@@ -7,15 +7,15 @@
"maxProperties": 7, "maxProperties": 7,
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"temperature": { "title": "Temperature", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }, "temperature": { "title": "Temperature", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED", "type": "number" },
"downfall": { "title": "Downfall", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }, "downfall": { "title": "Downfall", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED", "type": "number" },
"red_spores": { "title": "Red Spores", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }, "red_spores": { "title": "Red Spores", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED", "type": "number" },
"blue_spores": { "title": "Blue Spores", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }, "blue_spores": { "title": "Blue Spores", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED", "type": "number" },
"ash": { "title": "Ash", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }, "ash": { "title": "Ash", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED", "type": "number" },
"white_ash": { "title": "White Ash", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }, "white_ash": { "title": "White Ash", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED", "type": "number" },
"snow_accumulation": { "snow_accumulation": {
"title": "Snow Accumulation", "title": "Snow Accumulation",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": [ "items": [

View File

@@ -26,37 +26,37 @@
"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", "triangle", "fixed_grid", "jittered_grid"] "enum": ["uniform", "gaussian", "inverse_gaussian", "triangle", "fixed_grid", "jittered_grid"]
}, },
"extent": { "extent": {
"title": "Extent", "title": "Extent",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"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
} }
@@ -66,7 +66,7 @@
}, },
"iteration": { "iteration": {
"title": "Iteration", "title": "Iteration",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
@@ -80,18 +80,18 @@
}, },
"identifier": { "identifier": {
"title": "Identifier", "title": "Identifier",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"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": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "string" "type": "string"
}, },
@@ -105,14 +105,14 @@
"properties": { "properties": {
"denominator": { "denominator": {
"title": "Denominator", "title": "Denominator",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "integer", "type": "integer",
"minimum": 1 "minimum": 1
}, },
"numerator": { "numerator": {
"title": "Numerator", "title": "Numerator",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "integer", "type": "integer",
"minimum": 1 "minimum": 1
@@ -148,7 +148,7 @@
"properties": { "properties": {
"after_sky_pass": { "after_sky_pass": {
"title": "First Pass", "title": "First Pass",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": { "items": {
@@ -157,7 +157,7 @@
}, },
"after_surface_pass": { "after_surface_pass": {
"title": "First Pass", "title": "First Pass",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": { "items": {
@@ -166,7 +166,7 @@
}, },
"after_underground_pass": { "after_underground_pass": {
"title": "First Pass", "title": "First Pass",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": { "items": {
@@ -175,7 +175,7 @@
}, },
"before_sky_pass": { "before_sky_pass": {
"title": "First Pass", "title": "First Pass",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": { "items": {
@@ -184,7 +184,7 @@
}, },
"before_surface_pass": { "before_surface_pass": {
"title": "First Pass", "title": "First Pass",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": { "items": {
@@ -193,7 +193,7 @@
}, },
"before_underground_pass": { "before_underground_pass": {
"title": "First Pass", "title": "First Pass",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": { "items": {
@@ -202,7 +202,7 @@
}, },
"final_pass": { "final_pass": {
"title": "First Pass", "title": "First Pass",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": { "items": {
@@ -211,7 +211,7 @@
}, },
"first_pass": { "first_pass": {
"title": "First Pass", "title": "First Pass",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": { "items": {
@@ -220,7 +220,7 @@
}, },
"surface_pass": { "surface_pass": {
"title": "First Pass", "title": "First Pass",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": { "items": {
@@ -229,7 +229,7 @@
}, },
"sky_pass": { "sky_pass": {
"title": "First Pass", "title": "First Pass",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": { "items": {
@@ -238,7 +238,7 @@
}, },
"underground_pass": { "underground_pass": {
"title": "First Pass", "title": "First Pass",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": { "items": {

View File

@@ -33,9 +33,9 @@
"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": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "string" }, "clay_material": { "title": "Clay Material", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED", "type": "string" },
"hard_clay_material": { "title": "Hard Clay Material", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "string" }, "hard_clay_material": { "title": "Hard Clay Material", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED", "type": "string" },
"bryce_pillars": { "title": "Bryce Pillars", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" }, "bryce_pillars": { "title": "Bryce Pillars", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED", "type": "boolean" },
"has_forest": { "title": "Has Forest", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" } "has_forest": { "title": "Has Forest", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED", "type": "boolean" }
} }
} }

View File

@@ -1,7 +1,7 @@
{ {
"$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,
@@ -10,13 +10,13 @@
"peaks_factor": { "peaks_factor": {
"type": "number", "type": "number",
"title": "Peaks factor", "title": "Peaks factor",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"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": {
@@ -27,28 +27,28 @@
"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": {

View File

@@ -10,12 +10,12 @@
{ {
"type": "string", "type": "string",
"title": "Block Reference", "title": "Block Reference",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
{ {
"type": "array", "type": "array",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"title": "Block Reference", "title": "Block Reference",
"minItems": 1, "minItems": 1,
@@ -23,24 +23,24 @@
"oneOf": [ "oneOf": [
{ {
"type": "string", "type": "string",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"title": "Block Reference" "title": "Block Reference"
}, },
{ {
"type": "array", "type": "array",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"items": [ "items": [
{ {
"title": "Biome Reference", "title": "Biome Reference",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "string" "type": "string"
}, },
{ {
"title": "_", "title": "_",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "integer" "type": "integer"
} }
@@ -55,25 +55,25 @@
"properties": { "properties": {
"hills_transformation": { "hills_transformation": {
"title": "Hills Transformation", "title": "Hills Transformation",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"$ref": "#/definitions/transformation" "$ref": "#/definitions/transformation"
}, },
"mutate_transformation": { "mutate_transformation": {
"title": "Mutate Transformation", "title": "Mutate Transformation",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"$ref": "#/definitions/transformation" "$ref": "#/definitions/transformation"
}, },
"river_transformation": { "river_transformation": {
"title": "River Transformation", "title": "River Transformation",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"$ref": "#/definitions/transformation" "$ref": "#/definitions/transformation"
}, },
"shore_transformation": { "shore_transformation": {
"title": "Shore Transformation", "title": "Shore Transformation",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"$ref": "#/definitions/transformation" "$ref": "#/definitions/transformation"
}, },
@@ -83,19 +83,19 @@
"type": "array", "type": "array",
"items": { "items": {
"title": "_", "title": "_",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": [ "items": [
{ {
"title": "Climate Category", "title": "Climate Category",
"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": "Weight", "title": "Weight",
"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

@@ -9,7 +9,7 @@
"properties": { "properties": {
"noise_params": { "noise_params": {
"title": "Noise Params", "title": "Noise Params",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": [ "items": [
@@ -23,26 +23,10 @@
}, },
"noise_type": { "noise_type": {
"title": "Noise Type", "title": "Noise Type",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "string", "type": "string",
"enum": [ "enum": ["stone_beach", "deep_ocean", "default", "default_mutated", "lowlands", "river", "ocean", "taiga", "mountains", "highlands", "mushroom", "less_extreme", "extreme", "beach", "swamp"]
"stone_beach",
"deep_ocean",
"default",
"default_mutated",
"lowlands",
"river",
"ocean",
"taiga",
"mountains",
"highlands",
"mushroom",
"less_extreme",
"extreme",
"beach",
"swamp"
]
} }
} }
} }

View File

@@ -1,7 +1,7 @@
{ {
"$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": {
@@ -10,7 +10,7 @@
"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": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
@@ -32,7 +32,7 @@
}, },
"materials": { "materials": {
"title": "Materials", "title": "Materials",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,

View File

@@ -5,7 +5,7 @@
"required": ["format_version", "minecraft:block"], "required": ["format_version", "minecraft:block"],
"type": "object", "type": "object",
"title": "Block Behavior", "title": "Block Behavior",
"description": "The minecraft block behavior specification", "description": "The minecraft block behavior specification.",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"format_version": { "$ref": "../../general/format_version.json" }, "format_version": { "$ref": "../../general/format_version.json" },

View File

@@ -3,7 +3,7 @@
"additionalProperties": false, "additionalProperties": false,
"type": "string", "type": "string",
"title": "Breathability", "title": "Breathability",
"description": "Property describing the breathability of the block, and whether it's treated as a solid block or a block of air", "description": "Property describing the breathability of the block, and whether it's treated as a solid block or a block of air.",
"enum": ["solid", "air"], "enum": ["solid", "air"],
"default": "solid" "default": "solid"
} }

View File

@@ -11,23 +11,23 @@
"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

@@ -3,5 +3,5 @@
"additionalProperties": false, "additionalProperties": false,
"type": "boolean", "type": "boolean",
"title": "Immovable", "title": "Immovable",
"description": "An Immovable block cannot be pushed by pistons" "description": "An Immovable block cannot be pushed by pistons."
} }

View File

@@ -6,29 +6,29 @@
"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": { "ambient_occlusion": {
"title": "Ambient Occlusion", "title": "Ambient Occlusion",
"type": "boolean", "type": "boolean",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"face_dimming": { "face_dimming": {
"title": "Face Dimming", "title": "Face Dimming",
"type": "boolean", "type": "boolean",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"render_method": { "render_method": {
"type": "string", "type": "string",
"title": "Render Method", "title": "Render Method",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"enum": ["blend", "opaque", "alpha_test"] "enum": ["blend", "opaque", "alpha_test"]
}, },
"texture": { "type": "string", "title": "Texture", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } "texture": { "type": "string", "title": "Texture", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED" }
} }
} }
}, },

View File

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

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.minecraft.pick_collision", "$id": "blockception.minecraft.behavior.blocks.minecraft.pick_collision",
"title": "Pick Collision", "title": "Pick Collision",
"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 },
{ {
@@ -11,23 +11,23 @@
"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,33 +1,33 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.minecraft.placement_filter", "$id": "blockception.minecraft.behavior.blocks.minecraft.placement_filter",
"title": "Placement Filter", "title": "Placement Filter",
"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": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"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": { "items": {
"type": "string", "type": "string",
"title": "Block Identifier", "title": "Block Identifier",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
} }
} }

View File

@@ -1,6 +1,6 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.minecraft.preventsjumping", "$id": "blockception.minecraft.behavior.blocks.minecraft.preventsjumping",
"title": "Prevents Jumping", "title": "Prevents Jumping",
"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,13 +1,13 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.minecraft.random_ticking", "$id": "blockception.minecraft.behavior.blocks.minecraft.random_ticking",
"title": "Random Ticking", "title": "Random Ticking",
"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": {
@@ -27,7 +27,7 @@
} }
} }
}, },
"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],

View File

@@ -1,11 +1,11 @@
{ {
"$id": "blockception.minecraft.behavior.blocks.minecraft.ticking", "$id": "blockception.minecraft.behavior.blocks.minecraft.ticking",
"title": "Ticking", "title": "Ticking",
"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.",
@@ -15,7 +15,7 @@
"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": {

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.block.events", "$id": "blockception.minecraft.behavior.block.events",
"title": "Events", "title": "Events",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "object", "type": "object",
"properties": { "properties": {
@@ -16,7 +16,7 @@
"definitions": { "definitions": {
"event_base": { "event_base": {
"title": "Event", "title": "Event",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,

View File

@@ -1,7 +1,7 @@
{ {
"$id": "blockception.minecraft.behavior.block.events.set_block_property", "$id": "blockception.minecraft.behavior.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

@@ -4,5 +4,5 @@
"description": "Transforms item into another item.", "description": "Transforms item into another item.",
"title": "Transform Item", "title": "Transform Item",
"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" } }
} }

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema", "$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.blocks", "$id": "blockception.minecraft.behavior.blocks",
"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"],
@@ -10,7 +10,7 @@
"components_ref": { "components_ref": {
"type": "object", "type": "object",
"title": "Component", "title": "Component",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
@@ -53,7 +53,7 @@
"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"],
@@ -78,19 +78,19 @@
}, },
"properties": { "properties": {
"title": "Properties", "title": "Properties",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"propertyNames": { "pattern": "^([a-zA-Z0-9_]+:[a-zA-Z0-9_\\-]+)$" }, "propertyNames": { "pattern": "^([a-zA-Z0-9_]+:[a-zA-Z0-9_\\-]+)$" },
"type": "object", "type": "object",
"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" }]
} }
}, },
@@ -109,18 +109,18 @@
"permutations": { "permutations": {
"type": "array", "type": "array",
"title": "Permutations", "title": "Permutations",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"items": { "items": {
"title": "Permutation", "title": "Permutation",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"condition": { "condition": {
"title": "Condition", "title": "Condition",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"$ref": "../../../molang/string.json" "$ref": "../../../molang/string.json"
}, },

View File

@@ -18,7 +18,7 @@
], ],
"type": "object", "type": "object",
"title": "NPC Dialogue", "title": "NPC Dialogue",
"description": "Specifies the dialogue scenes", "description": "Specifies the dialogue scenes.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"additionalProperties": false, "additionalProperties": false,
"required": ["format_version", "minecraft:npc_dialogue"], "required": ["format_version", "minecraft:npc_dialogue"],
@@ -26,20 +26,20 @@
"format_version": { "$ref": "../../general/format_version.json" }, "format_version": { "$ref": "../../general/format_version.json" },
"minecraft:npc_dialogue": { "minecraft:npc_dialogue": {
"title": "NPC Dialogue", "title": "NPC Dialogue",
"description": "Specifies the dialogue of an npc", "description": "Specifies the dialogue of an npc.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"scenes": { "scenes": {
"title": "Scenes", "title": "Scenes",
"description": "The different scenes", "description": "The different scenes.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "array", "type": "array",
"minItems": 1, "minItems": 1,
"items": { "items": {
"title": "Scene", "title": "Scene",
"description": "A single scene specification", "description": "A single scene specification.",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
@@ -48,27 +48,27 @@
"properties": { "properties": {
"buttons": { "buttons": {
"title": "Buttons", "title": "Buttons",
"description": "This is where you can create buttons for your NPC", "description": "This is where you can create buttons for your NPC.",
"type": "array", "type": "array",
"maxItems": 6, "maxItems": 6,
"items": { "items": {
"title": "Button", "title": "Button",
"description": "This is where you can create buttons for your NPC", "description": "This is where you can create buttons for your NPC.",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"name": { "name": {
"title": "Name", "title": "Name",
"description": "Set the text that is going to be displayed on your NPCs button", "description": "Set the text that is going to be displayed on your NPCs button.",
"oneOf": [{ "type": "string" }, { "$ref": "../../general/rawtext/rawtext.json" }] "oneOf": [{ "type": "string" }, { "$ref": "../../general/rawtext/rawtext.json" }]
}, },
"commands": { "commands": {
"type": "array", "type": "array",
"description": "allows you to add commands which will be run in-game when the button is pressed", "description": "allows you to add commands which will be run in-game when the button is pressed.",
"title": "Commands", "title": "Commands",
"items": { "items": {
"title": "Minecraft Command", "title": "Minecraft Command",
"description": "The commands to execute", "description": "The commands to execute.",
"type": "string", "type": "string",
"pattern": "^/[a-z].*$" "pattern": "^/[a-z].*$"
} }
@@ -83,22 +83,22 @@
}, },
"on_close_commands": { "on_close_commands": {
"type": "array", "type": "array",
"description": "This is where you can define which commands will fire when the NPC dialogue box closes", "description": "This is where you can define which commands will fire when the NPC dialogue box closes.",
"title": "On Close Commands", "title": "On Close Commands",
"items": { "items": {
"title": "Minecraft Command", "title": "Minecraft Command",
"description": "A minecraft command to execute", "description": "A minecraft command to execute.",
"type": "string", "type": "string",
"pattern": "^/[a-z].*$" "pattern": "^/[a-z].*$"
} }
}, },
"on_open_commands": { "on_open_commands": {
"type": "array", "type": "array",
"description": "This is where you can define which commands will fire when the NPC dialogue box opens", "description": "This is where you can define which commands will fire when the NPC dialogue box opens.",
"title": "On Close Commands", "title": "On Close Commands",
"items": { "items": {
"title": "Minecraft Command", "title": "Minecraft Command",
"description": "A minecraft command to execute", "description": "A minecraft command to execute.",
"type": "string", "type": "string",
"pattern": "^/[a-z].*$" "pattern": "^/[a-z].*$"
} }

View File

@@ -14,7 +14,7 @@
], ],
"type": "object", "type": "object",
"title": "Entity Behavior", "title": "Entity Behavior",
"description": "The minecraft entity behavior specification", "description": "The minecraft entity behavior specification.",
"required": ["format_version", "minecraft:entity"], "required": ["format_version", "minecraft:entity"],
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {

View File

@@ -18,7 +18,7 @@
}, },
"value": { "value": {
"type": "string", "type": "string",
"description": "(Required) The Ability type to test", "description": "(Required) The Ability type to test.",
"enum": ["flySpeed", "flying", "instabuild", "invulnerable", "lightning", "mayfly", "mute", "noclip", "walkSpeed", "worldbuilder"], "enum": ["flySpeed", "flying", "instabuild", "invulnerable", "lightning", "mayfly", "mute", "noclip", "walkSpeed", "worldbuilder"],
"title": "Value" "title": "Value"
} }

View File

@@ -17,7 +17,7 @@
"$ref": "./types/subject.json" "$ref": "./types/subject.json"
}, },
"value": { "value": {
"description": "(Required) The tag to look for", "description": "(Required) The tag to look for.",
"type": "string", "type": "string",
"title": "Value" "title": "Value"
} }

View File

@@ -18,7 +18,7 @@
}, },
"value": { "value": {
"type": "string", "type": "string",
"description": "(Required) The component name to look for", "description": "(Required) The component name to look for.",
"title": "Value" "title": "Value"
} }
}, },

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -9,6 +9,6 @@
"test": { "type": "string", "title": "Test Property", "description": "Returns true when the subject entity receives the named damage type." }, "test": { "type": "string", "title": "Test Property", "description": "Returns true when the subject entity receives the named damage type." },
"operator": { "$ref": "./types/operator.json" }, "operator": { "$ref": "./types/operator.json" },
"subject": { "$ref": "./types/subject.json" }, "subject": { "$ref": "./types/subject.json" },
"value": { "type": "string", "description": "The Damage type to test", "$ref": "../../../../general/entity/damage_source.json", "title": "Value" } "value": { "type": "string", "description": "The Damage type to test.", "$ref": "../../../../general/entity/damage_source.json", "title": "Value" }
} }
} }

View File

@@ -12,7 +12,7 @@
"title": "Test" "title": "Test"
}, },
"domain": { "domain": {
"description": "The equipment location to test", "description": "The equipment location to test.",
"default": "any", "default": "any",
"enum": ["any", "armor", "feet", "hand", "head", "leg", "torso"], "enum": ["any", "armor", "feet", "hand", "head", "leg", "torso"],
"title": "Domain" "title": "Domain"
@@ -24,7 +24,7 @@
"$ref": "./types/subject.json" "$ref": "./types/subject.json"
}, },
"value": { "value": {
"description": "The item name to look for", "description": "The item name to look for.",
"type": "string", "type": "string",
"$ref": "../../../../general/item/identifier.json", "$ref": "../../../../general/item/identifier.json",
"title": "Value" "title": "Value"

View File

@@ -18,7 +18,7 @@
}, },
"value": { "value": {
"type": "string", "type": "string",
"description": "The specified mob effect", "description": "The specified mob effect.",
"title": "Value" "title": "Value"
} }
}, },

View File

@@ -12,7 +12,7 @@
"title": "Test" "title": "Test"
}, },
"domain": { "domain": {
"description": "The equipment location to test", "description": "The equipment location to test.",
"default": "any", "default": "any",
"enum": ["any", "armor", "feet", "hand", "head", "leg", "torso"], "enum": ["any", "armor", "feet", "hand", "head", "leg", "torso"],
"title": "Domain" "title": "Domain"

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -18,7 +18,7 @@
}, },
"value": { "value": {
"type": "string", "type": "string",
"description": "The tag as a string", "description": "The tag as a string.",
"pattern": "[a-zA-Z0-9_]+", "pattern": "[a-zA-Z0-9_]+",
"title": "Value" "title": "Value"
} }

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -2,13 +2,13 @@
"$id": "blockception.minecraft.behavior.entities.filters.hourly_clock_time", "$id": "blockception.minecraft.behavior.entities.filters.hourly_clock_time",
"type": "object", "type": "object",
"title": "Hourly Clock Time", "title": "Hourly Clock Time",
"description": "Compares the current 24 hour time with an int value in the range[0, 24000]", "description": "Compares the current 24 hour time with an int value in the range[0, 24000].",
"required": ["value"], "required": ["value"],
"properties": { "properties": {
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "Compares the current 24 hour time with an int value in the range[0, 24000]", "description": "Compares the current 24 hour time with an int value in the range[0, 24000].",
"const": "hourly_clock_time" "const": "hourly_clock_time"
}, },
"operator": { "operator": {
@@ -19,7 +19,7 @@
}, },
"value": { "value": {
"type": "integer", "type": "integer",
"description": "(Required) An integer value set between 0 and 24000", "description": "(Required) An integer value set between 0 and 24000.",
"minimum": 0, "minimum": 0,
"maximum": 24000, "maximum": 24000,
"title": "Value" "title": "Value"

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -8,7 +8,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"
@@ -17,7 +17,7 @@
"$ref": "./types/subject.json" "$ref": "./types/subject.json"
}, },
"value": { "value": {
"description": "The Family name to look for", "description": "The Family name to look for.",
"type": "integer", "type": "integer",
"title": "Value" "title": "Value"
} }

View File

@@ -3,9 +3,7 @@
"type": "object", "type": "object",
"title": "Is Altitude", "title": "Is Altitude",
"description": "Tests the current altitude against a provided value. 0= bedrock elevation.", "description": "Tests the current altitude against a provided value. 0= bedrock elevation.",
"required": [ "required": ["value"],
"value"
],
"properties": { "properties": {
"test": { "test": {
"type": "string", "type": "string",
@@ -20,7 +18,7 @@
}, },
"value": { "value": {
"type": "integer", "type": "integer",
"description": "The altitude value to compare with", "description": "The altitude value to compare with.",
"minimum": 0, "minimum": 0,
"title": "Value" "title": "Value"
} }
@@ -31,4 +29,4 @@
"value": 0 "value": 0
} }
] ]
} }

View File

@@ -17,7 +17,7 @@
"$ref": "./types/subject.json" "$ref": "./types/subject.json"
}, },
"value": { "value": {
"description": "The Biome type to test", "description": "The Biome type to test.",
"type": "string", "type": "string",
"enum": [ "enum": [
"beach", "beach",

View File

@@ -8,7 +8,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"
@@ -17,7 +17,7 @@
"$ref": "./types/subject.json" "$ref": "./types/subject.json"
}, },
"value": { "value": {
"description": "The Family name to look for", "description": "The Family name to look for.",
"type": "string", "type": "string",
"title": "Value" "title": "Value"
} }

View File

@@ -17,7 +17,7 @@
"$ref": "./types/subject.json" "$ref": "./types/subject.json"
}, },
"value": { "value": {
"description": "The Palette Color to test", "description": "The Palette Color to test.",
"type": "string", "type": "string",
"enum": ["black", "blue", "brown", "cyan", "gray", "green", "light_blue", "light_green", "magenta", "orange", "pink", "purple", "red", "silver", "white", "yellow"], "enum": ["black", "blue", "brown", "cyan", "gray", "green", "light_blue", "light_green", "magenta", "orange", "pink", "purple", "red", "silver", "white", "yellow"],
"title": "Value" "title": "Value"

View File

@@ -17,7 +17,7 @@
"$ref": "./types/subject.json" "$ref": "./types/subject.json"
}, },
"value": { "value": {
"description": "The game's difficulty level to test", "description": "The game's difficulty level to test.",
"type": "string", "type": "string",
"enum": ["easy", "hard", "normal", "peaceful"], "enum": ["easy", "hard", "normal", "peaceful"],
"title": "Value" "title": "Value"

View File

@@ -17,7 +17,7 @@
"$ref": "./types/subject.json" "$ref": "./types/subject.json"
}, },
"value": { "value": {
"description": "The Family name to look for", "description": "The Family name to look for.",
"type": "string", "type": "string",
"title": "Value" "title": "Value"
} }

View File

@@ -2,12 +2,12 @@
"$id": "blockception.minecraft.behavior.entities.filters.is_humid", "$id": "blockception.minecraft.behavior.entities.filters.is_humid",
"type": "object", "type": "object",
"title": "Is Humid", "title": "Is Humid",
"description": "Tests whether the Subject is in an area with humidity", "description": "Tests whether the Subject is in an area with humidity.",
"properties": { "properties": {
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "Tests whether the Subject is in an area with humidity" "description": "Tests whether the Subject is in an area with humidity."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -8,7 +8,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"
@@ -18,7 +18,7 @@
}, },
"value": { "value": {
"type": "integer", "type": "integer",
"description": "The altitude value to compare with", "description": "The altitude value to compare with.",
"title": "Value" "title": "Value"
} }
}, },

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"
@@ -17,7 +17,7 @@
}, },
"value": { "value": {
"type": "integer", "type": "integer",
"description": "The altitude value to compare with", "description": "The altitude value to compare with.",
"title": "Value" "title": "Value"
} }
}, },

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -2,12 +2,12 @@
"$id": "blockception.minecraft.behavior.entities.filters.is_snow_covered", "$id": "blockception.minecraft.behavior.entities.filters.is_snow_covered",
"type": "object", "type": "object",
"title": "Is Snow Covered", "title": "Is Snow Covered",
"description": "Tests whether the Subject is in an area with snow cover", "description": "Tests whether the Subject is in an area with snow cover.",
"properties": { "properties": {
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -8,7 +8,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"
@@ -17,7 +17,7 @@
"$ref": "./types/subject.json" "$ref": "./types/subject.json"
}, },
"value": { "value": {
"description": "The Biome temperature catagory to test", "description": "The Biome temperature catagory to test.",
"type": "string", "type": "string",
"enum": ["cold", "mild", "ocean", "warm"], "enum": ["cold", "mild", "ocean", "warm"],
"title": "Value" "title": "Value"

View File

@@ -8,7 +8,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -8,7 +8,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"
@@ -18,7 +18,7 @@
}, },
"value": { "value": {
"type": "integer", "type": "integer",
"description": "The altitude value to compare with", "description": "The altitude value to compare with.",
"title": "Value" "title": "Value"
} }
}, },

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -8,7 +8,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -8,7 +8,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -8,7 +8,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -8,7 +8,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -8,7 +8,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -8,7 +8,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -7,7 +7,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"

View File

@@ -2,7 +2,7 @@
"$id": "blockception.minecraft.behavior.entities.filters.test", "$id": "blockception.minecraft.behavior.entities.filters.test",
"title": "Test", "title": "Test",
"type": "string", "type": "string",
"description": "The test operation", "description": "The test operation.",
"enum": [ "enum": [
"clock_time", "clock_time",
"distance_to_nearest_player", "distance_to_nearest_player",

View File

@@ -8,7 +8,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"
@@ -17,7 +17,7 @@
"$ref": "./types/subject.json" "$ref": "./types/subject.json"
}, },
"value": { "value": {
"description": "The Family name to look for", "description": "The Family name to look for.",
"type": "string", "type": "string",
"title": "Value", "title": "Value",
"examples": ["clear", "thunderstorm"] "examples": ["clear", "thunderstorm"]

View File

@@ -8,7 +8,7 @@
"test": { "test": {
"type": "string", "type": "string",
"title": "Test", "title": "Test",
"description": "The test property" "description": "The test property."
}, },
"operator": { "operator": {
"$ref": "./types/operator.json" "$ref": "./types/operator.json"
@@ -17,7 +17,7 @@
"$ref": "./types/subject.json" "$ref": "./types/subject.json"
}, },
"value": { "value": {
"description": "The Family name to look for", "description": "The Family name to look for.",
"type": "string", "type": "string",
"title": "Value", "title": "Value",
"examples": ["thunderstorm"] "examples": ["thunderstorm"]

View File

@@ -11,17 +11,17 @@
"admire_item_sound": { "admire_item_sound": {
"title": "Admire Item Sound", "title": "Admire Item Sound",
"type": "string", "type": "string",
"description": "The sound event to play when admiring the item" "description": "The sound event to play when admiring the item."
}, },
"on_admire_item_start": { "on_admire_item_start": {
"title": "On Admire Item Start", "title": "On Admire Item Start",
"$ref": "../types/event.json", "$ref": "../types/event.json",
"description": "The event to run when admiring the item" "description": "The event to run when admiring the item."
}, },
"on_admire_item_stop": { "on_admire_item_stop": {
"title": "On Admire Item Stop", "title": "On Admire Item Stop",
"$ref": "../types/event.json", "$ref": "../types/event.json",
"description": "The event to run when no longer admiring the item" "description": "The event to run when no longer admiring the item."
}, },
"sound_interval": { "sound_interval": {
"title": "Sound Interval", "title": "Sound Interval",

View File

@@ -11,10 +11,10 @@
}, },
"items": { "items": {
"type": "array", "type": "array",
"description": "List of items that this mob likes", "description": "List of items that this mob likes.",
"items": { "items": {
"type": "string", "type": "string",
"description": "List of items that this mob likes", "description": "List of items that this mob likes.",
"title": "Properties", "title": "Properties",
"$ref": "../../../../general/item/identifier.json" "$ref": "../../../../general/item/identifier.json"
}, },
@@ -23,16 +23,13 @@
"look_distance": { "look_distance": {
"type": "number", "type": "number",
"default": 8, "default": 8,
"description": "Distance in blocks the mob will beg from", "description": "Distance in blocks the mob will beg from.",
"title": "Look Distance" "title": "Look Distance"
}, },
"look_time": { "look_time": {
"description": "The range of time in seconds this mob will stare at the player holding a food they like, begging for it", "description": "The range of time in seconds this mob will stare at the player holding a food they like, begging for it.",
"$ref": "../types/range_number_type.json", "$ref": "../types/range_number_type.json",
"default": [ "default": [2, 4],
2,
4
],
"title": "Look Time" "title": "Look Time"
} }
}, },
@@ -42,4 +39,4 @@
"look_distance": 8 "look_distance": 8
} }
] ]
} }

View File

@@ -18,20 +18,19 @@
"title": "Attack Interval", "title": "Attack Interval",
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "Time in seconds between attacks" "description": "Time in seconds between attacks."
}, },
"must_see": { "must_see": {
"title": "Must See", "title": "Must See",
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, only entities in this mob's viewing range can be selected as targets" "description": "If true, only entities in this mob's viewing range can be selected as targets."
}, },
"must_see_forget_duration": { "must_see_forget_duration": {
"title": "Must See Forget Duration", "title": "Must See Forget Duration",
"type": "number", "type": "number",
"default": 3, "default": 3,
"description": "Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more" "description": "Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more."
}, },
"on_defend_start": { "on_defend_start": {
"title": "On Defend Start", "title": "On Defend Start",
@@ -42,12 +41,12 @@
"title": "Within Radius", "title": "Within Radius",
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Distance in blocks that the target can be within to launch an attack" "description": "Distance in blocks that the target can be within to launch an attack."
}, },
"entity_types": { "entity_types": {
"title": "Entity Types", "title": "Entity Types",
"type": "object", "type": "object",
"description": "List of entity types that this mob considers valid targets", "description": "List of entity types that this mob considers valid targets.",
"additionalProperties": false "additionalProperties": false
}, },
"sound_chance": { "sound_chance": {
@@ -70,4 +69,4 @@
"sound_chance": 0.05 "sound_chance": 0.05
} }
] ]
} }

View File

@@ -9,7 +9,7 @@
"entity_types": { "entity_types": {
"title": "Entity Types", "title": "Entity Types",
"$ref": "../types/entity_types.json", "$ref": "../types/entity_types.json",
"description": "List of entity types this mob considers a threat to the village", "description": "List of entity types this mob considers a threat to the village.",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"must_reach": { "must_reach": {

View File

@@ -41,7 +41,7 @@
"title": "Inner Boundary Time Increase", "title": "Inner Boundary Time Increase",
"type": "number", "type": "number",
"default": 0.25, "default": 0.25,
"description": "Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_inner_boundary\"." "description": "Time (in seconds) to add to attack path recalculation when the target is beyond the \."path_inner_boundary\"."
}, },
"max_dist": { "max_dist": {
"title": "Max Dist", "title": "Max Dist",
@@ -75,7 +75,7 @@
"title": "Outer Boundary Time Increase", "title": "Outer Boundary Time Increase",
"type": "number", "type": "number",
"default": 0.5, "default": 0.5,
"description": "Time (in seconds) to add to attack path recalculation when the target is beyond the \"path_outer_boundary\"." "description": "Time (in seconds) to add to attack path recalculation when the target is beyond the \."path_outer_boundary\"."
}, },
"path_fail_time_increase": { "path_fail_time_increase": {
"title": "Path Fail Time Increase", "title": "Path Fail Time Increase",
@@ -87,19 +87,19 @@
"title": "Path Inner Boundary", "title": "Path Inner Boundary",
"type": "number", "type": "number",
"default": 16, "default": 16,
"description": "Distance at which to increase attack path recalculation by \"inner_boundary_tick_increase\"." "description": "Distance at which to increase attack path recalculation by \."inner_boundary_tick_increase\"."
}, },
"path_outer_boundary": { "path_outer_boundary": {
"title": "Path Outer Boundary", "title": "Path Outer Boundary",
"type": "number", "type": "number",
"default": 32, "default": 32,
"description": "Distance at which to increase attack path recalculation by \"outer_boundary_tick_increase\"." "description": "Distance at which to increase attack path recalculation by \."outer_boundary_tick_increase\"."
}, },
"random_stop_interval": { "random_stop_interval": {
"title": "Random Stop Interval", "title": "Random Stop Interval",
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "This entity will have a 1 in N chance to stop it's current attack, where N = \"random_stop_interval\"." "description": "This entity will have a 1 in N chance to stop it's current attack, where N = \."random_stop_interval\"."
}, },
"reach_multiplier": { "reach_multiplier": {
"title": "Reach Multiplier", "title": "Reach Multiplier",
@@ -117,7 +117,7 @@
"title": "Set Persistent", "title": "Set Persistent",
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "Allows the actor to be set to persist upon targeting a player" "description": "Allows the actor to be set to persist upon targeting a player."
}, },
"target_dist": { "target_dist": {
"title": "Target Dist", "title": "Target Dist",

View File

@@ -18,13 +18,13 @@
"title": "Digs In Daylight", "title": "Digs In Daylight",
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "Indicates that the actor should start digging when it sees daylight" "description": "Indicates that the actor should start digging when it sees daylight."
}, },
"duration": { "duration": {
"title": "Duration", "title": "Duration",
"type": "number", "type": "number",
"default": 0.0, "default": 0.0,
"description": "Goal duration in seconds" "description": "Goal duration in seconds."
}, },
"idle_time": { "idle_time": {
"title": "Idle Time", "title": "Idle Time",

View File

@@ -18,7 +18,7 @@
"title": "Continue Charge Threshold Time", "title": "Continue Charge Threshold Time",
"type": "number", "type": "number",
"default": 0.5, "default": 0.5,
"description": "If the dragon is outside the \"target_zone\" for longer than \"continue_charge_threshold_time\" seconds, the charge is canceled." "description": "If the dragon is outside the \."target_zone\" for longer than \"continue_charge_threshold_time\" seconds, the charge is canceled."
}, },
"flight_speed": { "flight_speed": {
"title": "Flight Speed", "title": "Flight Speed",

View File

@@ -54,7 +54,7 @@
"title": "View Angle", "title": "View Angle",
"type": "number", "type": "number",
"default": 10, "default": 10,
"description": "The target must be within \"view_angle\" degrees of the dragon's current rotation before a fireball can be shot." "description": "The target must be within \."view_angle\" degrees of the dragon's current rotation before a fireball can be shot."
} }
} }
} }

View File

@@ -13,7 +13,7 @@
}, },
"speed_modifier": { "speed_modifier": {
"default": 0.0, "default": 0.0,
"description": "Movement speed modifier of the mob when using this AI Goal", "description": "Movement speed modifier of the mob when using this AI Goal.",
"title": "Speed Modifier" "title": "Speed Modifier"
}, },
"potions": { "potions": {
@@ -21,11 +21,7 @@
"description": "A list of potions that this entity can drink.", "description": "A list of potions that this entity can drink.",
"title": "Potions", "title": "Potions",
"items": { "items": {
"required": [ "required": ["id", "chance", "filters"],
"id",
"chance",
"filters"
],
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"description": "A potions that this entity can drink.", "description": "A potions that this entity can drink.",
@@ -34,7 +30,7 @@
"id": { "id": {
"type": "integer", "type": "integer",
"default": -1, "default": -1,
"description": "The registry ID of the potion to use", "description": "The registry ID of the potion to use.",
"title": "Id" "title": "Id"
}, },
"chance": { "chance": {
@@ -58,4 +54,4 @@
"potions": [] "potions": []
} }
] ]
} }

View File

@@ -27,7 +27,7 @@
"eat_and_replace_block_pairs": { "eat_and_replace_block_pairs": {
"title": "Eat And Replace Block Pairs", "title": "Eat And Replace Block Pairs",
"type": "array", "type": "array",
"description": "A collection of pairs of blocks; the first (\"eat_block\")is the block the entity should eat, the second (\"replace_block\") is the block that should replace the eaten block.", "description": "A collection of pairs of blocks; the first (\."eat_block\")is the block the entity should eat, the second (\"replace_block\") is the block that should replace the eaten block.",
"items": { "items": {
"type": "object", "type": "object",
"title": "Eat And Replace Block Pair", "title": "Eat And Replace Block Pair",

View File

@@ -2,7 +2,7 @@
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.emerge", "$id": "blockception.minecraft.behavior.entities.minecraft.behavior.emerge",
"type": "object", "type": "object",
"title": "Eat Mob", "title": "Eat Mob",
"description": "[EXPERIMENTAL BEHAVIOR] Activates the `EMERGING` actor flag during the specified duration and triggers `on_done` at the end", "description": "[EXPERIMENTAL BEHAVIOR] Activates the `EMERGING` actor flag during the specified duration and triggers `on_done` at the end.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
@@ -11,18 +11,18 @@
"title": "Cooldown Time", "title": "Cooldown Time",
"type": "integer", "type": "integer",
"default": 0.5, "default": 0.5,
"description": "Time in seconds the mob has to wait before using the goal again" "description": "Time in seconds the mob has to wait before using the goal again."
}, },
"duration": { "duration": {
"title": "Duration", "title": "Duration",
"type": "number", "type": "number",
"default": 5.0, "default": 5.0,
"description": "Goal duration in seconds" "description": "Goal duration in seconds."
}, },
"on_done": { "on_done": {
"title": "On Done", "title": "On Done",
"$ref": "../types/trigger.json", "$ref": "../types/trigger.json",
"description": "Trigger to be executed when the goal execution is about to end" "description": "Trigger to be executed when the goal execution is about to end."
} }
} }
} }

View File

@@ -10,7 +10,7 @@
"cooldown_time": { "cooldown_time": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Time in seconds the mob has to wait before using the goal again", "description": "Time in seconds the mob has to wait before using the goal again.",
"title": "Cooldown Time" "title": "Cooldown Time"
} }
}, },

View File

@@ -12,7 +12,7 @@
"title": "Avoid Water", "title": "Avoid Water",
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, the mob will not go into water blocks when going towards a mount" "description": "If true, the mob will not go into water blocks when going towards a mount."
}, },
"mount_distance": { "mount_distance": {
"type": "number", "type": "number",
@@ -24,19 +24,19 @@
"title": "Start Delay", "title": "Start Delay",
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "Time the mob will wait before starting to move towards the mount" "description": "Time the mob will wait before starting to move towards the mount."
}, },
"target_needed": { "target_needed": {
"title": "Target Needed", "title": "Target Needed",
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, the mob will only look for a mount if it has a target" "description": "If true, the mob will only look for a mount if it has a target."
}, },
"within_radius": { "within_radius": {
"title": "Within Radius", "title": "Within Radius",
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Distance in blocks within which the mob will look for a mount" "description": "Distance in blocks within which the mob will look for a mount."
}, },
"max_failed_attempts": { "max_failed_attempts": {
"title": "Maximum Failed Attempts", "title": "Maximum Failed Attempts",
@@ -55,4 +55,4 @@
"max_failed_attempts": 0 "max_failed_attempts": 0
} }
] ]
} }

View File

@@ -24,28 +24,25 @@
"y_offset": { "y_offset": {
"type": "number", "type": "number",
"default": 0.0, "default": 0.0,
"description": "Height in blocks to add to the selected target position", "description": "Height in blocks to add to the selected target position.",
"title": "Y Offset" "title": "Y Offset"
}, },
"must_reach": { "must_reach": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, the point has to be reachable to be a valid target", "description": "If true, the point has to be reachable to be a valid target.",
"title": "Must Reach" "title": "Must Reach"
}, },
"random_reselect": { "random_reselect": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, the mob will randomly pick a new point while moving to the previously selected one", "description": "If true, the mob will randomly pick a new point while moving to the previously selected one.",
"title": "Random Reselect" "title": "Random Reselect"
}, },
"float_duration": { "float_duration": {
"$ref": "../types/range_number_type.json", "$ref": "../types/range_number_type.json",
"default": [ "default": [0.0, 0.0],
0.0, "description": "Range of time in seconds the mob will float around before landing and choosing to do something else.",
0.0
],
"description": "Range of time in seconds the mob will float around before landing and choosing to do something else",
"title": "Float Duration" "title": "Float Duration"
} }
}, },
@@ -58,4 +55,4 @@
"random_reselect": false "random_reselect": false
} }
] ]
} }

View File

@@ -14,12 +14,12 @@
}, },
"entity_types": { "entity_types": {
"$ref": "../types/entity_types.json", "$ref": "../types/entity_types.json",
"description": "List of entity types that this mob can follow in a caravan", "description": "List of entity types that this mob can follow in a caravan.",
"title": "Entity Types" "title": "Entity Types"
}, },
"entity_count": { "entity_count": {
"type": "integer", "type": "integer",
"description": "Number of entities that can be in the caravan", "description": "Number of entities that can be in the caravan.",
"default": 1, "default": 1,
"title": "Entity Count" "title": "Entity Count"
} }
@@ -29,4 +29,4 @@
"entity_count": 1 "entity_count": 1
} }
] ]
} }

View File

@@ -15,13 +15,13 @@
"search_range": { "search_range": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "The distance in blocks it will look for a mob to follow", "description": "The distance in blocks it will look for a mob to follow.",
"title": "Search Range" "title": "Search Range"
}, },
"stop_distance": { "stop_distance": {
"type": "number", "type": "number",
"default": 2, "default": 2,
"description": "The distance in blocks this mob stops from the mob it is following", "description": "The distance in blocks this mob stops from the mob it is following.",
"title": "Stop Distance" "title": "Stop Distance"
} }
}, },
@@ -31,4 +31,4 @@
"stop_distance": 2 "stop_distance": 2
} }
] ]
} }

View File

@@ -16,31 +16,31 @@
"title": "Can Teleport", "title": "Can Teleport",
"type": "boolean", "type": "boolean",
"default": true, "default": true,
"description": "Specify if the mob can teleport to the player if it is too far away" "description": "Specify if the mob can teleport to the player if it is too far away."
}, },
"ignore_vibration": { "ignore_vibration": {
"title": "Ignore Vibration", "title": "Ignore Vibration",
"type": "boolean", "type": "boolean",
"default": true, "default": true,
"description": "Specify if the mob will follow the owner if it has heard a vibration lately" "description": "Specify if the mob will follow the owner if it has heard a vibration lately."
}, },
"max_distance": { "max_distance": {
"title": "Max Distance", "title": "Max Distance",
"type": "number", "type": "number",
"default": 60.0, "default": 60.0,
"description": "The maximum distance in blocks this mob can be from its owner to start following, only used when canTeleport is false" "description": "The maximum distance in blocks this mob can be from its owner to start following, only used when canTeleport is false."
}, },
"start_distance": { "start_distance": {
"title": "Start Distance", "title": "Start Distance",
"type": "number", "type": "number",
"default": 10.0, "default": 10.0,
"description": "The distance in blocks that the owner can be away from this mob before it starts following it" "description": "The distance in blocks that the owner can be away from this mob before it starts following it."
}, },
"stop_distance": { "stop_distance": {
"title": "Stop Distance", "title": "Stop Distance",
"type": "number", "type": "number",
"default": 2.0, "default": 2.0,
"description": "The distance in blocks this mob will stop from its owner while following it" "description": "The distance in blocks this mob will stop from its owner while following it."
} }
}, },
"examples": [ "examples": [

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