auto: generated json schemas 2025-02-13

This commit is contained in:
Orbi-bot
2025-02-13 13:38:46 +00:00
parent 40569873a8
commit 98fda1fd41
30 changed files with 30 additions and 25 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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"}]}}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View 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"}}}}}}

File diff suppressed because one or more lines are too long

View File

@@ -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}]}]}}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View 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"]}}}

View 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"}}}}}

2
general/manifest.json generated

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.block_culling","title":"Block Culling","description":"A resource pack file that helps the system determine how to change the appearance of this block.","type":"object","additionalProperties":false,"properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:block_culling_rules":{"title":"Block Culling Rules","description":"JSON container used for descriptions, especially the identifier for the name of the culled version of the block.","type":"object","additionalProperties":false,"properties":{"description":{"title":"Description","description":"Contains the identifier used by minecraft:geometry block components to refer to this culling data","type":"object","additionalProperties":false,"properties":{"identifier":{"$ref":"#/definitions/B","description":"Sets the identifier for this rule's description.","title":"Identifier"}}},"rules":{"title":"Rules","description":"List of all components used to identify geometry parts used in culling.","type":"array","minItems":1,"items":{"$ref":"#/definitions/rule"}}}}},"definitions":{"rule":{"title":"Rule","description":"The rules that specifies a \"geometry_part\" and \"direction\"","type":"object","additionalProperties":false,"properties":{"geometry_part":{"title":"Geometry Part","description":"Specifies the bone, cube, and face that the block will be culled. The cube and face fields are optional to allow culling a specific face. Omitting these fields will cull the whole bone.","type":"object","additionalProperties":false,"properties":{"bone":{"title":"Bone","description":"The bone within the geometry part","type":"string"},"cube":{"title":"Cube","description":"The cube within the geometry part","type":"integer","minimum":0},"face":{"title":"Face","description":"The face within the geometry part","type":"string","enum":["up","down","north","south","east","west"]}}},"direction":{"title":"Direction","description":"Specifies the direction of the neighbor block to check for culling. This direction rotates with a block's Transform component.","type":"string","enum":["up","down","north","south","east","west"]}}},"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":"The minecraft block culling rule identifier.","examples":["namespace:rule"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$","title":"Block Culling Rule Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]}},"examples":[{"format_version":"1.20.60","minecraft:block_culling_rules":{"description":{"identifier":":"},"rules":[{"part":{"bone":"","cube":0,"face":""}}]}}]} {"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.block_culling","title":"Block Culling","description":"A resource pack file that helps the system determine how to change the appearance of this block.","type":"object","additionalProperties":false,"properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:block_culling_rules":{"title":"Block Culling Rules","description":"JSON container used for descriptions, especially the identifier for the name of the culled version of the block.","type":"object","additionalProperties":false,"properties":{"description":{"title":"Description","description":"Contains the identifier used by minecraft:geometry block components to refer to this culling data","type":"object","additionalProperties":false,"properties":{"identifier":{"$ref":"#/definitions/B","description":"Sets the identifier for this rule's description.","title":"Identifier"}}},"rules":{"title":"Rules","description":"List of all components used to identify geometry parts used in culling.","type":"array","minItems":1,"items":{"$ref":"#/definitions/rule"}}}}},"definitions":{"rule":{"title":"Rule","description":"The rules that specifies a \"geometry_part\" and \"direction\"","type":"object","additionalProperties":false,"properties":{"geometry_part":{"title":"Geometry Part","description":"Specifies the bone, cube, and face that the block will be culled. The cube and face fields are optional to allow culling a specific face. Omitting these fields will cull the whole bone.","type":"object","additionalProperties":false,"properties":{"bone":{"title":"Bone","description":"The bone within the geometry part","type":"string"},"cube":{"title":"Cube","description":"The cube within the geometry part","type":"integer","minimum":0},"face":{"title":"Face","description":"The face within the geometry part","type":"string","enum":["up","down","north","south","east","west"]}}},"direction":{"title":"Direction","description":"Specifies the direction of the neighbor block to check for culling. This direction rotates with a block's Transform component.","type":"string","enum":["up","down","north","south","east","west"]}}},"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":"The minecraft block culling rule identifier.","examples":["namespace:rule"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$","title":"Block Culling Rule Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]}},"examples":[{"format_version":"1.20.60","minecraft:block_culling_rules":{"description":{"identifier":":"},"rules":[{"part":{"bone":"","cube":0,"face":""}}]}}]}

