This commit is contained in:
DaanV2
2021-06-05 21:54:49 +02:00
parent 7fa54de89d
commit a0e4135b59
56 changed files with 717 additions and 147 deletions

File diff suppressed because one or more lines are too long

View File

@@ -16,7 +16,7 @@
"maxProperties": 1,
"minProperties": 1,
"additionalProperties": {
"$ref": "../../../molang/1.8.0/string.json"
"$ref": "../../../molang/string.json"
}
}
]
@@ -139,7 +139,7 @@
"maxProperties": 1,
"minProperties": 1,
"additionalProperties": {
"$ref": "../../../molang/1.8.0/string.json"
"$ref": "../../../molang/string.json"
}
}
}

View File

@@ -15,7 +15,7 @@
"maxProperties": 1,
"minProperties": 1,
"additionalProperties": {
"$ref": "../../../molang/1.8.0/string.json"
"$ref": "../../../molang/string.json"
}
}
]
@@ -135,7 +135,7 @@
"type": "object",
"examples": [{ "default": "query.is_chested" }],
"additionalProperties": {
"$ref": "../../../molang/1.8.0/string.json"
"$ref": "../../../molang/string.json"
},
"minProperties": 1,
"maxProperties": 1

View File

@@ -10,7 +10,7 @@
"description": "A object specification on how to transition",
"maxProperties": 1,
"minProperties": 1,
"additionalProperties": { "$ref": "../../../molang/1.8.0/string.json" }
"additionalProperties": { "$ref": "../../../molang/string.json" }
}
]
},

View File

@@ -10,7 +10,7 @@
"description": "A object specification on how to transition",
"maxProperties": 1,
"minProperties": 1,
"additionalProperties": { "$ref": "../../../molang/1.8.0/string.json" }
"additionalProperties": { "$ref": "../../../molang/string.json" }
}
]
},

View File

@@ -11,7 +11,7 @@
"oneOf": [
{
"type": "string",
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "Expression for the coordinate (evaluated each iteration). Mutually exclusive with random distribution object below."
},
{
@@ -38,12 +38,12 @@
{
"title": "Lower Bound",
"description": "Lower bound (inclusive) of the scatter range, as an offset from the input point to scatter around",
"$ref": "../../../../molang/1.8.0/number.json"
"$ref": "../../../../molang/number.json"
},
{
"title": "Upper Bound",
"description": "Upper bound (inclusive) of the scatter range, as an offset from the input point to scatter around",
"$ref": "../../../../molang/1.8.0/number.json"
"$ref": "../../../../molang/number.json"
}
]
},
@@ -83,7 +83,7 @@
"iterations": {
"title": "Iterations",
"description": "Number of scattered positions to generate",
"$ref": "../../../../molang/1.8.0/number.json"
"$ref": "../../../../molang/number.json"
},
"places_feature": {
"title": "Places Feature",
@@ -115,7 +115,7 @@
{
"type": "string",
"description": "Probability (0-100) that this scatter will occur. Not evaluated each iteration; either no iterations will run, or all will.",
"$ref": "../../../../molang/1.8.0/number.json"
"$ref": "../../../../molang/number.json"
},
{
"type": "number",

View File

@@ -20,11 +20,11 @@
"type": "array",
"items": [
{
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"title": "Min"
},
{
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"title": "Max"
}
]

View File

@@ -125,7 +125,7 @@
"condition": {
"title": "Condition",
"description": "UNDOCUMENATED",
"$ref": "../../../molang/1.8.0/string.json"
"$ref": "../../../molang/string.json"
},
"components": {
"type": "object",

View File

@@ -125,7 +125,7 @@
"condition": {
"title": "Condition",
"description": "UNDOCUMENATED",
"$ref": "../../../molang/1.8.0/string.json"
"$ref": "../../../molang/string.json"
},
"components": {
"type": "object",

View File

@@ -29,7 +29,7 @@
"default": [0.0, 0.0, 0.0],
"description": "Position of this seat relative to this entity's position"
},
"rotate_rider_by": { "$ref": "../../../../molang/1.8.0/number.json", "description": "Offset to rotate riders by" }
"rotate_rider_by": { "$ref": "../../../../molang/number.json", "description": "Offset to rotate riders by" }
}
}
},

View File

@@ -29,7 +29,7 @@
"default": [0.0, 0.0, 0.0],
"description": "Position of this seat relative to this entity's position"
},
"rotate_rider_by": { "$ref": "../../../../molang/1.8.0/number.json", "description": "Offset to rotate riders by" }
"rotate_rider_by": { "$ref": "../../../../molang/number.json", "description": "Offset to rotate riders by" }
}
}
},

View File

