auto: Generated Json Schemas

This commit is contained in:
Blockception Bot
2021-05-25 23:28:18 +00:00
parent 109b31d31a
commit d4af95fda5
34 changed files with 34 additions and 34 deletions

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

@@ -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_\\-]+$"}}}]}},"propertyNames":{"pattern":"^[\\w_\\-:]+$"},"properties":{"format_version":{"type":"array","items":[{"type":"integer"},{"type":"integer"},{"type":"integer"}],"description":"TODO description","title":"TODO Title"}},"additionalProperties":{"additionalProperties":false,"title":"Block","description":"Block texture definition","type":"object","properties":{"brightness_gamma":{"type":"number","title":"Brightness Gamma","description":"TODO"},"carried_textures":{"$ref":"#/definitions/texture","title":"Carried Textures","description":"TODO"},"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":"Sound","description":"Textures"}}}}
{"$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_\\-]+$"}}}]}},"propertyNames":{"pattern":"^[\\w_\\-:]+$"},"properties":{"format_version":{"type":"array","items":[{"type":"integer"},{"type":"integer"},{"type":"integer"}],"description":"TODO description","title":"TODO Title"}},"additionalProperties":{"additionalProperties":false,"title":"Block","description":"Block texture definition","type":"object","properties":{"brightness_gamma":{"type":"number","title":"Brightness Gamma","description":"TODO"},"carried_textures":{"$ref":"#/definitions/texture","title":"Carried Textures","description":"TODO"},"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":"Sound","description":"Textures"}}}}

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.items","examples":[{"format_version":"1.10.0","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":{"type":"string","title":"Item Identifier 1.8.0","description":"The minecraft item identifier","pattern":"^[0-9a-zA-Z:_\\-\\.]+$"},"A":{"required":["format_version","minecraft:item"],"title":"Item","description":"Minecraft items 1.10.0","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)\\.([0-9]+)\\.([0-9]+)$","type":"string"}}}
{"$id":"blockception.minecraft.resource.items","examples":[{"format_version":"1.10.0","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":{"type":"string","title":"Item Identifier 1.8.0","description":"The minecraft item identifier","pattern":"^[0-9a-zA-Z:_\\-\\.]+$"},"A":{"required":["format_version","minecraft:item"],"title":"Item","description":"Minecraft items 1.10.0","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)\\.([0-9]+)\\.([0-9]+)$","type":"string"}}}

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

@@ -1 +1 @@
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.sounds.json","type":"object","title":"Sounds.json","description":"Sound definitions","additionalProperties":false,"definitions":{"pitch":{"title":"Pitch","oneOf":[{"default":1,"type":"number","description":"A defined pitch"},{"description":"A random selection between a minimum and maximum","type":"array","items":[{"type":"number","minimum":0,"title":"Minimum"},{"type":"number","minimum":0,"title":"Maximum"}]}]},"volume":{"title":"Volume","oneOf":[{"default":1,"type":"number","description":"A defined volume"},{"description":"A random selection between a minimum and maximum","type":"array","items":[{"type":"number","minimum":0,"title":"Minimum"},{"type":"number","minimum":0,"title":"Maximum"}]}]},"sound_event":{"title":"Sound Event","description":"A single sound event definition","oneOf":[{"type":"string"},{"type":"object","additionalProperties":false,"required":["sound"],"properties":{"volume":{"$ref":"#/definitions/volume"},"sound":{"type":"string","title":"Sound Event","description":"The sound event described in sound_definitions.json"},"pitch":{"$ref":"#/definitions/pitch"}}}]},"entity_event":{"type":"object","title":"Entity Sound","description":"Entity sound definitions","properties":{"volume":{"$ref":"#/definitions/volume"},"pitch":{"$ref":"#/definitions/pitch"},"events":{"type":"object","title":"Events","propertyNames":{"pattern":"[a-z\\._]+"},"additionalProperties":{"$ref":"#/definitions/sound_event"}}}}},"properties":{"block_sounds":{"type":"object","title":"Block Sounds","description":"Block sound definitions","additionalProperties":{"type":"object","title":"Block Sound","description":"A single block sound definition","additionalProperties":false,"properties":{"volume":{"$ref":"#/definitions/volume"},"pitch":{"$ref":"#/definitions/pitch"},"events":{"type":"object","title":"Events","propertyNames":{"enum":["default","item.use.on","break","hit","place","power.on","power.off"]},"additionalProperties":{"$ref":"#/definitions/sound_event"}}}}},"entity_sounds":{"type":"object","title":"Entity Sounds","description":"Entity sounds definitions","additionalProperties":false,"properties":{"defaults":{"$ref":"#/definitions/entity_event"},"entities":{"type":"object","title":"Entities","description":"Entities definitions","additionalProperties":{"$ref":"#/definitions/entity_event"}}}},"individual_event_sounds":{"type":"object","title":"Individual Event Sounds","description":"Individual event sounds definitions","additionalProperties":false,"properties":{"events":{"type":"object","title":"Events","description":"Events","additionalProperties":{"$ref":"#/definitions/sound_event"}}}},"interactive_sounds":{"type":"object","title":"Interactive Sounds","description":"Interactive sounds definitions","additionalProperties":false,"properties":{"block_sounds":{"type":"object","title":"Block Sounds","description":"Block sound definitions","additionalProperties":{"type":"object","title":"Block Sound","description":"A single block sound definition","additionalProperties":false,"properties":{"volume":{"$ref":"#/definitions/volume"},"pitch":{"$ref":"#/definitions/pitch"},"events":{"type":"object","title":"Events","propertyNames":{"enum":["default","fall","step","hit","jump","land"]},"additionalProperties":{"title":"Sound Event","description":"A single sound event definition","oneOf":[{"type":"string"},{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"volume":{"$ref":"#/definitions/volume"},"sound":{"type":"string","title":"Sound Event","description":"The sound event described in sound_definitions.json"},"pitch":{"$ref":"#/definitions/pitch"}}}]}}}}},"entity_sounds":{"type":"object","title":"Entity Sounds","description":"Entity sound definitions","additionalProperties":false,"properties":{"defaults":{"type":"object","title":"Defaults","description":"Default sound definitions","additionalProperties":{"type":"object","title":"Entity Sounds","properties":{"events":{"type":"object","title":"Entity Events","propertyNames":{"pattern":"[a-z0-9\\.]+"},"additionalProperties":{"type":"object","title":"Entity Event","description":"A single entity event","additionalProperties":{"type":"string","title":"A Sound Interaction"}}}}},"properties":{"volume":{"$ref":"#/definitions/volume"},"pitch":{"$ref":"#/definitions/pitch"}}},"entities":{"type":"object","title":"Entites Sounds","description":"Entities sound definitions","additionalProperties":{"type":"object","title":"Entity Sounds","properties":{"volume":{"$ref":"#/definitions/volume"},"pitch":{"$ref":"#/definitions/pitch"},"events":{"type":"object","title":"Entity Events","propertyNames":{"pattern":"[a-z0-9\\.]+"},"additionalProperties":{"type":"object","title":"Entity Event","description":"A single entity event","additionalProperties":{"type":"string","title":"A Sound Interaction"}}}}}}}}}}}}
{"$id":"blockception.minecraft.resource.sounds.json","type":"object","title":"Sounds.json","description":"Sound definitions","additionalProperties":false,"definitions":{"pitch":{"title":"Pitch","oneOf":[{"default":1,"type":"number","description":"A defined pitch"},{"description":"A random selection between a minimum and maximum","type":"array","items":[{"type":"number","minimum":0,"title":"Minimum"},{"type":"number","minimum":0,"title":"Maximum"}]}]},"volume":{"title":"Volume","oneOf":[{"default":1,"type":"number","description":"A defined volume"},{"description":"A random selection between a minimum and maximum","type":"array","items":[{"type":"number","minimum":0,"title":"Minimum"},{"type":"number","minimum":0,"title":"Maximum"}]}]},"sound_event":{"title":"Sound Event","description":"A single sound event definition","oneOf":[{"type":"string"},{"type":"object","additionalProperties":false,"required":["sound"],"properties":{"volume":{"$ref":"#/definitions/volume"},"sound":{"type":"string","title":"Sound Event","description":"The sound event described in sound_definitions.json"},"pitch":{"$ref":"#/definitions/pitch"}}}]},"entity_event":{"type":"object","title":"Entity Sound","description":"Entity sound definitions","properties":{"volume":{"$ref":"#/definitions/volume"},"pitch":{"$ref":"#/definitions/pitch"},"events":{"type":"object","title":"Events","propertyNames":{"pattern":"[a-z\\._]+"},"additionalProperties":{"$ref":"#/definitions/sound_event"}}}}},"properties":{"block_sounds":{"type":"object","title":"Block Sounds","description":"Block sound definitions","additionalProperties":{"type":"object","title":"Block Sound","description":"A single block sound definition","additionalProperties":false,"properties":{"volume":{"$ref":"#/definitions/volume"},"pitch":{"$ref":"#/definitions/pitch"},"events":{"type":"object","title":"Events","propertyNames":{"enum":["default","item.use.on","break","hit","place","power.on","power.off"]},"additionalProperties":{"$ref":"#/definitions/sound_event"}}}}},"entity_sounds":{"type":"object","title":"Entity Sounds","description":"Entity sounds definitions","additionalProperties":false,"properties":{"defaults":{"$ref":"#/definitions/entity_event"},"entities":{"type":"object","title":"Entities","description":"Entities definitions","additionalProperties":{"$ref":"#/definitions/entity_event"}}}},"individual_event_sounds":{"type":"object","title":"Individual Event Sounds","description":"Individual event sounds definitions","additionalProperties":false,"properties":{"events":{"type":"object","title":"Events","description":"Events","additionalProperties":{"$ref":"#/definitions/sound_event"}}}},"interactive_sounds":{"type":"object","title":"Interactive Sounds","description":"Interactive sounds definitions","additionalProperties":false,"properties":{"block_sounds":{"type":"object","title":"Block Sounds","description":"Block sound definitions","additionalProperties":{"type":"object","title":"Block Sound","description":"A single block sound definition","additionalProperties":false,"properties":{"volume":{"$ref":"#/definitions/volume"},"pitch":{"$ref":"#/definitions/pitch"},"events":{"type":"object","title":"Events","propertyNames":{"enum":["default","fall","step","hit","jump","land"]},"additionalProperties":{"title":"Sound Event","description":"A single sound event definition","oneOf":[{"type":"string"},{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"volume":{"$ref":"#/definitions/volume"},"sound":{"type":"string","title":"Sound Event","description":"The sound event described in sound_definitions.json"},"pitch":{"$ref":"#/definitions/pitch"}}}]}}}}},"entity_sounds":{"type":"object","title":"Entity Sounds","description":"Entity sound definitions","additionalProperties":false,"properties":{"defaults":{"type":"object","title":"Defaults","description":"Default sound definitions","additionalProperties":{"type":"object","title":"Entity Sounds","properties":{"events":{"type":"object","title":"Entity Events","propertyNames":{"pattern":"[a-z0-9\\.]+"},"additionalProperties":{"type":"object","title":"Entity Event","description":"A single entity event","additionalProperties":{"type":"string","title":"A Sound Interaction"}}}}},"properties":{"volume":{"$ref":"#/definitions/volume"},"pitch":{"$ref":"#/definitions/pitch"}}},"entities":{"type":"object","title":"Entites Sounds","description":"Entities sound definitions","additionalProperties":{"type":"object","title":"Entity Sounds","properties":{"volume":{"$ref":"#/definitions/volume"},"pitch":{"$ref":"#/definitions/pitch"},"events":{"type":"object","title":"Entity Events","propertyNames":{"pattern":"[a-z0-9\\.]+"},"additionalProperties":{"type":"object","title":"Entity Event","description":"A single entity event","additionalProperties":{"type":"string","title":"A Sound Interaction"}}}}}}}}}}}}