2
resource/blocks.json generated
View File

@@ -1 +1 @@
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.block.json","type":"object","title":"Blocks","description":"The minecraft block definition file.","definitions":{"texture":{"oneOf":[{"type":"string"},{"additionalProperties":false,"type":"object","properties":{"down":{"type":"string","pattern":"^[\\w_\\-]+$"},"up":{"type":"string","pattern":"^[\\w_\\-]+$"},"side":{"type":"string","pattern":"^[\\w_\\-]+$"},"south":{"type":"string","pattern":"^[\\w_\\-]+$"},"north":{"type":"string","pattern":"^[\\w_\\-]+$"},"west":{"type":"string","pattern":"^[\\w_\\-]+$"},"east":{"type":"string","pattern":"^[\\w_\\-]+$"}}}]},"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|}"}]}},"propertyNames":{"pattern":"^[\\w_\\-:\\.]+$"},"properties":{"format_version":{"oneOf":[{"$ref":"#/definitions/A"},{"title":"Format Version","description":"A version that tells Minecraft what type of data format can be expected when reading this file.","type":"array","default":[1,1,0],"examples":[[1,1,0]],"items":{"type":"integer"},"minItems":3,"maxItems":3,"uniqueItems":false,"defaultSnippets":[{"label":"New Format version","body":[1,1,0]}]}]}},"additionalProperties":{"additionalProperties":false,"title":"Block","description":"Block texture definition.","type":"object","properties":{"brightness_gamma":{"type":"number","title":"Brightness Gamma","description":"Specifies the gamma brightness level to apply to the block texture."},"carried_textures":{"$ref":"#/definitions/texture","title":"Carried Textures","description":"Carried Textures."},"isotropic":{"title":"Isotropic","description":"Marks if this block is isotropic or not, or which side are.","oneOf":[{"type":"boolean"},{"additionalProperties":false,"type":"object","properties":{"down":{"type":"boolean"},"up":{"type":"boolean"},"side":{"type":"boolean"},"south":{"type":"boolean"},"north":{"type":"boolean"},"west":{"type":"boolean"},"east":{"type":"boolean"}}}]},"sound":{"type":"string","title":"Sound","description":"The sound definition of this block.","enum":["amethyst_block","amethyst_cluster","ancient_debris","anvil","azalea","azalea_leaves","bamboo","bamboo_sapling","bamboo_wood","bamboo_wood_hanging_sign","basalt","big_dripleaf","bone_block","calcite","candle","cave_vines","chain","cherry_leaves","cherry_wood","cherry_wood_hanging_sign","chiseled_bookshelf","cloth","comparator","copper","copper_bulb","copper_grate","coral","creaking_heart","decorated_pot","deepslate","deepslate_bricks","dirt_with_roots","dripstone_block","eyeblossom","frog_spawn","froglight","fungus","glass","glow_lichen","grass","gravel","hanging_roots","hanging_sign","heavy_core","honey_block","itemframe","ladder","lantern","large_amethyst_bud","lever","lodestone","mangrove_roots","medium_amethyst_bud","metal","mob_spawner","moss_block","moss_carpet","mud","mud_bricks","muddy_mangrove_roots","nether_brick","nether_gold_ore","nether_sprouts","nether_wart","nether_wood","nether_wood_hanging_sign","netherite","netherrack","nylium","packed_mud","pale_hanging_moss","pink_petals","pointed_dripstone","polished_tuff","powder_snow","resin","resin_brick","roots","sand","scaffolding","sculk","sculk_catalyst","sculk_sensor","sculk_shrieker","sculk_vein","shroomlight","slime","small_amethyst_bud","snow","soul_sand","soul_soil","sponge","spore_blossom","stem","stone","suspicious_gravel","suspicious_sand","sweet_berry_bush","trial_spawner","tuff","tuff_bricks","turtle_egg","vault","vines","web","wet_sponge","wood"]},"textures":{"$ref":"#/definitions/texture","title":"Textures","description":"Textures."}}}} {"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.block.json","type":"object","title":"Blocks","description":"The minecraft block definition file.","definitions":{"texture":{"oneOf":[{"type":"string"},{"additionalProperties":false,"type":"object","properties":{"down":{"type":"string","pattern":"^[\\w_\\-]+$"},"up":{"type":"string","pattern":"^[\\w_\\-]+$"},"side":{"type":"string","pattern":"^[\\w_\\-]+$"},"south":{"type":"string","pattern":"^[\\w_\\-]+$"},"north":{"type":"string","pattern":"^[\\w_\\-]+$"},"west":{"type":"string","pattern":"^[\\w_\\-]+$"},"east":{"type":"string","pattern":"^[\\w_\\-]+$"}}}]},"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|}"}]}},"propertyNames":{"pattern":"^[\\w_\\-:\\.]+$"},"properties":{"format_version":{"oneOf":[{"$ref":"#/definitions/A"},{"title":"Format Version","description":"A version that tells Minecraft what type of data format can be expected when reading this file.","type":"array","default":[1,1,0],"examples":[[1,1,0]],"items":{"type":"integer"},"minItems":3,"maxItems":3,"uniqueItems":false,"defaultSnippets":[{"label":"New Format version","body":[1,1,0]}]}]}},"additionalProperties":{"additionalProperties":false,"title":"Block","description":"Block texture definition.","type":"object","properties":{"brightness_gamma":{"type":"number","title":"Brightness Gamma","description":"Specifies the gamma brightness level to apply to the block texture."},"carried_textures":{"$ref":"#/definitions/texture","title":"Carried Textures","description":"Carried Textures."},"isotropic":{"title":"Isotropic","description":"Marks if this block is isotropic or not, or which side are.","oneOf":[{"type":"boolean"},{"additionalProperties":false,"type":"object","properties":{"down":{"type":"boolean"},"up":{"type":"boolean"},"side":{"type":"boolean"},"south":{"type":"boolean"},"north":{"type":"boolean"},"west":{"type":"boolean"},"east":{"type":"boolean"}}}]},"sound":{"type":"string","title":"Sound","description":"The sound definition of this block."},"textures":{"$ref":"#/definitions/texture","title":"Textures","description":"Textures."}}}}

