auto: generated json schemas 2025-02-13
This commit is contained in:
2
behavior/biomes/biomes.json
generated
2
behavior/biomes/biomes.json
generated
File diff suppressed because one or more lines are too long
2
behavior/blocks/blocks.json
generated
2
behavior/blocks/blocks.json
generated
File diff suppressed because one or more lines are too long
2
behavior/cameras/presets/cameras.json
generated
2
behavior/cameras/presets/cameras.json
generated
@@ -1 +1 @@
|
||||
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.behavior.cameras.preset","defaultSnippets":[{"format_version":"${1:1.20.80}","minecraft:npc_dialogue":{"identifier":"$2","inherit_from":"$3","pos_x":30,"pos_y":90,"pos_z":-20,"rot_x":10,"rot_y":40}}],"examples":[{"format_version":"1.20.80","minecraft:npc_dialogue":{"identifier":"example:custom","inherit_from":"minecraft:free","pos_x":30,"pos_y":90,"pos_z":-20,"rot_x":10,"rot_y":40}}],"type":"object","title":"Camera Preset","description":"A camera preset is a set of values that define a camera's position and rotation. This can be used to quickly set a camera to a specific position and rotation.","additionalProperties":false,"required":["format_version","minecraft:camera_preset"],"properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:camera_preset":{"identifier":{"type":"string","description":"The identifier of the camera preset. This is used to reference the camera preset in other components.","$ref":"#/definitions/B"},"inherit_from":{"type":"string","description":"The identifier of the camera preset to inherit from. This will copy the values from the inherited camera preset and then apply the values from this camera preset.","$ref":"#/definitions/B"},"player_effects":{"type":"boolean","description":"If true, the camera will apply player effects such as nausea and blindness.","default":false},"listener":{"type":"string","description":"Specifies what / who acts as the ears for the camera.","examples":["player"]},"pos_x":{"type":"number","description":"The x position of the camera.","default":0},"pos_y":{"type":"number","description":"The y position of the camera.","default":0},"pos_z":{"type":"number","description":"The z position of the camera.","default":0},"rot_x":{"type":"number","description":"The pitch of the camera. positive values look down, negative values look up.","default":0,"examples":[0,22.5,45,67.5,90,-22.5,-45,-67.5,-90]},"rot_y":{"type":"number","description":"The yaw of the camera. This is the direction the camera is facing.","default":0,"examples":[0,90,180,270]}}},"definitions":{"A":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^([1-9]+)\\.([0-9]+)\\.([0-9]+)$","type":"string","default":"1.21.50","examples":["1.21.50","1.20.81","1.20.40","1.19.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]},"B":{"description":"A minecraft camera identifier.","examples":["namespace:camera"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$","title":"Camera Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]}}}
|
||||
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.behavior.cameras.preset","defaultSnippets":[{"format_version":"${1:1.20.80}","minecraft:npc_dialogue":{"identifier":"$2","inherit_from":"$3","pos_x":30,"pos_y":90,"pos_z":-20,"rot_x":10,"rot_y":40}}],"examples":[{"format_version":"1.20.80","minecraft:npc_dialogue":{"identifier":"example:custom","inherit_from":"minecraft:free","pos_x":30,"pos_y":90,"pos_z":-20,"rot_x":10,"rot_y":40}}],"type":"object","title":"Camera Preset","description":"A camera preset is a set of values that define a camera's position and rotation. This can be used to quickly set a camera to a specific position and rotation.","additionalProperties":false,"required":["format_version","minecraft:camera_preset"],"properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:camera_preset":{"identifier":{"type":"string","description":"The identifier of the camera preset. This is used to reference the camera preset in other components.","$ref":"#/definitions/B"},"inherit_from":{"type":"string","description":"The identifier of the camera preset to inherit from. This will copy the values from the inherited camera preset and then apply the values from this camera preset.","$ref":"#/definitions/B"},"player_effects":{"type":"boolean","description":"If true, the camera will apply player effects such as nausea and blindness.","default":false},"listener":{"type":"string","description":"Specifies what / who acts as the ears for the camera.","examples":["player"]},"pos_x":{"type":"number","description":"The x position of the camera.","default":0},"pos_y":{"type":"number","description":"The y position of the camera.","default":0},"pos_z":{"type":"number","description":"The z position of the camera.","default":0},"rot_x":{"type":"number","description":"The pitch of the camera. positive values look down, negative values look up.","default":0,"examples":[0,22.5,45,67.5,90,-22.5,-45,-67.5,-90]},"rot_y":{"type":"number","description":"The yaw of the camera. This is the direction the camera is facing.","default":0,"examples":[0,90,180,270]}}},"definitions":{"A":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^([1-9]+)\\.([0-9]+)\\.([0-9]+)$","type":"string","default":"1.21.60","examples":["1.21.50","1.20.80","1.20.40","1.19.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]},"B":{"description":"A minecraft camera identifier.","examples":["namespace:camera"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$","title":"Camera Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]}}}
|
||||
2
behavior/dialogue/dialogue.json
generated
2
behavior/dialogue/dialogue.json
generated
File diff suppressed because one or more lines are too long
2
behavior/entities/entities.json
generated
2
behavior/entities/entities.json
generated
File diff suppressed because one or more lines are too long
2
behavior/feature_rules/feature_rules.json
generated
2
behavior/feature_rules/feature_rules.json
generated
File diff suppressed because one or more lines are too long
2
behavior/features/features.json
generated
2
behavior/features/features.json
generated
File diff suppressed because one or more lines are too long
1
behavior/item_catalog/crafting_item_catalog.json
generated
Normal file
1
behavior/item_catalog/crafting_item_catalog.json
generated
Normal file
@@ -0,0 +1 @@
|
||||
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.behavior.item_catalog.crafting_item_catalog","type":"object","title":"Crafting Item Catalog","description":"Used to define the creative inventory/recipe book","required":["format_version","minecraft:crafting_items_catalog"],"additionalProperties":false,"properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:crafting_items_catalog":{"$ref":"#/definitions/B"}},"definitions":{"A":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^([1-9]+)\\.([0-9]+)\\.([0-9]+)$","type":"string","default":"1.21.60","examples":["1.21.50","1.20.80","1.20.40","1.19.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]},"B_category":{"title":"Category","description":"You can add new items to the existing categories.","type":"object","additionalProperties":false,"required":["category_name","groups"],"properties":{"category_name":{"title":"Category Name","description":"Determines which category this block/item will be placed under in the inventory and crafting table container screens.","enum":["construction","equipment","items","nature"]},"groups":{"title":"Groups","description":"Defines a new group which will be added to the category you specify at the end of all existing items/groups.","type":"array","items":{"$ref":"#/definitions/B_group"}}}},"B_group":{"title":"Group","description":"Represents a group of items. A group can be collapsible if it is provided with a group identifier, or added a set of loose items without an icon.","type":"object","additionalProperties":false,"required":["items"],"properties":{"group_identifier":{"title":"Group Identifier","description":"Optional field to give an icon and name to a group. Otherwise the items are added as loose items. If there are two groups with the same name within a category, they will merge.","type":"object","additionalProperties":false,"required":["name"],"properties":{"icon":{"title":"Icon","description":"The item or block that represents the group.","type":"string"},"name":{"title":"Name","description":"The localization string that is display when you hover over your group name. The localization string needs to include the namespace.","type":"string","pattern":"^(?:.)+:(?:.)+$"}}},"items":{"title":"Items","description":"List of items to be added","type":"array","items":{"anyOf":[{"type":"string","description":"The name of an item or block. A namespace for the item is required","pattern":"^(?:.)+:(?:.)+$"},{"type":"object","description":"The name of an item or block. A namespace for the item is required","properties":{"name":{"description":"You can optionally provide an aux value for items that use it at the end. Example: namespace:my_item:1","type":"string","pattern":"^(?:.)+:(?:.)+$"}},"required":["name"]}]}}}},"B":{"type":"object","title":"Crafting Items Catalog","additionalProperties":false,"required":["categories"],"properties":{"categories":{"title":"Categories","description":"","type":"array","minItems":1,"items":{"$ref":"#/definitions/B_category"}}}}}}
|
||||
2
behavior/items/items.json
generated
2
behavior/items/items.json
generated
File diff suppressed because one or more lines are too long
2
behavior/lighting/global.json
generated
2
behavior/lighting/global.json
generated
@@ -1 +1 @@
|
||||
{"$id":"blockception.minecraft.behavior.lighting.global","type":"object","additionalProperties":false,"properties":{"format_version":{"$ref":"#/definitions/A"},"directional_lights":{"type":"object","additionalProperties":false,"title":"Directional Lights","description":"The directional lights that affect the world","properties":{"sun":{"type":"object","title":"Sun","description":"The sun directional light","additionalProperties":false,"properties":{"illuminance":{"type":"number","title":"Illuminance","description":"How bright the sun is, measured in lux (lx)"},"color":{"title":"Color","description":"The RGB color that the sun contributes to direct surface lighting; supports RGB array or HEX string","$ref":"#/definitions/B"}}},"moon":{"type":"object","title":"Moon","description":"The moon directional light","additionalProperties":false,"properties":{"illuminance":{"type":"number","title":"Illuminance","description":"How bright the moon is, measured in lux (lx)"},"color":{"title":"Color","description":"The RGB color that the moon contributes to direct surface lighting; supports RGB array or HEX string","$ref":"#/definitions/B"}}},"orbital_offset_degrees":{"type":"number","title":"Orbital Offset Degrees","description":"The rotational offset of the sun and moon from their standard orbital axis; measured in degrees"},"point_lights":{"type":"object","title":"Point Lights","description":"The point lights that affect the world","additionalProperties":false,"properties":{"colors":{"type":"object","title":"Colors","description":"List of key-value pairs where the key is a namespace-qualified block name and the value is a color","additionalProperties":{"$ref":"#/definitions/B"},"examples":[{"minecraft:stone":"#ffffff","minecraft:grass":[0,255,0]}]}}},"pbr":{"title":"PBR","description":"The physically-based rendering properties for the world","type":"object","additionalProperties":false,"properties":{"blocks":{"title":"Blocks","description":"The PBR properties for blocks","type":"object","additionalProperties":false,"properties":{"color":{"title":"Color","description":"The default MER value to use for blocks when not defined via textureset; supports RGB array or HEX string","$ref":"#/definitions/B"}}},"actors":{"title":"Actors","description":"The PBR properties for actors","type":"object","additionalProperties":false,"properties":{"color":{"title":"Color","description":"The default MER value to use for actors/mobs when not defined via textureset; supports RGB array or HEX string","$ref":"#/definitions/B"}}},"particles":{"title":"Particles","description":"The PBR properties for particles","type":"object","additionalProperties":false,"properties":{"color":{"title":"Color","description":"The default MER value to use for particles when not defined via textureset; supports RGB array or HEX string","$ref":"#/definitions/B"}}}}}}}},"definitions":{"A":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^([1-9]+)\\.([0-9]+)\\.([0-9]+)$","type":"string","default":"1.21.50","examples":["1.21.50","1.20.81","1.20.40","1.19.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]},"B":{"title":"Lighting Color","description":"The color of the light emitted by the block, in RGB format or hex format.","oneOf":[{"type":"string","format":"color-hex","examples":["#FFFFFF","#000000"]},{"type":"array","items":[{"title":"Red","type":"integer","minimum":0,"maximum":255},{"title":"Blue","type":"integer","minimum":0,"maximum":255},{"title":"Green","type":"integer","minimum":0,"maximum":255}]}]}}}
|
||||
{"$id":"blockception.minecraft.behavior.lighting.global","type":"object","additionalProperties":false,"properties":{"format_version":{"$ref":"#/definitions/A"},"directional_lights":{"type":"object","additionalProperties":false,"title":"Directional Lights","description":"The directional lights that affect the world","properties":{"sun":{"type":"object","title":"Sun","description":"The sun directional light","additionalProperties":false,"properties":{"illuminance":{"type":"number","title":"Illuminance","description":"How bright the sun is, measured in lux (lx)"},"color":{"title":"Color","description":"The RGB color that the sun contributes to direct surface lighting; supports RGB array or HEX string","$ref":"#/definitions/B"}}},"moon":{"type":"object","title":"Moon","description":"The moon directional light","additionalProperties":false,"properties":{"illuminance":{"type":"number","title":"Illuminance","description":"How bright the moon is, measured in lux (lx)"},"color":{"title":"Color","description":"The RGB color that the moon contributes to direct surface lighting; supports RGB array or HEX string","$ref":"#/definitions/B"}}},"orbital_offset_degrees":{"type":"number","title":"Orbital Offset Degrees","description":"The rotational offset of the sun and moon from their standard orbital axis; measured in degrees"},"point_lights":{"type":"object","title":"Point Lights","description":"The point lights that affect the world","additionalProperties":false,"properties":{"colors":{"type":"object","title":"Colors","description":"List of key-value pairs where the key is a namespace-qualified block name and the value is a color","additionalProperties":{"$ref":"#/definitions/B"},"examples":[{"minecraft:stone":"#ffffff","minecraft:grass":[0,255,0]}]}}},"pbr":{"title":"PBR","description":"The physically-based rendering properties for the world","type":"object","additionalProperties":false,"properties":{"blocks":{"title":"Blocks","description":"The PBR properties for blocks","type":"object","additionalProperties":false,"properties":{"color":{"title":"Color","description":"The default MER value to use for blocks when not defined via textureset; supports RGB array or HEX string","$ref":"#/definitions/B"}}},"actors":{"title":"Actors","description":"The PBR properties for actors","type":"object","additionalProperties":false,"properties":{"color":{"title":"Color","description":"The default MER value to use for actors/mobs when not defined via textureset; supports RGB array or HEX string","$ref":"#/definitions/B"}}},"particles":{"title":"Particles","description":"The PBR properties for particles","type":"object","additionalProperties":false,"properties":{"color":{"title":"Color","description":"The default MER value to use for particles when not defined via textureset; supports RGB array or HEX string","$ref":"#/definitions/B"}}}}}}}},"definitions":{"A":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^([1-9]+)\\.([0-9]+)\\.([0-9]+)$","type":"string","default":"1.21.60","examples":["1.21.50","1.20.80","1.20.40","1.19.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]},"B":{"title":"Lighting Color","description":"The color of the light emitted by the block, in RGB format or hex format.","oneOf":[{"type":"string","format":"color-hex","examples":["#FFFFFF","#000000"]},{"type":"array","items":[{"title":"Red","type":"integer","minimum":0,"maximum":255},{"title":"Blue","type":"integer","minimum":0,"maximum":255},{"title":"Green","type":"integer","minimum":0,"maximum":255}]}]}}}
|
||||
2
behavior/loot_tables/loot_tables.json
generated
2
behavior/loot_tables/loot_tables.json
generated
File diff suppressed because one or more lines are too long
2
behavior/spawn_rules/spawn_rules.json
generated
2
behavior/spawn_rules/spawn_rules.json
generated
File diff suppressed because one or more lines are too long
2
behavior/trading/trading.json
generated
2
behavior/trading/trading.json
generated
File diff suppressed because one or more lines are too long
1
behavior/worldgen/jigsaw_structures/jigsaw.json
generated
Normal file
1
behavior/worldgen/jigsaw_structures/jigsaw.json
generated
Normal file
File diff suppressed because one or more lines are too long
1
behavior/worldgen/processors/processor_list.json
generated
Normal file
1
behavior/worldgen/processors/processor_list.json
generated
Normal file
File diff suppressed because one or more lines are too long
1
behavior/worldgen/structure_sets/structure_set.json
generated
Normal file
1
behavior/worldgen/structure_sets/structure_set.json
generated
Normal file
@@ -0,0 +1 @@
|
||||
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.behavior.worldgen.structure_sets.structure_set","type":"object","title":"Structure Set","description":"A Jigsaw Structure Set is a collection of Jigsaw Structures that are placed according to a set of rules.","required":["format_version","minecraft:structure_set"],"additionalProperties":false,"properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:structure_set":{"$ref":"#/definitions/B"}},"definitions":{"A":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^([1-9]+)\\.([0-9]+)\\.([0-9]+)$","type":"string","default":"1.21.60","examples":["1.21.50","1.20.80","1.20.40","1.19.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]},"B":{"type":"object","title":"Structure Set","additionalProperties":false,"properties":{"description":{"title":"Description","description":"The description of this structure set.","type":"object","additionalProperties":false,"required":["identifier"],"properties":{"identifier":{"title":"Identifier","description":"The name of this structure set.","type":"string"}}},"placement":{"title":"Placement","description":"Describes where structures in the set spawn relative to one another. Currently, the only placement type supported is random_spread, which scatters structures randomly with a given separation and spacing.","type":"object","additionalProperties":false,"properties":{"salt":{"title":"Salt","description":"Seed used for the random generator to provide a unique scatter pattern. This is used to prevent overlap in the case where multiple structure sets use the same placement values.","type":"integer"},"separation":{"title":"Separation","description":"Padding (in chunks) within each grid cell. Structures will not generate within the padded area.","type":"integer","minimum":0.0},"spacing":{"title":"Spacing","description":"Grid cell size (in chunks) to use when generating the structure. Structures will attempt to generate at a random position within each cell.","type":"integer","minimum":1.0},"spread_type":{"title":"Spread Type","description":"Randomness algorithm used when placing structures.","type":"string","anyOf":[{"const":"linear","description":"Basic randomness e.g. rand(x)"},{"const":"triangular","description":"Average of 2 randoms e.g. (rand(x) + rand(x)) / 2"}]},"type":{"title":"Type","description":"","type":"string","const":"minecraft:random_spread"}},"required":["salt","separation","spacing","type"]},"structures":{"title":"Structures","description":"A weighted list of Jigsaw Structure identifiers. Structures will be randomly chosen from this set during world generation.","type":"array","minItems":1,"items":{"type":"object","properties":{"structure":{"title":"Structure","description":"Identifier of the Jigsaw Structure.","type":"string"},"weight":{"title":"Weight","description":"Weight of the Jigsaw Structure in the set. Higher weights are more likely to be selected.","type":"integer","minimum":1.0,"maximum":200.0}},"required":["structure","weight"]}}},"required":["description","placement","structures"]}}}
|
||||
1
behavior/worldgen/template_pools/template_pool.json
generated
Normal file
1
behavior/worldgen/template_pools/template_pool.json
generated
Normal file
@@ -0,0 +1 @@
|
||||
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.behavior.worldgen.template_pools.template_pool","type":"object","title":"Template Pool","description":"Used to pair block rules with Structure Templates and to randomly place Structure Templates using a weighted list.","required":["format_version","minecraft:template_pool"],"additionalProperties":false,"properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:template_pool":{"$ref":"#/definitions/B"}},"definitions":{"A":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^([1-9]+)\\.([0-9]+)\\.([0-9]+)$","type":"string","default":"1.21.60","examples":["1.21.50","1.20.80","1.20.40","1.19.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]},"B_template_pool_element":{"title":"Template Pool Element","description":"A template pool item used to define the element and its weight.","type":"object","additionalProperties":false,"required":["element"],"properties":{"element":{"title":"Element","description":"A grouping of a Structure Template, the Processor List to use when placing the structure, and its weight that determines the likelihood of the element being chosen.","type":"object","properties":{"element_type":{"title":"Element Type","description":" The type of element.","type":"string","const":"minecraft:single_pool_element"},"location":{"title":"Location","description":"The path of the structure file. This path is relative to the behavior pack's \"structures\" folder.","type":"string"},"processors":{"title":"Processors","description":"The identifier of the processor list to use when placing the structure.","type":"string"}},"required":["element_type","location","processors"]},"projection":{"title":"Projection","description":"Specifies how structures should be placed relative to the terrain.","type":"string","default":"rigid","anyOf":[{"const":"rigid","description":"Structures are placed without any height adjustment."},{"const":"terrain_matching","description":"Structures are placed relative to the terrain height. Structure blocks will adjust along the Y axis to match the ground."}]},"weight":{"title":"Weight","description":"The weighted probability of choosing the element from the pool. For example, a template pool containing 2 structures with weights of 1 and 3 will have a 25% and 75% chance of being chosen respectively.","type":"integer","minimum":1.0,"maximum":200.0}}},"B":{"type":"object","title":"Template Pool","additionalProperties":false,"required":["description","elements"],"properties":{"description":{"title":"Description","description":"The description of this template pool.","type":"object","additionalProperties":false,"required":["identifier"],"properties":{"identifier":{"title":"Identifier","description":"Identifier of the template pool. This is used by both the start_pool property of the Jigsaw Structure JSON and the Jigsaw Block's Target Pool field.","type":"string"}}},"elements":{"title":"Elements","description":"An array of pool elements.","type":"array","minItems":1,"items":{}},"fallback":{"title":"Fallback","description":"Fallback template pool to use if no element in the pool can be placed successfully.","type":"string"}}}}}
|
||||
Reference in New Issue
Block a user