auto: Formatted json files

This commit is contained in:
DaanV2
2020-11-17 21:19:54 +01:00
parent e9eed3d078
commit 79d08e5bc6
19 changed files with 74 additions and 122 deletions

View File

@@ -5,11 +5,9 @@
{
"format_version": "1.10.0",
"animations": {
"animation.example": {
}
"animation.example": {}
}
}
}
],
"allOf": [
{

View File

@@ -8,9 +8,7 @@
"description": {
"identifier": "namespace:block"
},
"components": {
}
"components": {}
}
}
],

View File

@@ -60,7 +60,7 @@
"add": {
"title": "Add",
"$ref": "#/definitions/addremove",
"description": "The components groups to be added to this entity"
"description": "The components groups to be added to this entity"
},
"filters": {
"$ref": "./filters.json"

View File

@@ -10,15 +10,9 @@
"is_spawnable": true,
"is_summonable": true
},
"component_groups": {
},
"components": {
},
"events": {
}
"component_groups": {},
"components": {},
"events": {}
}
}
],

View File

@@ -8,11 +8,9 @@
"description": {
"identifier": "namespace:item"
},
"components": {
}
"components": {}
}
}
}
],
"allOf": [
{

View File

@@ -14,10 +14,7 @@
"type": "item",
"name": "minecraft:spawn_egg",
"weight": 1,
"functions": [
{ "function": "set_count", "count": { "min": 1, "max": 1 } },
{ "function": "set_actor_id" }
]
"functions": [{ "function": "set_count", "count": { "min": 1, "max": 1 } }, { "function": "set_actor_id" }]
}
]
}

View File

@@ -8,20 +8,16 @@
"description": {
"identifier": "minecraft:item"
},
"tags": [ "crafting_table" ],
"pattern": [
],
"key": {
},
"tags": ["crafting_table"],
"pattern": [],
"key": {},
"result": {
"item": "minecraft:boat",
"data": 4
}
}
}
}
}
],
"allOf": [
{

View File

@@ -9,11 +9,7 @@
"identifier": "minecraft:entity",
"population_control": "ambient"
},
"conditions": [
{
}
]
"conditions": [{}]
}
}
],

View File

@@ -15,14 +15,12 @@
"quantity": { "min": 16, "max": 24 }
}
],
"gives": [
{ "item": "minecraft:emerald" }
]
"gives": [{ "item": "minecraft:emerald" }]
}
]
}
]
}
}
],
"definitions": {
"Item": {

View File

@@ -4,9 +4,7 @@
"type": "array",
"title": "The minecraft world x pack schema",
"description": "TODO description",
"examples": [
[{ "pack_id": "UUID", "version": [1, 0, 0] }]
],
"examples": [[{ "pack_id": "UUID", "version": [1, 0, 0] }]],
"definitions": {
"uuidv4": { "$ref": "./UUIDV4.json" },
"version": { "$ref": "./Version.json" }

View File

@@ -3,35 +3,35 @@
"$id": "blockception.minecraft.language_names",
"examples": [
[
[ "en_US", "English (US)" ],
[ "en_GB", "English (UK)" ],
[ "de_DE", "Deutsch (Deutschland)" ],
[ "es_ES", "Español (España)" ],
[ "es_MX", "Español (México)" ],
[ "fr_FR", "Français (France)" ],
[ "fr_CA", "Français (Canada)" ],
[ "it_IT", "Italiano (Italia)" ],
[ "ja_JP", "日本語 (日本)" ],
[ "ko_KR", "한국어 (대한민국)" ],
[ "pt_BR", "Português (Brasil)" ],
[ "pt_PT", "Português (Portugal)" ],
[ "ru_RU", "Русский (Россия)" ],
[ "zh_CN", "简体中文" ],
[ "zh_TW", "繁體中文" ],
[ "nl_NL", "Nederlands (Nederland)" ],
[ "bg_BG", "Български (BG)" ],
[ "cs_CZ", "Čeština (Česká republika)" ],
[ "da_DK", "Dansk (DA)" ],
[ "el_GR", "Ελληνικά (Ελλάδα)" ],
[ "fi_FI", "Suomi (Suomi)" ],
[ "hu_HU", "Magyar (HU)" ],
[ "id_ID", "Bahasa Indonesia (Indonesia)" ],
[ "nb_NO", "Norsk bokmål (Norge)" ],
[ "pl_PL", "Polski (PL)" ],
[ "sk_SK", "Slovensky (SK)" ],
[ "sv_SE", "Svenska (Sverige)" ],
[ "tr_TR", "Türkçe (Türkiye)" ],
[ "uk_UA", "Українська (Україна)" ]
["en_US", "English (US)"],
["en_GB", "English (UK)"],
["de_DE", "Deutsch (Deutschland)"],
["es_ES", "Español (España)"],
["es_MX", "Español (México)"],
["fr_FR", "Français (France)"],
["fr_CA", "Français (Canada)"],
["it_IT", "Italiano (Italia)"],
["ja_JP", "日本語 (日本)"],
["ko_KR", "한국어 (대한민국)"],
["pt_BR", "Português (Brasil)"],
["pt_PT", "Português (Portugal)"],
["ru_RU", "Русский (Россия)"],
["zh_CN", "简体中文"],
["zh_TW", "繁體中文"],
["nl_NL", "Nederlands (Nederland)"],
["bg_BG", "Български (BG)"],
["cs_CZ", "Čeština (Česká republika)"],
["da_DK", "Dansk (DA)"],
["el_GR", "Ελληνικά (Ελλάδα)"],
["fi_FI", "Suomi (Suomi)"],
["hu_HU", "Magyar (HU)"],
["id_ID", "Bahasa Indonesia (Indonesia)"],
["nb_NO", "Norsk bokmål (Norge)"],
["pl_PL", "Polski (PL)"],
["sk_SK", "Slovensky (SK)"],
["sv_SE", "Svenska (Sverige)"],
["tr_TR", "Türkçe (Türkiye)"],
["uk_UA", "Українська (Україна)"]
]
],
"additionalProperties": false,

View File

@@ -8,15 +8,11 @@
"controller.animation.example": {
"states": {
"default": {
"transitions": [
{ "state_1": "query.is_baby" }
]
"transitions": [{ "state_1": "query.is_baby" }]
},
"state_1": {
"animations": ["state_1"],
"transitions": [
{ "default": "query.all_animations_finished" }
]
"transitions": [{ "default": "query.all_animations_finished" }]
}
}
}

View File

@@ -8,9 +8,7 @@
"animation.annie.idle": {
"loop": true,
"animation_length": 2.12,
"bones": {
}
"bones": {}
}
}
}

View File

@@ -17,10 +17,8 @@
"geometry": {
"default": "geometry.item"
},
"scripts": {
},
"render_controllers": [ "controller.render.item" ]
"scripts": {},
"render_controllers": ["controller.render.item"]
}
}
}