View File

@@ -1 +1 @@
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.music_definitions.json","examples":[{"example":{"event_name":"music.example","min_delay":600,"max_delay":1200}}],"type":"object","title":"Music File","description":"The definition file of music of the resourcepack","definitions":{"music":{}},"propertyNames":{"examples":["creative","credits","end","endboss","game","hell","menu","nether","soulsand_valley","water"]},"additionalProperties":{"additionalProperties":false,"type":"object","description":"A music defintion","required":["event_name"],"properties":{"event_name":{"description":"The name of the minecraft music event","type":"string","examples":["music.game","music.game.creative","music.game.end","music.game.endboss","music.game.nether","music.game.credits","music.game.nether_wastes","music.menu"],"title":"Event Name"},"min_delay":{"type":"integer","description":"TODO description: min delay","title":"Min Delay"},"max_delay":{"type":"integer","description":"TODO description: max delay","title":"Max Delay"}},"title":"Music"}}
{"$id":"blockception.minecraft.music_definitions.json","examples":[{"example":{"event_name":"music.example","min_delay":600,"max_delay":1200}}],"type":"object","title":"Music File","description":"The definition file of music of the resourcepack","definitions":{"music":{}},"propertyNames":{"examples":["creative","credits","end","endboss","game","hell","menu","nether","soulsand_valley","water"]},"additionalProperties":{"additionalProperties":false,"type":"object","description":"A music defintion","required":["event_name"],"properties":{"event_name":{"description":"The name of the minecraft music event","type":"string","examples":["music.game","music.game.creative","music.game.end","music.game.endboss","music.game.nether","music.game.credits","music.game.nether_wastes","music.menu"],"title":"Event Name"},"min_delay":{"type":"integer","description":"TODO description: min delay","title":"Min Delay"},"max_delay":{"type":"integer","description":"TODO description: max delay","title":"Max Delay"}},"title":"Music"}}

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.texture.flipbook","additionalProperties":false,"type":"array","title":"Flipbook Texture File","description":"","items":{"additionalProperties":false,"type":"object","description":"A single flipbook texture","title":"Flipbook Texture","properties":{"atlas_index":{"type":"integer","title":"Atlas Index","description":"TODO: add description"},"atlas_tile":{"type":"string","pattern":"^[a-z0-9_\\-]*$","title":"Atlas Index","description":"TODO: add description"},"atlas_tile_variant":{"type":"integer","title":"Atlas Index","description":"TODO: add description"},"blend_frames":{"type":"boolean","title":"Atlas Index","description":"TODO: add description"},"flipbook_texture":{"description":"A texture file","type":"string","pattern":"^textures/.+$"},"frames":{"description":"The collection of frame index to display","type":"array","items":{"description":"The index of the frame","type":"integer","title":"Frame Index","minimum":0}},"replicate":{"type":"integer","title":"Atlas Index","description":"TODO: add description"},"ticks_per_frame":{"description":"The amount of ticks to wait between frames","type":"integer"}}},"definitions":{}}
{"$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":"TODO: add description","title":"Atlas Index","type":"integer"},"atlas_tile":{"description":"TODO: add description","pattern":"^[a-z0-9_\\-]*$","title":"Atlas Index","type":"string"},"atlas_tile_variant":{"description":"TODO: add description","title":"Atlas Index","type":"integer"},"blend_frames":{"description":"TODO: add description","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":"TODO: add description","title":"Atlas Index","type":"integer"},"ticks_per_frame":{"description":"The amount of ticks to wait between frames","title":"Ticks Per Frame","type":"integer"}}},"definitions":{}}

