diff --git a/behaviour/animations/animations.json b/behaviour/animations/animations.json index 813b3b22..f8e0a0f9 100644 --- a/behaviour/animations/animations.json +++ b/behaviour/animations/animations.json @@ -5,11 +5,9 @@ { "format_version": "1.10.0", "animations": { - "animation.example": { - - } + "animation.example": {} } - } + } ], "allOf": [ { diff --git a/behaviour/blocks/blocks.json b/behaviour/blocks/blocks.json index ac76b693..4692b48d 100644 --- a/behaviour/blocks/blocks.json +++ b/behaviour/blocks/blocks.json @@ -8,9 +8,7 @@ "description": { "identifier": "namespace:block" }, - "components": { - - } + "components": {} } } ], diff --git a/behaviour/entities/1.16.0/events.json b/behaviour/entities/1.16.0/events.json index 9ff84a9b..2c3e589b 100644 --- a/behaviour/entities/1.16.0/events.json +++ b/behaviour/entities/1.16.0/events.json @@ -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" diff --git a/behaviour/entities/entities.json b/behaviour/entities/entities.json index e1a9ba1f..a020fef0 100644 --- a/behaviour/entities/entities.json +++ b/behaviour/entities/entities.json @@ -10,15 +10,9 @@ "is_spawnable": true, "is_summonable": true }, - "component_groups": { - - }, - "components": { - - }, - "events": { - - } + "component_groups": {}, + "components": {}, + "events": {} } } ], diff --git a/behaviour/items/items.json b/behaviour/items/items.json index 5f59b483..a41fa300 100644 --- a/behaviour/items/items.json +++ b/behaviour/items/items.json @@ -8,11 +8,9 @@ "description": { "identifier": "namespace:item" }, - "components": { - - } + "components": {} } - } + } ], "allOf": [ { diff --git a/behaviour/loot_tables/loot_tables.json b/behaviour/loot_tables/loot_tables.json index a081a919..8e1df5c5 100644 --- a/behaviour/loot_tables/loot_tables.json +++ b/behaviour/loot_tables/loot_tables.json @@ -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" }] } ] } diff --git a/behaviour/recipes/recipes.json b/behaviour/recipes/recipes.json index f090ab57..83b62621 100644 --- a/behaviour/recipes/recipes.json +++ b/behaviour/recipes/recipes.json @@ -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": [ { diff --git a/behaviour/spawn_rules/spawn_rules.json b/behaviour/spawn_rules/spawn_rules.json index 6002d305..2572f5e7 100644 --- a/behaviour/spawn_rules/spawn_rules.json +++ b/behaviour/spawn_rules/spawn_rules.json @@ -9,11 +9,7 @@ "identifier": "minecraft:entity", "population_control": "ambient" }, - "conditions": [ - { - - } - ] + "conditions": [{}] } } ], diff --git a/behaviour/trading/trading.json b/behaviour/trading/trading.json index 4fe65b90..bba43b84 100644 --- a/behaviour/trading/trading.json +++ b/behaviour/trading/trading.json @@ -15,14 +15,12 @@ "quantity": { "min": 16, "max": 24 } } ], - "gives": [ - { "item": "minecraft:emerald" } - ] + "gives": [{ "item": "minecraft:emerald" }] } ] } ] - } + } ], "definitions": { "Item": { diff --git a/general/world_x_packs.json b/general/world_x_packs.json index 91043427..20b8c76e 100644 --- a/general/world_x_packs.json +++ b/general/world_x_packs.json @@ -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" } diff --git a/language/language_names.json b/language/language_names.json index 792b2e46..4e4ce315 100644 --- a/language/language_names.json +++ b/language/language_names.json @@ -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, diff --git a/resource/animation_controllers/animation_controller.json b/resource/animation_controllers/animation_controller.json index 0022159e..635eae77 100644 --- a/resource/animation_controllers/animation_controller.json +++ b/resource/animation_controllers/animation_controller.json @@ -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" }] } } } diff --git a/resource/animations/actor_animation.json b/resource/animations/actor_animation.json index a4163cde..375d9cbb 100644 --- a/resource/animations/actor_animation.json +++ b/resource/animations/actor_animation.json @@ -8,9 +8,7 @@ "animation.annie.idle": { "loop": true, "animation_length": 2.12, - "bones": { - - } + "bones": {} } } } diff --git a/resource/attachables/attachables.json b/resource/attachables/attachables.json index a48ebb18..c649c7fd 100644 --- a/resource/attachables/attachables.json +++ b/resource/attachables/attachables.json @@ -17,10 +17,8 @@ "geometry": { "default": "geometry.item" }, - "scripts": { - - }, - "render_controllers": [ "controller.render.item" ] + "scripts": {}, + "render_controllers": ["controller.render.item"] } } } diff --git a/resource/entity/entity.json b/resource/entity/entity.json index fd703fe7..600f26b0 100644 --- a/resource/entity/entity.json +++ b/resource/entity/entity.json @@ -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" diff --git a/resource/models/entity/model_entity.json b/resource/models/entity/model_entity.json index d424017e..923ab833 100644 --- a/resource/models/entity/model_entity.json +++ b/resource/models/entity/model_entity.json @@ -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": {} } ] } diff --git a/resource/particles/particles.json b/resource/particles/particles.json index 0c2e7b6b..7a895ce9 100644 --- a/resource/particles/particles.json +++ b/resource/particles/particles.json @@ -12,15 +12,10 @@ "texture": "textures/particle/particle" } }, - "curves": { - - }, - "components": { - - } + "curves": {}, + "components": {} } } - ], "allOf": [ { diff --git a/resource/render_controllers/render_controllers.json b/resource/render_controllers/render_controllers.json index c1bea6a6..638561ca 100644 --- a/resource/render_controllers/render_controllers.json +++ b/resource/render_controllers/render_controllers.json @@ -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" } }, { diff --git a/resource/sounds/music_definitions.json b/resource/sounds/music_definitions.json index 422ee94b..c8026216 100644 --- a/resource/sounds/music_definitions.json +++ b/resource/sounds/music_definitions.json @@ -4,7 +4,7 @@ "examples": [ { "example": { - "event_name" : "music.example", + "event_name": "music.example", "min_delay": 600, "max_delay": 1200 }