View File

@@ -14,17 +14,11 @@
"geometry": {
"default": "geometry.entity"
},
"animations": {
},
"particle_effects": {
},
"scripts": {
},
"render_controllers": [ "controller.render.entity" ],
"animations": {},
"particle_effects": {},
"scripts": {},
"render_controllers": ["controller.render.entity"],
"spawn_egg": {
"base_color": "#288483",
"overlay_color": "#2B7135"

View File

@@ -3,19 +3,17 @@
"$id": "blockception.minecraft.resource.model",
"examples": [
{
"format_version" : "1.12.0",
"minecraft:geometry" : [
"format_version": "1.12.0",
"minecraft:geometry": [
{
"description" : {
"identifier" : "geometry.entity",
"texture_width" : 64.0,
"texture_height" : 64.0,
"visible_bounds_offset" : [ 0.0, 0.5, 0.0 ],
"visible_bounds_width" : 1.5
"description": {
"identifier": "geometry.entity",
"texture_width": 64.0,
"texture_height": 64.0,
"visible_bounds_offset": [0.0, 0.5, 0.0],
"visible_bounds_width": 1.5
},
"bones" : {
}
"bones": {}
}
]
}

View File

@@ -12,15 +12,10 @@
"texture": "textures/particle/particle"
}
},
"curves": {
},
"components": {
}
"curves": {},
"components": {}
}
}
],
"allOf": [
{

View File

@@ -7,8 +7,8 @@
"render_controllers": {
"controller.render.example": {
"geometry": "Geometry.default",
"materials": [ { "*": "Material.default" } ],
"textures": [ "Texture.default" ]
"materials": [{ "*": "Material.default" }],
"textures": ["Texture.default"]
}
}
}
@@ -22,7 +22,7 @@
"then": { "$ref": "1.8.0/render_controllers.json" }
},
{
"if": {"properties": { "format_version": { "type": "string", "const": "1.10" } } },
"if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } },
"then": { "$ref": "1.10.0/render_controllers.json" }
},
{

View File

@@ -4,7 +4,7 @@
"examples": [
{
"example": {
"event_name" : "music.example",
"event_name": "music.example",
"min_delay": 600,
"max_delay": 1200
}