@@ -0,0 +1,147 @@
{
"$id": "blockception.minecraft.behavior.feature_rules.1.13.0",
"type": "object",
"title": "Feature Rules 1.13.0",
"description": " Each feature rule controls exactly one feature and serves as the root of a chain of feature data.",
"additionalProperties": false,
"required": ["format_version", "minecraft:feature_rules"],
"minProperties": 2,
"maxProperties": 2,
"definitions": {
"coord_dist": {
"title": "",
"description": "",
"oneOf": [
{
"$ref": "../../../molang/number.json",
"description": "Expression for the coordinate (evaluated each iteration). Mutually exclusive with random distribution object below."
},
{
"type": "object",
"description": "Distribution for the coordinate (evaluated each iteration). Mutually exclusive with Molang expression above.",
"additionalProperties": false,
"properties": {
"numerator": {
"title": "Numerator",
"description": "UNDOCUMENTATED",
"type": "number",
"minimum": 1
},
"denominator": {
"title": "Denominator",
"description": "UNDOCUMENTATED",
"type": "number",
"minimum": 1
}
}
}
]
}
},
"properties": {
"format_version": {
"const": "1.13.0",
"description": "Specifies the version of the game this entity was made in. Minimum supported version is 1.13.0. Current supported version is 1.13.0.",
"title": "Format Version"
},
"minecraft:feature_rules": {
"title": "Feature rules",
"description": "",
"type": "object",
"additionalProperties": false,
"required": ["description", "conditions"],
"properties": {
"description": {
"title": "Description",
"description": "",
"type": "object",
"additionalProperties": false,
"required": ["identifier", "feature_reference"],
"properties": {
"identifier": {
"title": "Identifier",
"description": "The name of this feature in the form 'namespace_name:feature_name'. 'feature_name' must match the filename.",
"type": "string",
"$ref": "../../../general/feature/identifier.json"
},
"places_feature": {
"title": "Places Feature",
"description": "Named reference to the feature controlled by this rule.",
"type": "string"
}
}
},
"conditions": {
"title": "Conditions",
"description": "Parameters to control where and when the feature will be placed.",
"type": "object",
"additionalProperties": false,
"required": ["placement_pass"],
"properties": {
"placement_pass": {
"title": "Placement pass",
"description": "When the feature should be placed relative to others. Earlier passes in the list are guaranteed to occur before later passes. Order is not guaranteed within each pass.",
"type": "string"
},
"minecraft:biome_filter": {
"title": "Placement pass",
"description": "List of filter tests to determine which biomes this rule will attach to.",
"$ref": "../../entities/filters/filters.json"
}
}
},
"distribution": {
"title": "Distribution",
"description": "Parameters controlling the initial scatter of the feature.",
"type": "object",
"additionalProperties": false,
"required": ["iterations"],
"properties": {
"coordinate_eval_order": {
"title": "Coordinate Eval Order",
"description": "The order in which coordinates will be evaluated. Should be used when a coordinate depends on another. If omitted, defaults to `xzy`.",
"type": "string",
"enum": ["xyz", "xzy", "yxz", "yzx", "zxy", "zyx"]
},
"iterations": {
"title": "Iterations",
"description": "Number of scattered positions to generate",
"$ref": "../../../molang/number.json"
},
"scatter_chance": {
"title": "Scatter Chance",
"oneOf": [
{
"$ref": "../../../molang/number.json",
"description": "Probability (0-100] that this scatter will occur. Not evaluated each iteration; either no iterations will run, or all will."
},
{
"type": "object",
"description": "Probability numerator / denominator that this scatter will occur. Not evaluated each iteration; either no iterations will run, or all will.",
"additionalProperties": false,
"properties": {
"numerator": {
"title": "Numerator",
"description": "UNDOCUMENTATED",
"type": "number",
"minimum": 1
},
"denominator": {
"title": "Denominator",
"description": "UNDOCUMENTATED",
"type": "number",
"minimum": 1
}
}
}
]
},
"x": { "title": "X", "$ref": "#/definitions/coord_dist" },
"z": { "title": "Y", "$ref": "#/definitions/coord_dist" },
"y": { "title": "Z", "$ref": "#/definitions/coord_dist" }
}
}
}
}
}
}

View File

@@ -0,0 +1,21 @@
{
"$id": "blockception.minecraft.behavior.feature_rules",
"examples": [
{
"format_version": "1.13.0",
"minecraft:feature_rules": {
"minecraft:ore_feature": {
"description": {
"identifier": "example:foo",
"places_feature": "minecraft:legacy:birch_forest_tree_feature"
},
"conditions": {}
}
}
}
],
"allOf": [
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.17.0" } } }, "then": { "$ref": "./1.17.0/feature_rules.json" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.features.1.13.0",
"type": "object",
"title": "Spawn Rules 1.13.0",
"title": "Features 1.13.0",
"description": "Features are decorations scattered throughout the world. Things such as trees, plants, flowers, springs, ore, and coral are all features. Basically, if it isn't the terrain or a mob, it's probably a feature!",
"additionalProperties": false,
"required": ["format_version"],

View File

@@ -10,7 +10,7 @@
"type": "object",
"title": "Allowed Block",
"description": "A block descriptor that allows to be placed",
"properties": { "tags": { "title": "Tags", "description": "Tags", "$ref": "../../../../molang/1.8.0/string.json" } }
"properties": { "tags": { "title": "Tags", "description": "Tags", "$ref": "../../../../molang/string.json" } }
}
},
"properties": {

View File

@@ -22,7 +22,7 @@
"type": "array",
"items": { "type": "string", "title": "Item", "description": "UNDOCUMENATED" }
},
"repair_amount": { "title": "Repair Amount", "description": "UNDOCUMENATED", "$ref": "../../../../molang/1.8.0/number.json" }
"repair_amount": { "title": "Repair Amount", "description": "UNDOCUMENATED", "$ref": "../../../../molang/number.json" }
}
}
}