View File

@@ -1 +1 @@
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.texture.item_texture","additionalProperties":false,"type":"object","title":"Item Texture File","description":"","definitions":{"texture":{"oneOf":[{"description":"A texture file","type":"string","pattern":"^textures/.+$"},{"type":"object","additionalProperties":false,"properties":{"overlay_color":{"description":"The color to apply to the texture","format":"color-hex"},"path":{"description":"A texture file","type":"string","pattern":"^textures/.+$"}}}]}},"properties":{"resource_pack_name":{"type":"string","title":"Resource Pack Name","description":"TODO: add description"},"texture_data":{"title":"Texture Data","description":"TODO: add description","type":"object","propertyNames":{"pattern":"^[\\w_\\-\\.]+$"},"additionalProperties":{"title":"Texture Data","description":"TODO: add description","type":"object","additionalProperties":false,"properties":{"textures":{"oneOf":[{"$ref":"#/definitions/texture"},{"description":"A collection of textures","type":"array","items":{"$ref":"#/definitions/texture"}}]}}}},"texture_name":{"title":"Texture Name","description":"TODO: add description","type":"string"}}}
{"$id":"blockception.minecraft.resource.texture.item_texture","additionalProperties":false,"type":"object","title":"Item Texture File","description":"","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"},"path":{"description":"A texture file","type":"string","pattern":"^textures/.+$","title":"Path"},"tint_color":{"title":"Tint Color","description":"TODO","format":"color-hex","type":"string"},"variations":{"type":"array","title":"Variantions","description":"TODO","items":{"type":"object","title":"Variantion","description":"TODO","required":["path"],"properties":{"path":{"description":"A texture file","type":"string","pattern":"^textures/.+$","title":"Path"},"weight":{"type":"integer","title":"Weight","description":"TODO"}}}}}}]}},"properties":{"resource_pack_name":{"type":"string","title":"Resource Pack Name","description":"TODO: add description"},"texture_data":{"title":"Texture Data","description":"TODO: add description","type":"object","propertyNames":{"pattern":"^[\\w_\\-\\.]+$"},"additionalProperties":{"title":"Texture Data","description":"TODO: add description","type":"object","additionalProperties":false,"properties":{"textures":{"oneOf":[{"$ref":"#/definitions/texture"},{"description":"A collection of textures","title":"Texture Data","type":"array","items":{"$ref":"#/definitions/texture"}}]}}}},"texture_name":{"title":"Texture Name","description":"TODO: add description","type":"string"}}}