File diff suppressed because one or more lines are too long

2
resource/fog/fog.json generated

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.items","examples":[{"format_version":"1.20.80","minecraft:item":{"description":{"identifier":"blockception:item","category":"Equipment"},"components":{"minecraft:icon":"item","minecraft:render_offsets":"apple"}}}],"allOf":[{"if":{"properties":{"format_version":{"type":"string","const":"1.10"}}},"then":{"$ref":"#/definitions/A"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.10.0"}}},"then":{"$ref":"#/definitions/A"}},{"properties":{"format_version":{"$ref":"#/definitions/C"}}}],"definitions":{"B":{"description":"A minecraft item identifier.","pattern":"^[0-9a-zA-Z:_\\-\\.]+$","title":"Item Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"A":{"required":["format_version","minecraft:item"],"title":"Item","description":"Minecraft items 1.10.0","type":"object","properties":{"format_version":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","type":"string"},"minecraft:item":{"title":"Item","description":"A resource pack definition of an item.","required":["description","components"],"type":"object","additionalProperties":false,"properties":{"description":{"title":"Description","description":"The description of an item.","required":["identifier"],"type":"object","additionalProperties":false,"properties":{"identifier":{"title":"Identifier","description":"The item identifier.","$ref":"#/definitions/B","examples":["namespace:example"]},"category":{"title":"Category","description":"The category this item belongs in.","type":"string"}}},"components":{"title":"Components","description":"The components that describe this item.","additionalProperties":false,"properties":{"minecraft:icon":{"title":"Icon","description":"The texture defined in `textures/item_texture.json`","type":"string"},"minecraft:render_offsets":{"type":"string","description":"The render offset used for the item.","title":"Render Offsets","enum":["apple"]}}}}}}},"C":{"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|}"}]}}} {"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.items","examples":[{"format_version":"1.20.80","minecraft:item":{"description":{"identifier":"blockception:item","category":"Equipment"},"components":{"minecraft:icon":"item","minecraft:render_offsets":"apple"}}}],"allOf":[{"if":{"properties":{"format_version":{"type":"string","const":"1.10"}}},"then":{"$ref":"#/definitions/A"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.10.0"}}},"then":{"$ref":"#/definitions/A"}},{"properties":{"format_version":{"$ref":"#/definitions/C"}}}],"definitions":{"B":{"description":"A minecraft item identifier.","pattern":"^[0-9a-zA-Z:_\\-\\.]+$","title":"Item Identifier","type":"string","defaultSnippets":[{"label":"New Identifier","body":"$1:$2"}]},"A":{"required":["format_version","minecraft:item"],"title":"Item","description":"Minecraft items 1.10.0","type":"object","properties":{"format_version":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","type":"string"},"minecraft:item":{"title":"Item","description":"A resource pack definition of an item.","required":["description","components"],"type":"object","additionalProperties":false,"properties":{"description":{"title":"Description","description":"The description of an item.","required":["identifier"],"type":"object","additionalProperties":false,"properties":{"identifier":{"title":"Identifier","description":"The item identifier.","$ref":"#/definitions/B","examples":["namespace:example"]},"category":{"title":"Category","description":"The category this item belongs in.","type":"string"}}},"components":{"title":"Components","description":"The components that describe this item.","additionalProperties":false,"properties":{"minecraft:icon":{"title":"Icon","description":"The texture defined in `textures/item_texture.json`","type":"string"},"minecraft:render_offsets":{"type":"string","description":"The render offset used for the item.","title":"Render Offsets","enum":["apple"]}}}}}}},"C":{"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|}"}]}}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
resource/sounds.json generated

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.sound_definition","type":"object","additionalProperties":false,"title":"Sound Definitions","description":"The collection of sound definitions this resourcepack has defined.","$comment":"UNDOCUMENTED","definitions":{"SoundPath":{"$id":"SoundFilepath","type":"string","title":"Sound Filepath Schema","description":"The filepath to the sound, starts with `sounds/'.","pattern":"(^sounds/.*$|^$)","additionalItems":true,"examples":["sounds/"]},"SoundSpec":{"additionalProperties":false,"type":"object","$id":"#/Sound","title":"Sound","required":["sounds"],"properties":{"__use_legacy_max_distance":{"type":"boolean","title":"Use Legacy Max Distance","description":"Whenever or not use legacy distance checking."},"category":{"type":"string","title":"Sound Category","enum":["ambient","block","music","weather","ui","bucket","neutral","player","hostile","record","bottle"],"description":"The category this sound belongs to, for the user to control the volume on."},"sounds":{"title":"Sounds","description":"The collection of sounds minecraft can choice from.","items":{"title":"Sounds","description":"UNDOCUMENTED: sounds.","anyOf":[{"type":"string","$ref":"#/definitions/SoundPath"},{"title":"Sounds","description":"A collection of sounds to choice from.","$comment":"UNDOCUMENTED","additionalProperties":false,"type":"object","required":["name"],"examples":[{"name":"sounds/fx/example"}],"properties":{"is3D":{"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Is 3D","type":"boolean"},"pitch":{"description":"The pitch of the audio, 1 is nomial.","type":"number","minimum":0,"maximum":2,"title":"Pitch"},"volume":{"description":"The volume of the audio, 1 is nomial.","type":"number","minimum":0,"title":"Volume"},"stream":{"description":"If marked true then minecraft will stream the audio.","type":"boolean","title":"Stream"},"name":{"$id":"#/Sound/sounds/stringItem","type":"string","$ref":"#/definitions/SoundPath","description":"UNDOCUMENTED: name.","title":"Name"},"weight":{"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Weight","type":"integer","minimum":0}}}]}},"max_distance":{"title":"Max Distance","description":"UNDOCUMENTED.","type":["number","null"],"minimum":0},"min_distance":{"title":"Min Distance","description":"UNDOCUMENTED.","type":["number","null"],"minimum":0}}},"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|}"}]}},"properties":{"format_version":{"$ref":"#/definitions/A"},"sound_definitions":{"type":"object","additionalProperties":{"$ref":"#/definitions/SoundSpec"},"description":"UNDOCUMENTED: sound definitions.","title":"Sound Definitions"},"__use_legacy_max_distance":{"description":"UNDOCUMENTED: use legacy Maximum distance.","title":"Use Legacy Maximum Distance","type":"string","enum":["true","false"]}}} {"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.sound_definition","type":"object","additionalProperties":false,"title":"Sound Definitions","description":"The collection of sound definitions this resourcepack has defined.","$comment":"UNDOCUMENTED","definitions":{"SoundPath":{"$id":"SoundFilepath","type":"string","title":"Sound Filepath Schema","description":"The filepath to the sound, starts with `sounds/'.","pattern":"(^sounds/.*$|^$)","additionalItems":true,"examples":["sounds/"]},"SoundSpec":{"additionalProperties":false,"type":"object","$id":"#/Sound","title":"Sound","required":["sounds"],"properties":{"__use_legacy_max_distance":{"type":"boolean","title":"Use Legacy Max Distance","description":"Whenever or not use legacy distance checking."},"category":{"type":"string","title":"Sound Category","enum":["ambient","block","music","weather","ui","bucket","neutral","player","hostile","record","bottle"],"description":"The category this sound belongs to, for the user to control the volume on."},"sounds":{"title":"Sounds","description":"The collection of sounds minecraft can choice from.","items":{"title":"Sounds","description":"UNDOCUMENTED: sounds.","anyOf":[{"type":"string","$ref":"#/definitions/SoundPath"},{"title":"Sounds","description":"A collection of sounds to choice from.","$comment":"UNDOCUMENTED","additionalProperties":false,"type":"object","required":["name"],"examples":[{"name":"sounds/fx/example"}],"properties":{"is3D":{"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Is 3D","type":"boolean"},"pitch":{"description":"The pitch of the audio, 1 is nomial.","type":"number","minimum":0,"maximum":2,"title":"Pitch"},"volume":{"description":"The volume of the audio, 1 is nomial.","type":"number","minimum":0,"title":"Volume"},"stream":{"description":"If marked true then minecraft will stream the audio.","type":"boolean","title":"Stream"},"name":{"$id":"#/Sound/sounds/stringItem","type":"string","$ref":"#/definitions/SoundPath","description":"UNDOCUMENTED: name.","title":"Name"},"weight":{"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Weight","type":"integer","minimum":0}}}]}},"max_distance":{"title":"Max Distance","description":"UNDOCUMENTED.","type":["number","null"],"minimum":0},"min_distance":{"title":"Min Distance","description":"UNDOCUMENTED.","type":["number","null"],"minimum":0}}},"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|}"}]}},"properties":{"format_version":{"$ref":"#/definitions/A"},"sound_definitions":{"type":"object","additionalProperties":{"$ref":"#/definitions/SoundSpec"},"description":"UNDOCUMENTED: sound definitions.","title":"Sound Definitions"},"__use_legacy_max_distance":{"description":"UNDOCUMENTED: use legacy Maximum distance.","title":"Use Legacy Maximum Distance","type":"string","enum":["true","false"]}}}

