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