View File

@@ -10,7 +10,7 @@
"type": "object",
"title": "Allowed Block",
"description": "A block descriptor that allows to be placed",
"properties": { "tags": { "title": "Tags", "description": "Tags", "$ref": "../../../../molang/1.8.0/string.json" } }
"properties": { "tags": { "title": "Tags", "description": "Tags", "$ref": "../../../../molang/string.json" } }
}
},
"properties": {

View File

@@ -22,7 +22,7 @@
"type": "array",
"items": { "type": "string", "title": "Item", "description": "UNDOCUMENATED" }
},
"repair_amount": { "title": "Repair Amount", "description": "UNDOCUMENATED", "$ref": "../../../../molang/1.8.0/number.json" }
"repair_amount": { "title": "Repair Amount", "description": "UNDOCUMENATED", "$ref": "../../../../molang/number.json" }
}
}
}

View File

@@ -15,7 +15,7 @@
"minProperties": 1,
"additionalProperties": {
"oneOf": [
{ "type": "string", "$ref": "../../../molang/1.8.0/string.json" },
{ "type": "string", "$ref": "../../../molang/string.json" },
{ "type": "number", "description": "A blend weight" }
]
}
@@ -166,7 +166,7 @@
"type": "object",
"required": ["input"],
"properties": {
"input": { "title": "Input", "description": "", "$ref": "../../../molang/1.8.0/number.json" },
"input": { "title": "Input", "description": "", "$ref": "../../../molang/number.json" },
"remap_curve": {
"title": "Remap Curve",
"additionalProperties": { "propertyNames": { "pattern": "^([\\-\\+0-9]+|[\\-\\+0-9]+.[0-9]+)$" }, "type": "number" }

View File

@@ -15,7 +15,7 @@
"minProperties": 1,
"additionalProperties": {
"oneOf": [
{ "type": "string", "$ref": "../../../molang/1.8.0/string.json" },
{ "type": "string", "$ref": "../../../molang/string.json" },
{ "type": "number", "description": "A blend weight" }
]
}
@@ -152,7 +152,7 @@
"type": "object",
"required": ["input"],
"properties": {
"input": { "$ref": "../../../molang/1.8.0/number.json" },
"input": { "$ref": "../../../molang/number.json" },
"remap_curve": { "additionalProperties": { "type": "number" } }
}
}

View File

@@ -16,7 +16,7 @@
"pre_effect_script": {
"title": "Pre Effect Script",
"description": "A molang script that will be run when the particle emitter is initialized",
"$ref": "../../../molang/1.8.0/string.json"
"$ref": "../../../molang/string.json"
},
"bind_to_actor": {
"type": "boolean",
@@ -34,17 +34,17 @@
{
"title": "Position X",
"description": "The position over the X-axis or forwards/backwards.\nCan be molang or a float",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
{
"title": "Position Y",
"description": "The position over the Y-axis, or up/down.\nCan be molang or a float",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
{
"title": "Position Z",
"description": "The position over the Z-axis, or left/right.\nCan be molang or a float",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
}
]
},
@@ -56,17 +56,17 @@
{
"title": "Rotation X",
"description": "The rotation over the X-axis, or up or down.\nCan be molang or a float",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
{
"title": "Rotation Y",
"description": "The rotation over the Y-axis, or yaw.\nCan be molang or a float",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
{
"title": "Rotation Z",
"description": "The rotation over the Z-axis, or roll.\nCan be molang or a float",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
}
]
},
@@ -78,17 +78,17 @@
{
"title": "Position X",
"description": "The position over the X-axis or forwards/backwards.\nCan be molang or a float",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
{
"title": "Position Y",
"description": "The position over the Y-axis, or up/down.\nCan be molang or a float",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
{
"title": "Position Z",
"description": "The position over the Z-axis, or left/right.\nCan be molang or a float",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
}
]
},
@@ -127,14 +127,14 @@
"anim_time_update": {
"title": "Start Delay",
"description": "How does time pass when playing the animation. Defaults to \"query.anim_time + query.delta_time\" which means advance in seconds.",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
"animation_length": {
"title": "Animation Length",
"description": "Override calculated value (set as the last keyframe time) and set animation length in seconds.",
"type": "number"
},
"blend_weight": { "title": "Blend Weight", "description": "TODO", "$ref": "../../../molang/1.8.0/number.json" },
"blend_weight": { "title": "Blend Weight", "description": "TODO", "$ref": "../../../molang/number.json" },
"bones": {
"title": "Bones",
"description": "Defines how the bones in an animation move or transform",
@@ -151,7 +151,7 @@
"description": "The Position transformation during this animation",
"oneOf": [
{ "$ref": "#/definitions/PositionV3" },
{ "$ref": "../../../molang/1.8.0/arraynumber3.json" },
{ "$ref": "../../../molang/arraynumber3.json" },
{
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
@@ -173,7 +173,7 @@
"description": "The rotation transformation during this animation",
"oneOf": [
{ "$ref": "#/definitions/RotationV3" },
{ "$ref": "../../../molang/1.8.0/arraynumber3.json" },
{ "$ref": "../../../molang/arraynumber3.json" },
{
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
@@ -205,7 +205,7 @@
"title": "Scale",
"description": "TODO",
"oneOf": [
{ "$ref": "../../../molang/1.8.0/number.json" },
{ "$ref": "../../../molang/number.json" },
{ "$ref": "#/definitions/ScaleV3" },
{
"type": "object",
@@ -234,7 +234,7 @@
"loop_delay": {
"title": "Loop Delay",
"description": "How long to wait in seconds before looping this animation. Note that this expression is evaluated after each loop and on looping animation only.",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
"override_previous_animation": {
"title": "Override Previous Animation",
@@ -258,7 +258,7 @@
"start_delay": {
"title": "Start Delay",
"description": "How long to wait in seconds before playing this animation. Note that this expression is evaluated once before playing, and only re-evaluated if asked to play from the beginning again. A looping animation should use 'loop_delay' if it wants a delay between loops.",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
"sound_effects": {
"title": "Sound Effect",

View File

@@ -16,7 +16,7 @@
"pre_effect_script": {
"title": "Pre Effect Script",
"description": "A molang script that will be run when the particle emitter is initialized",
"$ref": "../../../molang/1.8.0/string.json"
"$ref": "../../../molang/string.json"
},
"bind_to_actor": {
"type": "boolean",
@@ -34,17 +34,17 @@
{
"title": "Position X",
"description": "The position over the X-axis or forwards/backwards.\nCan be molang or a float",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
{
"title": "Position Y",
"description": "The position over the Y-axis, or up/down.\nCan be molang or a float",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
{
"title": "Position Z",
"description": "The position over the Z-axis, or left/right.\nCan be molang or a float",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
}
]
},
@@ -56,17 +56,17 @@
{
"title": "Rotation X",
"description": "The rotation over the X-axis, or up or down.\nCan be molang or a float",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
{
"title": "Rotation Y",
"description": "The rotation over the Y-axis, or yaw.\nCan be molang or a float",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
{
"title": "Rotation Z",
"description": "The rotation over the Z-axis, or roll.\nCan be molang or a float",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
}
]
},
@@ -78,17 +78,17 @@
{
"title": "Position X",
"description": "The position over the X-axis or forwards/backwards.\nCan be molang or a float",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
{
"title": "Position Y",
"description": "The position over the Y-axis, or up/down.\nCan be molang or a float",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
{
"title": "Position Z",
"description": "The position over the Z-axis, or left/right.\nCan be molang or a float",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
}
]
},
@@ -127,14 +127,14 @@
"anim_time_update": {
"title": "Anim Time Update",
"description": "How does time pass when playing the animation. Defaults to \"query.anim_time + query.delta_time\" which means advance in seconds.",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
"animation_length": {
"title": "Animation Length",
"description": "Override calculated value (set as the last keyframe time) and set animation length in seconds.",
"type": "number"
},
"blend_weight": { "title": "Blend Weight", "description": "TODO", "$ref": "../../../molang/1.8.0/number.json" },
"blend_weight": { "title": "Blend Weight", "description": "TODO", "$ref": "../../../molang/number.json" },
"bones": {
"title": "Bones",
"minProperties": 1,
@@ -151,7 +151,7 @@
"description": "The Position transformation during this animation",
"oneOf": [
{ "$ref": "#/definitions/PositionV3" },
{ "$ref": "../../../molang/1.8.0/arraynumber3.json" },
{ "$ref": "../../../molang/arraynumber3.json" },
{
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
@@ -173,7 +173,7 @@
"description": "The rotation transformation during this animation",
"oneOf": [
{ "$ref": "#/definitions/RotationV3" },
{ "$ref": "../../../molang/1.8.0/arraynumber3.json" },
{ "$ref": "../../../molang/arraynumber3.json" },
{
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
@@ -205,7 +205,7 @@
"title": "Scale",
"description": "TODO",
"oneOf": [
{ "$ref": "../../../molang/1.8.0/number.json" },
{ "$ref": "../../../molang/number.json" },
{ "$ref": "#/definitions/ScaleV3" },
{
"type": "object",
@@ -234,7 +234,7 @@
"loop_delay": {
"title": "Loop Delay",
"description": "How long to wait in seconds before looping this animation. Note that this expression is evaluated after each loop and on looping animation only.",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
"override_previous_animation": {
"title": "Override Previous Animation",
@@ -258,7 +258,7 @@
"start_delay": {
"title": "Start Delay",
"description": "How long to wait in seconds before playing this animation. Note that this expression is evaluated once before playing, and only re-evaluated if asked to play from the beginning again. A looping animation should use 'loop_delay' if it wants a delay between loops.",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
"sound_effects": {
"title": "Sound Effect",

View File

@@ -130,7 +130,7 @@
"title": "Initialize",
"items": {
"pattern": ";$",
"$ref": "../../../molang/1.8.0/number.json",
"$ref": "../../../molang/number.json",
"description": "TODO description: initialize",
"title": "Initialize"
}
@@ -141,7 +141,7 @@
"title": "Pre Animation",
"items": {
"pattern": ";$",
"$ref": "../../../molang/1.8.0/number.json",
"$ref": "../../../molang/number.json",
"description": "TODO description: pre aninamtion",
"title": "Pre Animation"
}
@@ -150,9 +150,9 @@
"type": "string",
"description": "TODO description: parent setup",
"title": "Parent Setup",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
"scale": { "type": "string", "description": "TODO description: scale", "title": "Scale", "$ref": "../../../molang/1.8.0/number.json" }
"scale": { "type": "string", "description": "TODO description: scale", "title": "Scale", "$ref": "../../../molang/number.json" }
}
},
"sound_effects": {

View File

@@ -127,7 +127,7 @@
"type": "array",
"items": {
"pattern": ";$",
"$ref": "../../../molang/1.8.0/number.json",
"$ref": "../../../molang/number.json",
"description": "TODO description: pre aninamtion",
"title": "Pre Animation"
},
@@ -154,7 +154,7 @@
},
"description": "TODO description: animate"
},
"parent_setup": { "$ref": "../../../molang/1.8.0/number.json" }
"parent_setup": { "$ref": "../../../molang/number.json" }
},
"description": "TODO description: scripts",
"title": "Scripts"

View File

@@ -135,7 +135,7 @@
"minItems": 1,
"items": {
"pattern": ";$",
"$ref": "../../../molang/1.8.0/string.json",
"$ref": "../../../molang/string.json",
"description": "Clientside molang variables that are to be evualated during the creation of the entity",
"title": "Initialize"
}
@@ -146,7 +146,7 @@
"title": "Pre Animation",
"items": {
"pattern": ";$",
"$ref": "../../../molang/1.8.0/string.json",
"$ref": "../../../molang/string.json",
"description": "Clientside molang variables that are to be evualated during the animation",
"title": "Pre Animation"
}
@@ -155,26 +155,26 @@
"type": "string",
"description": "TODO description: parent setup",
"title": "Parent Setup",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
"scale": {
"type": "string",
"description": "Scale sets the scale of the mob's geometry.",
"title": "Scale",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
"scalex": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale X" },
"scaley": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale Y" },
"scalez": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale Z" },
"scalex": { "$ref": "../../../molang/number.json", "title": "Scale X" },
"scaley": { "$ref": "../../../molang/number.json", "title": "Scale Y" },
"scalez": { "$ref": "../../../molang/number.json", "title": "Scale Z" },
"should_update_bones_and_effects_offscreen": {
"title": "Should Update Bones And Effects Offscreen",
"description": "Bones and effects will still be updated if the entity is off screen if this expression returns anything other than 0.0.",
"oneOf": [{ "type": "boolean" }, { "type": "string", "$ref": "../../../molang/1.8.0/string.json" }]
"oneOf": [{ "type": "boolean" }, { "type": "string", "$ref": "../../../molang/string.json" }]
},
"should_update_effects_offscreen": {
"title": "Should Update Effects Offscreen",
"description": "Effects will still be updated if the entity is off screen if this expression or `should_update_bones_and_effects_offscreen` returns anything other than 0.0.",
"oneOf": [{ "type": "boolean" }, { "type": "string", "$ref": "../../../molang/1.8.0/string.json" }]
"oneOf": [{ "type": "boolean" }, { "type": "string", "$ref": "../../../molang/string.json" }]
},
"variables": {
"title": "Variables",

View File

@@ -127,7 +127,7 @@
"title": "Pre Animation",
"items": {
"pattern": ";$",
"$ref": "../../../molang/1.8.0/string.json",
"$ref": "../../../molang/string.json",
"description": "Clientside molang variables that are to be evualated during the animation",
"title": "Pre Animation"
}
@@ -136,17 +136,17 @@
"type": "string",
"description": "TODO description: parent setup",
"title": "Parent Setup",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
"scale": {
"type": "string",
"description": "Scale sets the scale of the mob's geometry.",
"title": "Scale",
"$ref": "../../../molang/1.8.0/number.json"
"$ref": "../../../molang/number.json"
},
"scalex": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale X" },
"scaley": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale Y" },
"scalez": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale Z" }
"scalex": { "$ref": "../../../molang/number.json", "title": "Scale X" },
"scaley": { "$ref": "../../../molang/number.json", "title": "Scale Y" },
"scalez": { "$ref": "../../../molang/number.json", "title": "Scale Z" }
}
},
"sound_effects": {

View File

@@ -107,7 +107,7 @@
"binding": {
"title": "Binding",
"description": "useful for items. A molang expression specifying the bone name of the parent skeletal hierarchy that this bone should use as the root transform. Without this field it will look for a bone in the parent entity with the same name as this bone. If both are missing, it will assume a local skeletal hierarchy (via the \"parent\" field). If that is also missing, it will attach to the owning entity's root transform.",
"$ref": "../../../../molang/1.8.0/string.json"
"$ref": "../../../../molang/string.json"
},
"cubes": {
"title": "Cubes",

View File

@@ -6,12 +6,12 @@
"additionalProperties": false,
"properties": {
"creation_expression": {
"$ref": "../../../../molang/1.8.0/string.json",
"$ref": "../../../../molang/string.json",
"description": "This is run once at emitter startup.",
"title": "Creation Expression"
},
"per_update_expression": {
"$ref": "../../../../molang/1.8.0/string.json",
"$ref": "../../../../molang/string.json",
"description": "This is run once per emitter update.",
"title": "Per Update Expression"
}

View File

@@ -6,12 +6,12 @@
"additionalProperties": false,
"properties": {
"activation_expression": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "When the expression is non-zero, the emitter will emit particles. Evaluated every frame",
"title": "Activation Expression"
},
"expiration_expression": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "Emitter will expire if the expression is non-zero. Evaluated every frame",
"title": "Expiration Expression"
}

View File

@@ -5,12 +5,12 @@
"additionalProperties": false,
"properties": {
"active_time": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "Emitter will emit particles for this time per loop evaluated once per particle emitter loop",
"title": "Active Time"
},
"sleep_time": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "Emitter will pause emitting particles for this time per loop evaluated once per particle emitter loop",
"title": "Sleep Time"
}

View File

@@ -5,7 +5,7 @@
"additionalProperties": false,
"properties": {
"active_time": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "How long the particles emit for evaluated once",
"title": "Active Time"
}

View File

@@ -5,7 +5,7 @@
"additionalProperties": false,
"properties": {
"num_particles": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "This many particles are emitted at once evaluated once per particle emitter loop.",
"title": "Num Particles",
"default": 10

View File

@@ -5,7 +5,7 @@
"additionalProperties": false,
"properties": {
"max_particles": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "Evaluated once per particle emitted",
"title": "Max Particles"
}

View File

@@ -5,12 +5,12 @@
"additionalProperties": false,
"properties": {
"max_particles": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "Maximum number of particles that can be active at once for this emitter, evaluated once per particle emitter loop",
"title": "Max Particles"
},
"spawn_rate": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "How often a particle is emitted, in particles/sec evaluated once per particle emitted",
"title": "Spawn Rate"
}

View File

@@ -10,16 +10,16 @@
"default": "outwards",
"anyOf": [
{ "type": "string", "enum": ["inwards", "outwards"] },
{ "type": "array", "minItems": 3, "maxItems": 3, "items": { "$ref": "../../../../molang/1.8.0/number.json" } }
{ "type": "array", "minItems": 3, "maxItems": 3, "items": { "$ref": "../../../../molang/number.json" } }
]
},
"radius": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: radius", "title": "Radius" },
"radius": { "$ref": "../../../../molang/number.json", "description": "TODO description: radius", "title": "Radius" },
"offset": {
"type": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
@@ -31,7 +31,7 @@
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: half dimensions",
"title": "Half Dimensions"
},

View File

@@ -9,7 +9,7 @@
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: direction",
"title": "Direction"
},
@@ -21,7 +21,7 @@
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},

View File

@@ -7,18 +7,18 @@
"direction": {
"anyOf": [
{ "type": "string", "enum": ["inwards", "outwards"] },
{ "type": "array", "minItems": 3, "maxItems": 3, "items": { "$ref": "../../../../molang/1.8.0/number.json" } }
{ "type": "array", "minItems": 3, "maxItems": 3, "items": { "$ref": "../../../../molang/number.json" } }
],
"description": "TODO description: direction",
"title": "Direction"
},
"radius": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: radius", "title": "Radius" },
"radius": { "$ref": "../../../../molang/number.json", "description": "TODO description: radius", "title": "Radius" },
"offset": {
"type": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
@@ -34,9 +34,9 @@
{
"type": "array",
"items": [
{ "$ref": "../../../../molang/1.8.0/number.json" },
{ "$ref": "../../../../molang/1.8.0/number.json" },
{ "$ref": "../../../../molang/1.8.0/number.json" }
{ "$ref": "../../../../molang/number.json" },
{ "$ref": "../../../../molang/number.json" },
{ "$ref": "../../../../molang/number.json" }
]
}
]

View File

@@ -12,7 +12,7 @@
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: Todo",
"title": "Todo"
},
@@ -28,7 +28,7 @@
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},

View File

@@ -9,7 +9,7 @@
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: direction",
"title": "Direction"
},
@@ -21,7 +21,7 @@
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},

View File

@@ -12,7 +12,7 @@
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: Todo",
"title": "Todo"
},
@@ -28,14 +28,14 @@
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
"description": "TODO description",
"title": "TODO Title"
},
"radius": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: radius", "title": "Radius" },
"radius": { "$ref": "../../../../molang/number.json", "description": "TODO description: radius", "title": "Radius" },
"surface_only": { "type": "boolean", "description": "TODO description: surface only", "title": "Surface Only" }
},
"description": "TODO description: "

View File

@@ -8,7 +8,7 @@
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: size", "title": "Size" },
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: size", "title": "Size" },
"description": "TODO description: size",
"title": "Size"
},
@@ -33,7 +33,7 @@
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: base UV", "title": "Base U V" },
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: base UV", "title": "Base U V" },
"description": "TODO description: base UV",
"title": "Base U V"
},
@@ -41,7 +41,7 @@
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: size UV", "title": "Size U V" },
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: size UV", "title": "Size U V" },
"description": "TODO description: size UV",
"title": "Size U V"
},
@@ -49,16 +49,16 @@
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: step UV", "title": "Step U V" },
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: step UV", "title": "Step U V" },
"description": "TODO description: step UV",
"title": "Step U V"
},
"frames_per_second": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: frames per second",
"title": "Frames Per Second"
},
"max_frame": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: max frame", "title": "Max Frame" },
"max_frame": { "$ref": "../../../../molang/number.json", "description": "TODO description: max frame", "title": "Max Frame" },
"stretch_to_lifetime": { "type": "boolean", "description": "TODO description: stretch to lifetime", "title": "Stretch To Lifetime" },
"loop": { "type": "boolean", "description": "TODO description: loop", "title": "Loop" }
},
@@ -69,7 +69,7 @@
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: uv", "title": "Uv" },
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: uv", "title": "Uv" },
"description": "TODO description: uv",
"title": "Uv"
},
@@ -77,7 +77,7 @@
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: uv size", "title": "Uv Size" },
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: uv size", "title": "Uv Size" },
"description": "TODO description: uv size",
"title": "Uv Size"
}

View File

@@ -8,7 +8,7 @@
"color": {
"title": "Color",
"anyOf": [
{ "type": "array", "description": "Direct color field", "items": { "$ref": "../../../../molang/1.8.0/number.json" } },
{ "type": "array", "description": "Direct color field", "items": { "$ref": "../../../../molang/number.json" } },
{ "type": "string", "format": "color-hex", "description": "Direct color field" },
{
"description": "Interpolation based color",
@@ -45,7 +45,7 @@
}
]
},
"interpolant": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: interpolant", "title": "Interpolant" }
"interpolant": { "$ref": "../../../../molang/number.json", "description": "TODO description: interpolant", "title": "Interpolant" }
}
}
],

View File

@@ -3,10 +3,10 @@
"title": "Particle Initial Speed Component For 1.10.0",
"additionalProperties": false,
"anyOf": [
{ "$ref": "../../../../molang/1.8.0/number.json" },
{ "$ref": "../../../../molang/number.json" },
{
"type": "array",
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description", "title": "TODO Title" },
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description", "title": "TODO Title" },
"minItems": 3,
"maxItems": 3,
"description": "TODO description",

View File

@@ -5,9 +5,9 @@
"additionalProperties": false,
"type": "object",
"properties": {
"rotation": { "$ref": "../../../../molang/1.8.0/number.json", "description": "Specifies the initial rotation in degrees", "title": "Rotation" },
"rotation": { "$ref": "../../../../molang/number.json", "description": "Specifies the initial rotation in degrees", "title": "Rotation" },
"rotation_rate": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "Specifies the spin rate in degrees/second",
"title": "Rotation Rate"
}

View File

@@ -5,12 +5,12 @@
"additionalProperties": false,
"properties": {
"per_update_expression": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: per update expression",
"title": "Per Update Expression"
},
"per_render_expression": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "TODO description: per render expression",
"title": "Per Render Expression"
}

View File

@@ -2,6 +2,6 @@
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_kill_plane",
"type": "array",
"title": "Particle Kill Plane Component For 1.10.0",
"items": { "minItems": 4, "maxItems": 4, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description", "title": "TODO Title" },
"items": { "minItems": 4, "maxItems": 4, "$ref": "../../../../molang/number.json", "description": "TODO description", "title": "TODO Title" },
"description": "TODO description"
}

View File

@@ -8,10 +8,10 @@
"expiration_expression": {
"title": "Expiration Expression",
"description": "This expression makes the particle expire when true (non-zero), The float/expr is evaluated once per particle, evaluated every frame",
"$ref": "../../../../molang/1.8.0/number.json"
"$ref": "../../../../molang/number.json"
},
"max_lifetime": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "Alternate way to express lifetime, particle will expire after this much time, evaluated once",
"title": "Max Lifetime"
}

View File

@@ -11,7 +11,7 @@
"title": "Coefficient Of Restitution"
},
"collision_radius": { "type": "number", "description": "TODO description: collision radius", "title": "Collision Radius" },
"enabled": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: enabled", "title": "Enabled" },
"enabled": { "$ref": "../../../../molang/number.json", "description": "TODO description: enabled", "title": "Enabled" },
"expire_on_contact": { "type": "boolean", "description": "TODO description: expire on contact", "title": "Expire On Contact" },
"events": {
"type": "array",

View File

@@ -10,24 +10,24 @@
"default": [0, 0, 0],
"minItems": 3,
"maxItems": 3,
"items": { "$ref": "../../../../molang/1.8.0/number.json" },
"items": { "$ref": "../../../../molang/number.json" },
"description": "The linear acceleration applied to the particle. Units are blocks/sec/sec",
"title": "Linear Acceleration"
},
"linear_drag_coefficient": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "Using the equation: 'acceleration = -linear_drag_coefficient*velocity' where velocity is the current direction times speed. Think of this as air-drag. The higher the value, the more drag evaluated every frame",
"default": 0,
"title": "Linear Drag Coefficient"
},
"rotation_acceleration": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "Acceleration applies to the rotation speed of the particle",
"title": "Rotation Acceleration",
"default": 0
},
"rotation_drag_coefficient": {
"$ref": "../../../../molang/1.8.0/number.json",
"$ref": "../../../../molang/number.json",
"description": "Drag applied to rotation",
"title": "Rotation Drag Coefficient",
"default": 0

View File

@@ -8,11 +8,11 @@
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: relative position", "title": "Relative Position" },
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: relative position", "title": "Relative Position" },
"description": "TODO description: relative position",
"title": "Relative Position"
},
"rotation": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: rotation", "title": "Rotation" }
"rotation": { "$ref": "../../../../molang/number.json", "description": "TODO description: rotation", "title": "Rotation" }
},
"description": "TODO description: "
}