View File

@@ -1 +1 @@
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.texture.texture_set","type":"object","additionalProperties":false,"properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:texture_set":{"title":"Texture Set","description":"Texture Sets are used to define multiple PBR layers for a texture resource.","type":"object","additionalProperties":false,"required":["color"],"properties":{"color":{"$ref":"#/definitions/color"},"heightmap":{"$ref":"#/definitions/heightmap"},"metalness_emissive_roughness":{"$ref":"#/definitions/mer"},"normal":{"$ref":"#/definitions/normal"}}}},"definitions":{"color":{"title":"Color","description":"This is an RGB 3-channel image (defaults to uniform alpha of 1.0), or an RGBA 4-channel image, or a 4 value array for a uniform color with alpha.","examples":[[255,255,255,255]],"oneOf":[{"type":"string"},{"type":"array","items":[{"title":"Red","type":"integer","minimum":0,"maximum":255},{"title":"Green","type":"integer","minimum":0,"maximum":255},{"title":"Blue","type":"integer","minimum":0,"maximum":255},{"title":"Alpha","type":"integer","default":255,"minimum":0,"maximum":255}]}]},"normal":{"title":"Normal Map","description":"This is a 3-channel normal map image (or 4-channel where the 4th channel is ignored). This layer and the \"heightmap\" layer should not both be defined at the same time.","type":"string"},"heightmap":{"title":"Heightmap","description":"1-channel layer image or a single value in this JSON file for a uniform heightmap. This layer and the \"normal\" layer should not both be defined at the same time.","examples":[255],"oneOf":[{"type":"string"},{"type":"integer","minimum":0,"maximum":255}]},"mer":{"title":"Metalness Emissive Roughness","description":"This is a 3-channel image (or 4-channel where the 4th channel is ignored) or a 3-value array for a uniform MER. RGB images map Red to Metalness, Green to Emissive, and Blue to Roughness.","examples":[[255,255,255]],"oneOf":[{"type":"string"},{"type":"array","items":[{"title":"Red","type":"integer","minimum":0,"maximum":255},{"title":"Green","type":"integer","minimum":0,"maximum":255},{"title":"Blue","type":"integer","minimum":0,"maximum":255}]}]},"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|}"}]}}} {"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.texture.texture_set","type":"object","additionalProperties":false,"properties":{"format_version":{"$ref":"#/definitions/A"},"minecraft:texture_set":{"title":"Texture Set","description":"Texture Sets are used to define multiple PBR layers for a texture resource.","type":"object","additionalProperties":false,"required":["color"],"properties":{"color":{"$ref":"#/definitions/color"},"heightmap":{"$ref":"#/definitions/heightmap"},"metalness_emissive_roughness":{"$ref":"#/definitions/mer"},"normal":{"$ref":"#/definitions/normal"}}}},"definitions":{"color":{"title":"Color","description":"This is an RGB 3-channel image (defaults to uniform alpha of 1.0), or an RGBA 4-channel image, or a 4 value array for a uniform color with alpha.","examples":[[255,255,255,255]],"oneOf":[{"type":"string"},{"type":"array","items":[{"title":"Red","type":"integer","minimum":0,"maximum":255},{"title":"Green","type":"integer","minimum":0,"maximum":255},{"title":"Blue","type":"integer","minimum":0,"maximum":255},{"title":"Alpha","type":"integer","default":255,"minimum":0,"maximum":255}]}]},"normal":{"title":"Normal Map","description":"This is a 3-channel normal map image (or 4-channel where the 4th channel is ignored). This layer and the \"heightmap\" layer should not both be defined at the same time.","type":"string"},"heightmap":{"title":"Heightmap","description":"1-channel layer image or a single value in this JSON file for a uniform heightmap. This layer and the \"normal\" layer should not both be defined at the same time.","examples":[255],"oneOf":[{"type":"string"},{"type":"integer","minimum":0,"maximum":255}]},"mer":{"title":"Metalness Emissive Roughness","description":"This is a 3-channel image (or 4-channel where the 4th channel is ignored) or a 3-value array for a uniform MER. RGB images map Red to Metalness, Green to Emissive, and Blue to Roughness.","examples":[[255,255,255]],"oneOf":[{"type":"string"},{"type":"array","items":[{"title":"Red","type":"integer","minimum":0,"maximum":255},{"title":"Green","type":"integer","minimum":0,"maximum":255},{"title":"Blue","type":"integer","minimum":0,"maximum":255}]}]},"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|}"}]}}}