auto: Generated Json Schemas

This commit is contained in:
Blockception Bot
2022-02-04 22:04:01 +00:00
parent 9ff9c5cf73
commit dbacbd8c39
21 changed files with 21 additions and 21 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

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.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":{"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","examples":["1.17.40","1.17.30","1.17.0","1.16.0","1.15.0","1.14.0","1.13.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18|}.${2|0|}"}]}}}
{"$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":{"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","examples":["1.18.0","1.17.0","1.16.0","1.15.0","1.14.0","1.13.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18|}.${2|0|}"}]}}}

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.sound_definition","type":"object","additionalProperties":false,"title":"Sound File For ","description":"UNDOCUMENTED","$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":"UNDOCUMENTED"},"category":{"type":"string","title":"Sound Category","enum":["ambient","block","music","weather","ui","bucket","neutral","player","hostile","record","bottle"],"description":"UNDOCUMENTED: category"},"sounds":{"title":"Sounds","description":"UNDOCUMENTED: sounds","items":{"title":"Sounds","description":"UNDOCUMENTED: sounds","anyOf":[{"$id":"#/Sound/sounds/stringItem","type":"string","$ref":"#/definitions/SoundPath","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Sounds"},{"additionalProperties":false,"$id":"#/Sound/sounds/ObjectItem","type":"object","required":["name"],"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"},"load_on_low_memory":{"type":"boolean","description":"Marks if this audio should be loaded or not on low memory","title":"Load On Low Memory"},"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}},"description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Sounds"}]}},"max_distance":{"title":"Max Distance","description":"UNDOCUMENTED","type":"number","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","examples":["1.17.40","1.17.30","1.17.0","1.16.0","1.15.0","1.14.0","1.13.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18|}.${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 File For ","description":"UNDOCUMENTED","$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":"UNDOCUMENTED"},"category":{"type":"string","title":"Sound Category","enum":["ambient","block","music","weather","ui","bucket","neutral","player","hostile","record","bottle"],"description":"UNDOCUMENTED: category"},"sounds":{"title":"Sounds","description":"UNDOCUMENTED: sounds","items":{"title":"Sounds","description":"UNDOCUMENTED: sounds","anyOf":[{"$id":"#/Sound/sounds/stringItem","type":"string","$ref":"#/definitions/SoundPath","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Sounds"},{"additionalProperties":false,"$id":"#/Sound/sounds/ObjectItem","type":"object","required":["name"],"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"},"load_on_low_memory":{"type":"boolean","description":"Marks if this audio should be loaded or not on low memory","title":"Load On Low Memory"},"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}},"description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Sounds"}]}},"max_distance":{"title":"Max Distance","description":"UNDOCUMENTED","type":"number","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","examples":["1.18.0","1.17.0","1.16.0","1.15.0","1.14.0","1.13.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18|}.${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"]}}}