auto: generated json schemas 2025-10-14 (#390)
Co-authored-by: DaanV2 <2393905+DaanV2@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
cfa89d59c5
commit
1f04c737cd
2
resource/biomes/biomes.json
generated
2
resource/biomes/biomes.json
generated
File diff suppressed because one or more lines are too long
2
resource/fog/fog.json
generated
2
resource/fog/fog.json
generated
File diff suppressed because one or more lines are too long
2
resource/materials/materials.json
generated
2
resource/materials/materials.json
generated
File diff suppressed because one or more lines are too long
2
resource/models/entity/model_entity.json
generated
2
resource/models/entity/model_entity.json
generated
File diff suppressed because one or more lines are too long
2
resource/textures/flipbook_textures.json
generated
2
resource/textures/flipbook_textures.json
generated
@@ -1 +1 @@
|
||||
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.texture.flipbook","additionalProperties":false,"description":"The file that specifies animated textures.","title":"Flipbook Texture File","type":"array","items":{"additionalProperties":false,"description":"A single flipbook texture.","title":"Flipbook Texture","type":"object","properties":{"atlas_index":{"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Atlas Index","type":"integer"},"atlas_tile":{"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","pattern":"^[a-z0-9_:\\-]*$","title":"Atlas Index","type":"string"},"atlas_tile_variant":{"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Atlas Index","type":"integer"},"blend_frames":{"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Atlas Index","type":"boolean"},"flipbook_texture":{"description":"A texture file.","pattern":"^textures/.+$","title":"Flipbook Texture","type":"string"},"frames":{"title":"Frames","description":"The collection of frame index to display.","items":{"description":"The index of the frame.","minimum":0,"title":"Frame Index","type":"integer"},"type":"array"},"replicate":{"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Atlas Index","type":"integer"},"ticks_per_frame":{"description":"The amount of ticks to wait between frames.","title":"Ticks Per Frame","type":"integer"}}},"definitions":{}}
|
||||
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.texture.flipbook","additionalProperties":false,"description":"The file that specifies animated textures.","title":"Flipbook Texture File","type":"array","items":{"additionalProperties":false,"description":"A single flipbook texture.","title":"Flipbook Texture","type":"object","properties":{"atlas_index":{"description":"The index of the texture array inside the definition of that shortname.","$comment":"UNDOCUMENTED","title":"Atlas Index","type":"integer"},"atlas_tile":{"description":"The shortname defined in the terrain_texture JSON file.","markdownDescription":"The shortname defined in the terrain_texture.json file.","$comment":"UNDOCUMENTED","pattern":"^[a-z0-9_:\\-]*$","title":"Atlas Title","type":"string"},"atlas_tile_variant":{"description":"The variant of the block's texture array inside the shortname's block variation.","$comment":"UNDOCUMENTED","title":"Atlas Tile Variant","type":"integer"},"blend_frames":{"description":"Whether or not Minecraft should interpolate between frames.","$comment":"UNDOCUMENTED","title":"Blend Frames","type":"boolean","default":true},"flipbook_texture":{"description":"A texture file.","pattern":"^textures/.+$","title":"Flipbook Texture","type":"string"},"frames":{"title":"Frames","description":"The order in which frame indices to display. Duplicate frames are allowed.","items":{"description":"The index of the frame.","minimum":0,"title":"Frame Index","type":"integer"},"type":"array"},"replicate":{"description":"Sets the size of pixels.","$comment":"UNDOCUMENTED","title":"Replicate","type":"integer","default":1},"ticks_per_frame":{"description":"The amount of ticks to wait between frames.","title":"Ticks Per Frame","type":"integer"}}},"definitions":{}}
|
||||
2
resource/textures/terrain_texture.json
generated
2
resource/textures/terrain_texture.json
generated
@@ -1 +1 @@
|
||||
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.texture.terrain_texture","additionalProperties":false,"type":"object","title":"Terrain Texture File","description":"An collection of texture definitions.","$comment":"UNDOCUMENTED","definitions":{"texture":{"oneOf":[{"description":"A texture file.","type":"string","pattern":"^textures/.+$","title":"Texture"},{"type":"object","additionalProperties":false,"description":"A collection of texture files.","title":"Texture","properties":{"overlay_color":{"description":"The color to apply to the texture.","title":"Overlay Color","format":"color-hex","examples":["#FFFFFF"]},"path":{"description":"A texture file.","type":"string","pattern":"^textures/.+$","title":"Path"},"tint_color":{"title":"Tint Color","description":"The tint color to be applied to the texture.","$comment":"UNDOCUMENTED","format":"color-hex","examples":["#FFFFFF"],"type":"string"},"variations":{"type":"array","title":"Variantions","description":"The possible variations to use for this texture.","$comment":"UNDOCUMENTED","items":{"type":"object","title":"Variantion","description":"One of the variantions, specified along with a possible weight.","$comment":"UNDOCUMENTED","required":["path"],"properties":{"path":{"description":"A texture file.","type":"string","pattern":"^textures/.+$","title":"Path"},"weight":{"type":"integer","title":"Weight","description":"The weight of the texture.","$comment":"UNDOCUMENTED"}}}}}}]}},"properties":{"num_mip_levels":{"type":"integer","title":"Num Mip Levels","description":"Sets the number of mipmap levels for better texture quality at varying distances.","$comment":"UNDOCUMENTED"},"padding":{"type":"integer","title":"Padding","description":"Adds buffer space to prevent textures from bleeding into each other.","$comment":"UNDOCUMENTED"},"resource_pack_name":{"type":"string","title":"Resource Pack Name","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"texture_data":{"type":"object","propertyNames":{"pattern":"^[a-z0-9_:.\\-]*$"},"additionalProperties":{"type":"object","title":"Texture Data","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","properties":{"textures":{"oneOf":[{"$ref":"#/definitions/texture"},{"type":"array","items":{"$ref":"#/definitions/texture"}}]}}},"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Texture Data"},"texture_name":{"const":"atlas.terrain"}}}
|
||||
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.texture.terrain_texture","additionalProperties":false,"type":"object","title":"Terrain Texture File","description":"An collection of texture definitions.","$comment":"UNDOCUMENTED","definitions":{"texture":{"oneOf":[{"description":"A texture file.","type":"string","pattern":"^textures/.+$","title":"Texture"},{"type":"object","additionalProperties":false,"description":"A collection of texture files.","title":"Texture","properties":{"overlay_color":{"description":"The color to apply to the texture.","title":"Overlay Color","format":"color-hex","examples":["#FFFFFF"]},"path":{"description":"A texture file.","type":"string","pattern":"^textures/.+$","title":"Path"},"tint_color":{"title":"Tint Color","description":"The tint color to be applied to the texture.","$comment":"UNDOCUMENTED","format":"color-hex","examples":["#FFFFFF"],"type":"string"},"variations":{"type":"array","title":"Variantions","description":"The possible variations to use for this texture.","$comment":"UNDOCUMENTED","items":{"type":"object","title":"Variantion","description":"One of the variations, specified along with a possible weight.","$comment":"UNDOCUMENTED","required":["path"],"properties":{"path":{"description":"A texture file.","type":"string","pattern":"^textures/.+$","title":"Path"},"weight":{"type":"number","minimum":0.05,"maximum":1000000,"title":"Weight","description":"The weight of the texture.","$comment":"UNDOCUMENTED"}}}}}}]}},"properties":{"num_mip_levels":{"minimum":0,"maximum":4,"default":4,"type":"integer","title":"Num Mip Levels","description":"Sets the number of mipmap levels for reducing texture quality at varying distances. More mipmap levels means reduced texture quality at farther distances.","$comment":"UNDOCUMENTED"},"padding":{"type":"integer","title":"Padding","description":"Adds buffer space to prevent textures from bleeding into each other.","$comment":"UNDOCUMENTED"},"resource_pack_name":{"type":"string","title":"Resource Pack Name","description":"The name of your resource pack, which should match the name in this pack's manifest.","markdownDescription":"The name of your resource pack, which should match the name in `manifest.json`.","$comment":"UNDOCUMENTED"},"texture_data":{"type":"object","propertyNames":{"pattern":"^[a-z0-9_:.\\-]*$"},"additionalProperties":{"type":"object","title":"Texture Data","description":"Describes the texture, including properties like the path to the texture.","$comment":"UNDOCUMENTED","properties":{"textures":{"oneOf":[{"$ref":"#/definitions/texture"},{"type":"array","items":{"$ref":"#/definitions/texture"}}]}}},"description":"A JSON object with shortnames and texture data.","$comment":"UNDOCUMENTED","title":"Texture Data"},"texture_name":{"const":"atlas.terrain"}}}
|
||||
2
resource/ui/_global_variables.json
generated
2
resource/ui/_global_variables.json
generated
@@ -1 +1 @@
|
||||
{"title":"Global Variables","description":"Global variables that can be used in any JSON file.","type":"object","propertyNames":{"pattern":"^\\$[a-zA-Z0-9_]+$"},"additionalProperties":{"title":"Global Variable","type":["array","boolean","integer","number","string"]},"definitions":{}}
|
||||
{"title":"Global Variables","description":"Global variables that can be used in any JSON file.","type":"object","propertyNames":{"pattern":"^\\$[a-zA-Z0-9_-]+$"},"additionalProperties":{"title":"Global Variable","type":["array","boolean","integer","number","string"]},"definitions":{}}
|
||||
2
resource/ui/ui.json
generated
2
resource/ui/ui.json
generated
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user