View File

@@ -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":"","definitions":{"texture":{"oneOf":[{"description":"A texture file","type":"string","pattern":"^textures/.+$"},{"type":"object","additionalProperties":false,"properties":{"overlay_color":{"description":"The color to apply to the texture","format":"color-hex"},"path":{"description":"A texture file","type":"string","pattern":"^textures/.+$","title":"Path"},"tint_color":{"title":"Tint Color","description":"TODO","format":"color-hex","type":"string"},"variations":{"type":"array","title":"Variantions","description":"TODO","items":{"type":"object","title":"Variantion","description":"TODO","required":["path"],"properties":{"path":{"description":"A texture file","type":"string","pattern":"^textures/.+$","title":"Path"},"weight":{"type":"integer","title":"Weight","description":"TODO"}}}}}}]}},"properties":{"num_mip_levels":{"type":"integer","title":"Num Mip Levels","description":"TODO: add description"},"padding":{"type":"integer","title":"Padding","description":"TODO: add description"},"resource_pack_name":{"type":"string","title":"Resource Pack Name","description":"TODO: add description"},"texture_data":{"type":"object","propertyNames":{"pattern":"^[\\w_\\-\\.]+$"},"additionalProperties":{"type":"object","title":"Texture Data","description":"TODO: add description","properties":{"textures":{"oneOf":[{"$ref":"#/definitions/texture"},{"type":"array","items":{"$ref":"#/definitions/texture"}}]}}},"description":"TODO description","title":"TODO Title"},"texture_name":{"type":"string","description":"TODO description","title":"TODO Title"}}}
{"$id":"blockception.minecraft.resource.texture.terrain_texture","additionalProperties":false,"type":"object","title":"Terrain Texture File","description":"","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"},"path":{"description":"A texture file","type":"string","pattern":"^textures/.+$","title":"Path"},"tint_color":{"title":"Tint Color","description":"TODO","format":"color-hex","type":"string"},"variations":{"type":"array","title":"Variantions","description":"TODO","items":{"type":"object","title":"Variantion","description":"TODO","required":["path"],"properties":{"path":{"description":"A texture file","type":"string","pattern":"^textures/.+$","title":"Path"},"weight":{"type":"integer","title":"Weight","description":"TODO"}}}}}}]}},"properties":{"num_mip_levels":{"type":"integer","title":"Num Mip Levels","description":"TODO: add description"},"padding":{"type":"integer","title":"Padding","description":"TODO: add description"},"resource_pack_name":{"type":"string","title":"Resource Pack Name","description":"TODO: add description"},"texture_data":{"type":"object","propertyNames":{"pattern":"^[\\w_\\-\\.]+$"},"additionalProperties":{"type":"object","title":"Texture Data","description":"TODO: add description","properties":{"textures":{"oneOf":[{"$ref":"#/definitions/texture"},{"type":"array","items":{"$ref":"#/definitions/texture"}}]}}},"description":"TODO description","title":"TODO Title"},"texture_name":{"type":"string","description":"TODO description","title":"TODO Title"}}}

View File

@@ -1 +1 @@
{"$schema":"http://json-schema.org/draft-07/schema","title":"Texture List","description":"A list of texture to load in","type":"array","items":{"title":"Filepath","type":"string","pattern":"^textures/","examples":["textures/blocks/"]},"definitions":{}}
{"title":"Texture List","description":"A list of texture to load in","type":"array","items":{"title":"Filepath","type":"string","pattern":"^textures/","examples":["textures/blocks/"]},"definitions":{}}