auto: generated json schemas 2024-12-05
This commit is contained in:
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/entities/entities.json
generated
2
behavior/entities/entities.json
generated
File diff suppressed because one or more lines are too long
2
behavior/items/items.json
generated
2
behavior/items/items.json
generated
File diff suppressed because one or more lines are too long
2
resource/biomes/biomes.json
generated
2
resource/biomes/biomes.json
generated
@@ -1 +1 @@
|
||||
{"$id":"blockception.minecraft.resource.biomes","title":"Client Biome","description":"Minecraft client_biome files define client-side settings for biomes in resource packs. This is the new preferred location for per-biome settings that used to be in biomes_client.json.","type":"object","required":["format_version","minecraft:client_biome"],"additionalProperties":false,"properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:client_biome":{"$ref":"#/definitions/B"}},"defaultSnippets":[{"label":"New client biome","body":{"format_version":"${1:1.21.40}","minecraft:client_biome":{"description":{"identifier":"${3:${TM_FILENAME/[\\.].*//}}"},"components":"^{$4}"}}}],"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.20.81","examples":["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_components_ref":{"type":"object","title":"Components","description":"Any components that this Client Biome uses.","additionalProperties":false,"properties":{"minecraft:fog_appearance":{"$ref":"#/definitions/C"},"minecraft:sky_color":{"$ref":"#/definitions/D"},"minecraft:water_appearance":{"$ref":"#/definitions/E"}}},"C":{"title":"Fog Appearance","description":"Set the fog settings used during rendering. Biomes without this component will have default fog settings.","type":"object","required":["fog_identifier"],"additionalProperties":false,"properties":{"fog_identifier":{"title":"Fog Identifier","description":"Identifier of fog definition to use.","type":"string"}}},"D":{"title":"Sky Color","description":"Set the sky color used during rendering. Biomes without this component will have default sky color behavior.","type":"object","required":["sky_color"],"additionalProperties":false,"properties":{"sky_color":{"title":"Sky Color","description":"RGB color of the sky.","type":"string","format":"color-hex","examples":["#FFFFFF"]}}},"E":{"title":"Water Appearance","description":"Set the water surface color used during rendering. Biomes without this component will have default water surface color behavior.","type":"object","required":["surface_color"],"additionalProperties":false,"properties":{"surface_color":{"title":"Surface Color","description":"RGB color of the water surface.","type":"string","format":"color-hex","examples":["#FFFFFF"]}}},"B":{"title":"Client Biome Definitions","description":"A client biome definition.","type":"object","additionalProperties":false,"required":["description","components"],"properties":{"description":{"title":"Client Biome Description","description":"Contains non-component settings for a Client Biome.","type":"object","additionalProperties":false,"required":["identifier"],"properties":{"identifier":{"title":"Identifier","description":"The name of the Client Biome, used by other features like the '/locate biome' command. Must match the name of a Biome defined by the game or a behavior pack.","type":"string"}}},"components":{"$ref":"#/definitions/B_components_ref"}}}}}
|
||||
{"$id":"blockception.minecraft.resource.biomes","title":"Client Biome","description":"Minecraft client_biome files define client-side settings for biomes in resource packs. This is the new preferred location for per-biome settings that used to be in biomes_client.json.","type":"object","required":["format_version","minecraft:client_biome"],"additionalProperties":false,"properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:client_biome":{"$ref":"#/definitions/B"}},"defaultSnippets":[{"label":"New client biome","body":{"format_version":"${1:1.21.40}","minecraft:client_biome":{"description":{"identifier":"${3:${TM_FILENAME/[\\.].*//}}"},"components":"^{$4}"}}}],"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.20.81","examples":["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_components_ref":{"type":"object","title":"Components","description":"Any components that this Client Biome uses.","additionalProperties":false,"properties":{"minecraft:ambient_sounds":{"$ref":"#/definitions/C"},"minecraft:biome_music":{"$ref":"#/definitions/D"},"minecraft:fog_appearance":{"$ref":"#/definitions/E"},"minecraft:sky_color":{"$ref":"#/definitions/F"},"minecraft:water_appearance":{"$ref":"#/definitions/G"}}},"C":{"title":"Ambient Sounds","description":"Sets the ambient sounds for the biome. These sounds must be in the 'individual_named_sounds' in a 'sounds.json' file.","type":"object","additionalProperties":false,"properties":{"addition":{"title":"Addition","description":"Named sound that occasionally plays at the listener position.","type":"string"},"loop":{"title":"Loop","description":"Named sound that loops while the listener position is inside the biome.","type":"string"},"mood":{"title":"Mood","description":"Named sound that rarely plays at a nearby air block position when the light level is low.","type":"string","default":"ambient.cave"}}},"D":{"title":"Biome Music","description":"Affects how music plays within the biome.","type":"object","additionalProperties":false,"properties":{"volume_multiplier":{"title":"Volume Multiplier","description":"Multiplier temporarily and gradually applied to music volume when within this biome.","type":"number","minimum":0,"maximum":1}}},"E":{"title":"Fog Appearance","description":"Set the fog settings used during rendering. Biomes without this component will have default fog settings.","type":"object","required":["fog_identifier"],"additionalProperties":false,"properties":{"fog_identifier":{"title":"Fog Identifier","description":"Identifier of fog definition to use.","type":"string"}}},"F":{"title":"Sky Color","description":"Set the sky color used during rendering. Biomes without this component will have default sky color behavior.","type":"object","required":["sky_color"],"additionalProperties":false,"properties":{"sky_color":{"title":"Sky Color","description":"RGB color of the sky.","type":"string","format":"color-hex","examples":["#FFFFFF"]}}},"G":{"title":"Water Appearance","description":"Set the water surface color used during rendering. Biomes without this component will have default water surface color behavior.","type":"object","required":["surface_color"],"additionalProperties":false,"properties":{"surface_color":{"title":"Surface Color","description":"RGB color of the water surface.","type":"string","format":"color-hex","examples":["#FFFFFF"]}}},"B":{"title":"Client Biome Definitions","description":"A client biome definition.","type":"object","additionalProperties":false,"required":["description","components"],"properties":{"description":{"title":"Client Biome Description","description":"Contains non-component settings for a Client Biome.","type":"object","additionalProperties":false,"required":["identifier"],"properties":{"identifier":{"title":"Identifier","description":"The name of the Client Biome, used by other features like the '/locate biome' command. Must match the name of a Biome defined by the game or a behavior pack.","type":"string"}}},"components":{"$ref":"#/definitions/B_components_ref"}}}}}
|
||||
1
worldgen/jigsaw_structures/jigsaw.json
Normal file
1
worldgen/jigsaw_structures/jigsaw.json
Normal file
File diff suppressed because one or more lines are too long
1
worldgen/processors/processor_list.json
Normal file
1
worldgen/processors/processor_list.json
Normal file
File diff suppressed because one or more lines are too long
1
worldgen/structure_sets/structure_set.json
Normal file
1
worldgen/structure_sets/structure_set.json
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.20.81","examples":["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":{"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
worldgen/template_pools/template_pool.json
Normal file
1
worldgen/template_pools/template_pool.json
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.20.81","examples":["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_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