View File

@@ -56,12 +56,12 @@
"title": "Curve",
"description": "TODO",
"properties": {
"input": { "$ref": "../../../molang/1.8.0/number.json", "title": "Input", "description": "What is the input value to use" },
"input": { "$ref": "../../../molang/number.json", "title": "Input", "description": "What is the input value to use" },
"nodes": {
"description": "Control nodes for curve. These are assumed to be equally, used Object for bezier_chain",
"title": "Nodes",
"oneOf": [
{ "minItems": 1, "type": "array", "items": { "$ref": "../../../molang/1.8.0/number.json" } },
{ "minItems": 1, "type": "array", "items": { "$ref": "../../../molang/number.json" } },
{
"type": "object",
"propertyNames": { "pattern": "(^[\\-0-9]+$|^[\\-0-9]+\\.[\\-0-9]+$)" },

View File

@@ -119,7 +119,7 @@
}
},
"light_color_multiplier": {
"$ref": "../../../molang/1.8.0/number.json",
"$ref": "../../../molang/number.json",
"description": "The amount of light that blends into what is being rendered, lower values gives darker rendering, (1 = 100%)",
"title": "Light Color Multiplier"
},
@@ -192,7 +192,7 @@
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../molang/1.8.0/number.json", "description": "TODO description: offset", "title": "Offset" },
"items": { "$ref": "../../../molang/number.json", "description": "TODO description: offset", "title": "Offset" },
"description": "TODO description: offset",
"title": "Offset"
},
@@ -202,7 +202,7 @@
"title": "Scale",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../molang/1.8.0/number.json", "description": "TODO description: scale", "title": "Scale" }
"items": { "$ref": "../../../molang/number.json", "description": "TODO description: scale", "title": "Scale" }
}
},
"description": "TODO description: uv anim",

View File

@@ -118,7 +118,7 @@
}
},
"light_color_multiplier": {
"$ref": "../../../molang/1.8.0/number.json",
"$ref": "../../../molang/number.json",
"description": "The amount of light that blends into what is being rendered, lower values gives darker rendering, (1 = 100%)",
"title": "Light Color Multiplier"
},
@@ -196,7 +196,7 @@
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../molang/1.8.0/number.json", "description": "TODO description: offset", "title": "Offset" },
"items": { "$ref": "../../../molang/number.json", "description": "TODO description: offset", "title": "Offset" },
"description": "TODO description: offset",
"title": "Offset"
},
@@ -206,7 +206,7 @@
"title": "Scale",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../molang/1.8.0/number.json", "description": "TODO description: scale", "title": "Scale" }
"items": { "$ref": "../../../molang/number.json", "description": "TODO description: scale", "title": "Scale" }
}
},
"description": "TODO description: uv anim",