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,9 +5,7 @@
{ {
"format_version": "1.10.0", "format_version": "1.10.0",
"animations": { "animations": {
"animation.example": { "animation.example": {}
}
} }
} }
], ],

View File

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

View File

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

View File

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

View File

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

View File

@@ -9,13 +9,9 @@
"identifier": "minecraft:item" "identifier": "minecraft:item"
}, },
"tags": [ "crafting_table" ], "tags": ["crafting_table"],
"pattern": [ "pattern": [],
"key": {},
],
"key": {
},
"result": { "result": {
"item": "minecraft:boat", "item": "minecraft:boat",
"data": 4 "data": 4

View File

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

View File

@@ -15,9 +15,7 @@
"quantity": { "min": 16, "max": 24 } "quantity": { "min": 16, "max": 24 }
} }
], ],
"gives": [ "gives": [{ "item": "minecraft:emerald" }]
{ "item": "minecraft:emerald" }
]
} }
] ]
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -14,16 +14,10 @@
"geometry": { "geometry": {
"default": "geometry.entity" "default": "geometry.entity"
}, },
"animations": { "animations": {},
"particle_effects": {},
}, "scripts": {},
"particle_effects": { "render_controllers": ["controller.render.entity"],
},
"scripts": {
},
"render_controllers": [ "controller.render.entity" ],
"spawn_egg": { "spawn_egg": {
"base_color": "#288483", "base_color": "#288483",

View File

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

View File

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

View File

@@ -7,8 +7,8 @@
"render_controllers": { "render_controllers": {
"controller.render.example": { "controller.render.example": {
"geometry": "Geometry.default", "geometry": "Geometry.default",
"materials": [ { "*": "Material.default" } ], "materials": [{ "*": "Material.default" }],
"textures": [ "Texture.default" ] "textures": ["Texture.default"]
} }
} }
} }
@@ -22,7 +22,7 @@
"then": { "$ref": "1.8.0/render_controllers.json" } "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" } "then": { "$ref": "1.10.0/render_controllers.json" }
}, },
{ {

View File

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