This commit is contained in:
DaanV2
2021-06-08 17:06:03 +02:00
parent ff3344cff0
commit cf2fa6212a
38 changed files with 27447 additions and 44 deletions
+6 -1
View File
@@ -4,7 +4,6 @@
"object_check": {
"type": "object",
"dependencies": {
"description": ["title"],
"additionalProperties": ["type"],
"items": ["type"],
"properties": ["type"]
@@ -24,6 +23,12 @@
{ "type": "number" },
{ "type": "integer" }
]
},
"properties": {
"title": {
"type": "string",
"pattern": "^([A-Z0-9][a-z0-9]*(| ))*$"
}
}
},
"array_check": {
+664 -1
View File
File diff suppressed because one or more lines are too long
+20254 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+587 -1
View File
File diff suppressed because one or more lines are too long
+1912 -1
View File
File diff suppressed because one or more lines are too long
+179 -1
View File
File diff suppressed because one or more lines are too long
+2001 -1
View File
File diff suppressed because one or more lines are too long
+120 -1
View File
@@ -1 +1,120 @@
{"$id":"blockception.minecraft.behavior.volumes","examples":[{"format_version":"1.17.0","minecraft:volume":{"description":{"identifier":"example:foo"},"components":{}}}],"allOf":[{"if":{"properties":{"format_version":{"type":"string","const":"1.17.0"}}},"then":{"$ref":"#/definitions/A"}},{"properties":{"format_version":{"$ref":"#/definitions/C"}}}],"definitions":{"B":{"type":"string","title":"Entity Identifier 1.8.0","description":"The minecraft entity volume","examples":["namespace:volume"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$"},"A":{"type":"object","title":"Spawn Rules 1.17.0","description":"TODO","additionalProperties":false,"required":["format_version","minecraft:volume"],"properties":{"format_version":{"const":"1.17.0","description":"Specifies the version of the game this entity was made in. Minimum supported version is 1.17.0. Current supported version is 1.17.0.","title":"TODO Title"},"minecraft:volume":{"type":"object","title":"Spawn Rules","description":"TODO","additionalProperties":false,"properties":{"description":{"type":"object","title":"Description","description":"The description contains a single `identifier` string","additionalProperties":false,"properties":{"identifier":{"title":"Identifier","description":"The unique identifier for this volume. It must be of the form `namespace:name', where namespace cannot be `minecraft'.","$ref":"#/definitions/B"}}},"components":{"type":"object","title":"Components","description":"TODO","additionalProperties":false,"properties":{"minecraft:bounds":{"title":"Minecraft:bounds","description":"Component that defines a minimum and maximum block position for a bounding box and which world dimension the bounding box is in. Every volume must have a bounds component.","type":"object","additionalProperties":false,"properties":{"dimension":{"type":"string","description":"The name of the dimension the bounding box will exist in: one of `overworld', `nether` or `the end'.","title":"Dimension","enum":["overworld","nether","the end"]},"max":{"type":"array","description":"The maximum block position of the bounding box.","title":"Maximum","items":[{"title":"A","type":"number"},{"title":"B","type":"number"},{"title":"C","type":"number"}]},"min":{"type":"array","description":"The minimum block position of the bounding box.","title":"Minimum","items":[{"title":"A","type":"number"},{"title":"B","type":"number"},{"title":"C","type":"number"}]}}},"minecraft:fog":{"title":"Minecraft:fog","description":"Displays the given fog whenever a player enters the volume. Each volume can only have one fog attached.","type":"object","additionalProperties":false,"properties":{"fog_identifier":{"type":"string","default":"","description":"The identifier of a fog definition. Note that you will not receive any feedback if the definition does not exist.","title":"fog identifier"},"priority":{"type":"integer","default":2147483647,"description":"The priority for this fog definition setting. Smaller numbers have higher priority. Fogs with equal priority will be combined together.","title":"priority"}}}}}}}}},"C":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^(1)\\.([0-9]+)\\.([0-9]+)$","type":"string"}}}
{
"$id": "blockception.minecraft.behavior.volumes",
"examples": [{ "format_version": "1.17.0", "minecraft:volume": { "description": { "identifier": "example:foo" }, "components": {} } }],
"allOf": [
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.17.0" } } }, "then": { "$ref": "#/definitions/A" } },
{ "properties": { "format_version": { "$ref": "#/definitions/C" } } }
],
"definitions": {
"B": {
"type": "string",
"title": "Entity Identifier 1.8.0",
"description": "The minecraft entity volume",
"examples": ["namespace:volume"],
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$"
},
"A": {
"type": "object",
"title": "Spawn Rules 1.17.0",
"description": "TODO",
"additionalProperties": false,
"required": ["format_version", "minecraft:volume"],
"properties": {
"format_version": {
"const": "1.17.0",
"description": "Specifies the version of the game this entity was made in. Minimum supported version is 1.17.0. Current supported version is 1.17.0.",
"title": "TODO Title"
},
"minecraft:volume": {
"type": "object",
"title": "Spawn Rules",
"description": "TODO",
"additionalProperties": false,
"properties": {
"description": {
"type": "object",
"title": "Description",
"description": "The description contains a single `identifier` string",
"additionalProperties": false,
"properties": {
"identifier": {
"title": "Identifier",
"description": "The unique identifier for this volume. It must be of the form `namespace:name', where namespace cannot be `minecraft`.",
"$ref": "#/definitions/B"
}
}
},
"components": {
"type": "object",
"title": "Components",
"description": "TODO",
"additionalProperties": false,
"properties": {
"minecraft:bounds": {
"title": "Minecraft:bounds",
"description": "Component that defines a minimum and maximum block position for a bounding box and which world dimension the bounding box is in. Every volume must have a bounds component.",
"type": "object",
"additionalProperties": false,
"properties": {
"dimension": {
"type": "string",
"description": "The name of the dimension the bounding box will exist in: one of `overworld', `nether` or `the end`.",
"title": "Dimension",
"enum": ["overworld", "nether", "the end"]
},
"max": {
"type": "array",
"description": "The maximum block position of the bounding box.",
"title": "Maximum",
"items": [
{ "title": "A", "type": "number" },
{ "title": "B", "type": "number" },
{ "title": "C", "type": "number" }
]
},
"min": {
"type": "array",
"description": "The minimum block position of the bounding box.",
"title": "Minimum",
"items": [
{ "title": "A", "type": "number" },
{ "title": "B", "type": "number" },
{ "title": "C", "type": "number" }
]
}
}
},
"minecraft:fog": {
"title": "Minecraft:fog",
"description": "Displays the given fog whenever a player enters the volume. Each volume can only have one fog attached.",
"type": "object",
"additionalProperties": false,
"properties": {
"fog_identifier": {
"type": "string",
"default": "",
"description": "The identifier of a fog definition. Note that you will not receive any feedback if the definition does not exist.",
"title": "fog identifier"
},
"priority": {
"type": "integer",
"default": 2147483647,
"description": "The priority for this fog definition setting. Smaller numbers have higher priority. Fogs with equal priority will be combined together.",
"title": "priority"
}
}
}
}
}
}
}
}
},
"C": {
"title": "Format Version",
"description": "A version that tells minecraft what type of data format can be expected when reading this file.",
"pattern": "^(1)\\.([0-9]+)\\.([0-9]+)$",
"type": "string"
}
}
}
+235 -1
View File
File diff suppressed because one or more lines are too long
@@ -71,7 +71,7 @@
"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'.",
"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"]
},
@@ -26,7 +26,7 @@
"big_wave_speed": {
"type": "number",
"default": 10,
"description": "Multiplier for the speed to make a big wave. Triggered depending on `big_wave_probability'.",
"description": "Multiplier for the speed to make a big wave. Triggered depending on `big_wave_probability`.",
"title": "Big Wave Speed"
},
"drag_down_on_buoyancy_removed": {
@@ -26,7 +26,7 @@
"big_wave_speed": {
"type": "number",
"default": 10,
"description": "Multiplier for the speed to make a big wave. Triggered depending on `big_wave_probability'.",
"description": "Multiplier for the speed to make a big wave. Triggered depending on `big_wave_probability`.",
"title": "Big Wave Speed"
},
"drag_down_on_buoyancy_removed": {
@@ -12,7 +12,7 @@
},
"operator": {
"$ref": "./types/operator.json",
"description": "(Optional) The comparison to apply with `value'.",
"description": "(Optional) The comparison to apply with `value`.",
"default": "equals",
"title": "Operator"
},
@@ -6,7 +6,7 @@
"required": ["value"],
"properties": {
"test": { "type": "string", "title": "Test Property", "description": "Compares the distance to the nearest Player with a float value." },
"operator": { "$ref": "./types/operator.json", "description": "(Optional) The comparison to apply with `value'.", "title": "Operator" },
"operator": { "$ref": "./types/operator.json", "description": "(Optional) The comparison to apply with `value`.", "title": "Operator" },
"subject": { "$ref": "./types/subject.json", "description": "(Optional) The subject of this filter test.", "title": "Subject" },
"value": { "type": "number", "description": "(Required) A floating point value.", "title": "Value" }
}
@@ -11,7 +11,7 @@
},
"operator": {
"$ref": "./types/operator.json",
"description": "(Optional) The comparison to apply with `value'.",
"description": "(Optional) The comparison to apply with `value`.",
"default": "equals",
"title": "Operator"
},
@@ -2,7 +2,7 @@
"$id": "blockception.minecraft.behavior.entities.filters.operator",
"title": "Filters Operator",
"type": "string",
"description": "The comparison to apply with `value'.",
"description": "The comparison to apply with `value`.",
"default": "equals",
"enum": ["!=", "<", "<=", "<>", "=", "==", ">", ">=", "equals", "not"]
}
@@ -61,7 +61,7 @@
"properties": {
"identifier": {
"title": "Identifier",
"description": "The name of this feature in the form `namespace_name:feature_name'. `feature_name` must match the filename.",
"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"
},
@@ -11,7 +11,7 @@
"properties": {
"identifier": {
"title": "Identifier",
"description": "The name of this feature in the form `namespace_name:feature_name'. `feature_name` must match the filename.",
"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"
}
@@ -9,7 +9,7 @@
"properties": {
"identifier": {
"title": "Identifier",
"description": "The name of this feature in the form `namespace_name:feature_name'. `feature_name` must match the filename.",
"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"
}
@@ -9,7 +9,7 @@
"properties": {
"identifier": {
"title": "Identifier",
"description": "The name of this feature in the form `namespace_name:feature_name'. `feature_name` must match the filename.",
"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"
}
@@ -9,7 +9,7 @@
"properties": {
"identifier": {
"title": "Identifier",
"description": "The name of this feature in the form `namespace_name:feature_name'. `feature_name` must match the filename.",
"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"
}
@@ -9,7 +9,7 @@
"properties": {
"identifier": {
"title": "Identifier",
"description": "The name of this feature in the form `namespace_name:feature_name'. `feature_name` must match the filename.",
"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"
}
@@ -9,7 +9,7 @@
"properties": {
"identifier": {
"title": "Identifier",
"description": "The name of this feature in the form `namespace_name:feature_name'. `feature_name` must match the filename.",
"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"
}
@@ -9,7 +9,7 @@
"properties": {
"identifier": {
"title": "Identifier",
"description": "The name of this feature in the form `namespace_name:feature_name'. `feature_name` must match the filename.",
"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"
}
@@ -9,7 +9,7 @@
"properties": {
"identifier": {
"title": "Identifier",
"description": "The name of this feature in the form `namespace_name:feature_name'. `feature_name` must match the filename.",
"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"
}
@@ -9,7 +9,7 @@
"properties": {
"identifier": {
"title": "Identifier",
"description": "The name of this feature in the form `namespace_name:feature_name'. `feature_name` must match the filename.",
"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"
}
@@ -9,7 +9,7 @@
"properties": {
"identifier": {
"title": "Identifier",
"description": "The name of this feature in the form `namespace_name:feature_name'. `feature_name` must match the filename.",
"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"
}
@@ -9,7 +9,7 @@
"properties": {
"identifier": {
"title": "Identifier",
"description": "The name of this feature in the form `namespace_name:feature_name'. `feature_name` must match the filename.",
"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"
}
@@ -9,7 +9,7 @@
"properties": {
"identifier": {
"title": "Identifier",
"description": "The name of this feature in the form `namespace_name:feature_name'. `feature_name` must match the filename.",
"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"
}
+2 -2
View File
@@ -59,11 +59,11 @@
},
"on_use_action": {
"type": "string",
"description": "'chorus_teleport` or `none'.",
"description": "'chorus_teleport` or `none`.",
"enum": ["chorus_teleport", "suspicious_stew_effect", "none"]
},
"on_use_range": { "$ref": "../../../general/array_3_number.json" },
"cooldown_type": { "type": "string", "description": "'chorusfruit` or `none'.", "enum": ["chorusfruit", "none"] },
"cooldown_type": { "type": "string", "description": "'chorusfruit` or `none`.", "enum": ["chorusfruit", "none"] },
"cooldown_time": { "type": "integer", "description": "Cooldown time in ticks." },
"can_always_eat": { "type": "boolean", "description": "Can always eat this item? true or false." },
"effects": {
+2 -2
View File
@@ -72,14 +72,14 @@
},
"on_use_action": {
"type": "string",
"description": "'chorus_teleport` or `none'.",
"description": "'chorus_teleport` or `none`.",
"title": "UNDOCUMANTED",
"enum": ["chorus_teleport", "suspicious_stew_effect", "none"]
},
"on_use_range": { "$ref": "../../../general/array_3_number.json", "title": "UNDOCUMANTED" },
"cooldown_type": {
"type": "string",
"description": "'chorusfruit` or `none'.",
"description": "'chorusfruit` or `none`.",
"title": "UNDOCUMANTED",
"enum": ["chorusfruit", "none"]
},
+2 -2
View File
@@ -88,14 +88,14 @@
},
"on_use_action": {
"type": "string",
"description": "'chorus_teleport` or `none'.",
"description": "'chorus_teleport` or `none`.",
"title": "UNDOCUMANTED",
"enum": ["chorus_teleport", "suspicious_stew_effect", "none"]
},
"on_use_range": { "$ref": "../../../general/array_3_number.json" },
"cooldown_type": {
"type": "string",
"description": "'chorusfruit` or `none'.",
"description": "'chorusfruit` or `none`.",
"title": "UNDOCUMANTED",
"enum": ["chorusfruit", "none"]
},
@@ -29,7 +29,7 @@
},
"using_converts_to": {
"title": "Using Converts To",
"description": "When used, convert the *this* item to the one specified by `using_converts_to'.",
"description": "When used, convert the *this* item to the one specified by `using_converts_to`.",
"type": "string"
}
}
@@ -29,7 +29,7 @@
},
"using_converts_to": {
"title": "Using Converts To",
"description": "When used, convert the *this* item to the one specified by `using_converts_to'.",
"description": "When used, convert the *this* item to the one specified by `using_converts_to`.",
"type": "string"
}
}
@@ -1,6 +1,6 @@
{
"$id": "blockception.minecraft.behavior.1.12.0.recipe.furnace",
"description": "Represents a furnace recipe for a furnace.'Input` items will burn and transform into items specified in `output'..",
"description": "Represents a furnace recipe for a furnace.'Input` items will burn and transform into items specified in `output`..",
"title": "Furnace Recipe 1.12.0",
"additionalProperties": false,
"required": ["description"],
+2 -2
View File
@@ -25,7 +25,7 @@
"properties": {
"identifier": {
"title": "Identifier",
"description": "The unique identifier for this volume. It must be of the form `namespace:name', where namespace cannot be `minecraft'.",
"description": "The unique identifier for this volume. It must be of the form `namespace:name', where namespace cannot be `minecraft`.",
"$ref": "../../../general/volume/identifier.json"
}
}
@@ -44,7 +44,7 @@
"properties": {
"dimension": {
"type": "string",
"description": "The name of the dimension the bounding box will exist in: one of `overworld', `nether` or `the end'.",
"description": "The name of the dimension the bounding box will exist in: one of `overworld', `nether` or `the end`.",
"title": "Dimension",
"enum": ["overworld", "nether", "the end"]
},
+3 -3
View File
@@ -27,13 +27,13 @@
"properties": {
"fog_start": {
"title": "Fog Start",
"description": "The distance from the player that the fog will begin to appear. `fog_start` must be less than or equal to `fog_end'.",
"description": "The distance from the player that the fog will begin to appear. `fog_start` must be less than or equal to `fog_end`.",
"type": "number",
"minimum": 0
},
"fog_end": {
"title": "Fog End",
"description": "The distance from the player that the fog will become fully opaque. `fog_end` must be greater than or equal to `fog_start'.",
"description": "The distance from the player that the fog will become fully opaque. `fog_end` must be greater than or equal to `fog_start`.",
"type": "number",
"minimum": 0
},
@@ -68,7 +68,7 @@
},
"zero_density_height": {
"title": "Zero Density Height",
"description": "The height in blocks that the ground fog will be completely transparent and begin to appear. This value needs to be at least 1 higher than `max_density_height'.",
"description": "The height in blocks that the ground fog will be completely transparent and begin to appear. This value needs to be at least 1 higher than `max_density_height`.",
"minimum": 0,
"maximum": 128,
"type": "number"