From 286794dae02899a24f2a375096de8394860aac0a Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Wed, 18 Aug 2021 21:48:30 +0200 Subject: [PATCH] Added more test files --- .../data_bp/trading/master_block.trades.json | 20 +++++++ .../sheep.walk.controller.json | 22 +++++++ .../animations/sheep.walk.animation.json | 13 +++++ .../data_rp/attachables/master_block.hat.json | 21 +++++++ test/files/correct/data_rp/biomes_client.json | 7 +++ test/files/correct/data_rp/blocks.json | 6 ++ .../correct/data_rp/entities/sheep.geo.json | 23 ++++++++ .../data_rp/entity/dragon_born.entity.json | 33 +++++++++++ .../correct/data_rp/entity/sheep.entity.json | 36 ++++++++++++ .../correct/data_rp/entity/sheepentity.json | 8 +++ test/files/correct/data_rp/manifest.json | 18 ++++++ test/files/correct/data_rp/sounds.json | 21 ++++++- .../data_rp/sounds/music_definitions.json | 57 +++++++++++++++++++ .../data_rp/sounds/sound_definitions.json | 9 +++ .../correct/data_rp/texts/languages.json | 31 ++++++++++ .../data_rp/textures/flipbook_textures.json | 7 +++ .../data_rp/textures/item_texture.json | 8 +++ .../data_rp/textures/terrain_texture.json | 10 ++++ test/files/correct/manifest.json | 19 +++++++ test/files/correct/world_behavior_packs.json | 1 + test/files/correct/world_resource_packs.json | 1 + .../animations/sheep.walk.animation.json | 16 ++++++ .../data_rp/attachables/master_block.hat.json | 24 ++++++++ .../incorrect/data_rp/biomes_client.json | 7 +++ test/files/incorrect/data_rp/blocks.json | 6 ++ .../incorrect/data_rp/entities/sheep.geo.json | 24 ++++++++ .../data_rp/entity/dragon_born.entity.json | 33 +++++++++++ .../data_rp/entity/sheep.entity.json | 36 ++++++++++++ .../incorrect/data_rp/entity/sheepentity.json | 14 +++++ test/files/incorrect/data_rp/manifest.json | 18 ++++++ test/files/incorrect/data_rp/sounds.json | 20 +++++++ .../data_rp/sounds/music_definitions.json | 7 +++ .../data_rp/sounds/sound_definitions.json | 11 ++++ .../incorrect/data_rp/texts/languages.json | 31 ++++++++++ .../data_rp/textures/flipbook_textures.json | 8 +++ .../data_rp/textures/item_texture.json | 8 +++ .../data_rp/textures/terrain_texture.json | 10 ++++ test/files/incorrect/manifest.json | 19 +++++++ .../files/incorrect/world_behavior_packs.json | 1 + .../files/incorrect/world_resource_packs.json | 1 + 40 files changed, 662 insertions(+), 3 deletions(-) create mode 100644 test/files/correct/data_bp/trading/master_block.trades.json create mode 100644 test/files/correct/data_rp/animation_controllers/sheep.walk.controller.json create mode 100644 test/files/correct/data_rp/animations/sheep.walk.animation.json create mode 100644 test/files/correct/data_rp/attachables/master_block.hat.json create mode 100644 test/files/correct/data_rp/biomes_client.json create mode 100644 test/files/correct/data_rp/blocks.json create mode 100644 test/files/correct/data_rp/entities/sheep.geo.json create mode 100644 test/files/correct/data_rp/entity/dragon_born.entity.json create mode 100644 test/files/correct/data_rp/entity/sheep.entity.json create mode 100644 test/files/correct/data_rp/entity/sheepentity.json create mode 100644 test/files/correct/data_rp/manifest.json create mode 100644 test/files/correct/data_rp/sounds/music_definitions.json create mode 100644 test/files/correct/data_rp/sounds/sound_definitions.json create mode 100644 test/files/correct/data_rp/texts/languages.json create mode 100644 test/files/correct/data_rp/textures/flipbook_textures.json create mode 100644 test/files/correct/data_rp/textures/item_texture.json create mode 100644 test/files/correct/data_rp/textures/terrain_texture.json create mode 100644 test/files/correct/manifest.json create mode 100644 test/files/correct/world_behavior_packs.json create mode 100644 test/files/correct/world_resource_packs.json create mode 100644 test/files/incorrect/data_rp/animations/sheep.walk.animation.json create mode 100644 test/files/incorrect/data_rp/attachables/master_block.hat.json create mode 100644 test/files/incorrect/data_rp/biomes_client.json create mode 100644 test/files/incorrect/data_rp/blocks.json create mode 100644 test/files/incorrect/data_rp/entities/sheep.geo.json create mode 100644 test/files/incorrect/data_rp/entity/dragon_born.entity.json create mode 100644 test/files/incorrect/data_rp/entity/sheep.entity.json create mode 100644 test/files/incorrect/data_rp/entity/sheepentity.json create mode 100644 test/files/incorrect/data_rp/manifest.json create mode 100644 test/files/incorrect/data_rp/sounds.json create mode 100644 test/files/incorrect/data_rp/sounds/music_definitions.json create mode 100644 test/files/incorrect/data_rp/sounds/sound_definitions.json create mode 100644 test/files/incorrect/data_rp/texts/languages.json create mode 100644 test/files/incorrect/data_rp/textures/flipbook_textures.json create mode 100644 test/files/incorrect/data_rp/textures/item_texture.json create mode 100644 test/files/incorrect/data_rp/textures/terrain_texture.json create mode 100644 test/files/incorrect/manifest.json create mode 100644 test/files/incorrect/world_behavior_packs.json create mode 100644 test/files/incorrect/world_resource_packs.json diff --git a/test/files/correct/data_bp/trading/master_block.trades.json b/test/files/correct/data_bp/trading/master_block.trades.json new file mode 100644 index 00000000..2e39e747 --- /dev/null +++ b/test/files/correct/data_bp/trading/master_block.trades.json @@ -0,0 +1,20 @@ +{ + "tiers": [ + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:wheat", + "quantity": { + "min": 18, + "max": 22 + } + } + ], + "gives": [{ "item": "minecraft:emerald" }] + } + ] + } + ] +} diff --git a/test/files/correct/data_rp/animation_controllers/sheep.walk.controller.json b/test/files/correct/data_rp/animation_controllers/sheep.walk.controller.json new file mode 100644 index 00000000..fa8a9ffd --- /dev/null +++ b/test/files/correct/data_rp/animation_controllers/sheep.walk.controller.json @@ -0,0 +1,22 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.sheep.walk.example" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "default_animation" ], + "transitions" : [ + { "state_1" : "query.is_baby" } + ] + }, + "state_1" : { + "animations" : [ "state_animation" ], + "transitions" : [ + { "default" : "!query.is_baby" } + ] + } + } + } + } +} \ No newline at end of file diff --git a/test/files/correct/data_rp/animations/sheep.walk.animation.json b/test/files/correct/data_rp/animations/sheep.walk.animation.json new file mode 100644 index 00000000..f70afd7a --- /dev/null +++ b/test/files/correct/data_rp/animations/sheep.walk.animation.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.10.0", + "animations": { + "animation.sheep.walk.example": { + "animation_length": 5, + "bones": { + "root": { + "position": [0, 15, 0] + } + } + } + } +} diff --git a/test/files/correct/data_rp/attachables/master_block.hat.json b/test/files/correct/data_rp/attachables/master_block.hat.json new file mode 100644 index 00000000..3e2d6200 --- /dev/null +++ b/test/files/correct/data_rp/attachables/master_block.hat.json @@ -0,0 +1,21 @@ +{ + "format_version": "1.10.0", + "minecraft:attachable": { + "description": { + "identifier": "blockception:master_block.hat", + "materials": { + "default": "armor", + "enchanted": "armor_enchanted" + }, + "textures": { + "default": "textures/example", + "enchanted": "textures/misc/enchanted_item_glint" + }, + "geometry": { + "default": "geometry.example" + }, + "scripts": {}, + "render_controllers": [ "controller.render.example" ] + } + } +} \ No newline at end of file diff --git a/test/files/correct/data_rp/biomes_client.json b/test/files/correct/data_rp/biomes_client.json new file mode 100644 index 00000000..7cacc3e9 --- /dev/null +++ b/test/files/correct/data_rp/biomes_client.json @@ -0,0 +1,7 @@ +{ + "biomes" : { + "bamboo_jungle": { + "fog_color": "#000000" + } + } +} \ No newline at end of file diff --git a/test/files/correct/data_rp/blocks.json b/test/files/correct/data_rp/blocks.json new file mode 100644 index 00000000..dd0093c2 --- /dev/null +++ b/test/files/correct/data_rp/blocks.json @@ -0,0 +1,6 @@ +{ + "Example": { + "textures": "example", + "sound": "obsidian" + } +} \ No newline at end of file diff --git a/test/files/correct/data_rp/entities/sheep.geo.json b/test/files/correct/data_rp/entities/sheep.geo.json new file mode 100644 index 00000000..b30ea87d --- /dev/null +++ b/test/files/correct/data_rp/entities/sheep.geo.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.sheep", + "texture_width": 16, + "texture_height": 16, + "visible_bounds_width": 2, + "visible_bounds_height": 3, + "visible_bounds_offset": [0, 0.5, 0] + }, + "bones": [ + { + "name": "body", + "pivot": [0, 0, 0], + "cubes": [ + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/test/files/correct/data_rp/entity/dragon_born.entity.json b/test/files/correct/data_rp/entity/dragon_born.entity.json new file mode 100644 index 00000000..f2637506 --- /dev/null +++ b/test/files/correct/data_rp/entity/dragon_born.entity.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "blockception:dragon_born", + "min_engine_version": "1.8.0", + "materials": { + "default": "entity", + "alpha": "entity_alphatest" + }, + "textures": { + "default": "textures/entity/example" + }, + "animations": { + "default_pose": "animation.example.default_pose", + "controller.pose": "controller.animation.example.pose" + }, + "scripts": { + "initialize": [ + "variable.example.a = 0;", + "variable.example.b = 0;" + ], + "animate": [ + "controller.pose" + ] + }, + "geometry": { + "default": "geometry.example" + }, + "render_controllers": [ "controller.render.example" ] + } + } +} \ No newline at end of file diff --git a/test/files/correct/data_rp/entity/sheep.entity.json b/test/files/correct/data_rp/entity/sheep.entity.json new file mode 100644 index 00000000..7773714e --- /dev/null +++ b/test/files/correct/data_rp/entity/sheep.entity.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "blockception:sheep", + "min_engine_version": "1.8.0", + "materials": { + "default": "entity", + "alpha": "entity_alphatest" + }, + "textures": { + "default": "textures/entity/example" + }, + "animations": { + "default_pose": "animation.armor_stand.default_pose", + "controller.pose": "controller.animation.armor_stand.pose", + "controller.wiggling": "controller.animation.armor_stand.wiggle" + }, + "scripts": { + "initialize": [ + "variable.armor_stand.pose_index = 0;", + "variable.armor_stand.hurt_time = 0;" + ], + "animate": [ + "controller.pose", + "controller.wiggling" + ] + }, + "geometry": { + "default": "geometry.sheep" + }, + "render_controllers": [ "controller.render.armor_stand" ], + "enable_attachables": true + } + } +} \ No newline at end of file diff --git a/test/files/correct/data_rp/entity/sheepentity.json b/test/files/correct/data_rp/entity/sheepentity.json new file mode 100644 index 00000000..b469b8e6 --- /dev/null +++ b/test/files/correct/data_rp/entity/sheepentity.json @@ -0,0 +1,8 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "blockception:sheep" + } + } +} \ No newline at end of file diff --git a/test/files/correct/data_rp/manifest.json b/test/files/correct/data_rp/manifest.json new file mode 100644 index 00000000..dfff89d0 --- /dev/null +++ b/test/files/correct/data_rp/manifest.json @@ -0,0 +1,18 @@ +{ + "format_version": 2, + "header": { + "description": "Example vanilla resource pack", + "name": "Vanilla Resource Pack", + "uuid": "889b1ca1-d7d6-4598-a939-ff2ed10fb8f3", + "version": [1, 0, 0], + "min_engine_version": [ 1, 16, 200 ] + }, + "modules": [ + { + "description": "Example vanilla resource pack", + "type": "resources", + "uuid": "cd996c2a-3130-407a-ac49-0e44a39d1768", + "version": [1, 0, 0] + } + ] +} \ No newline at end of file diff --git a/test/files/correct/data_rp/sounds.json b/test/files/correct/data_rp/sounds.json index d2c6e65c..88007d45 100644 --- a/test/files/correct/data_rp/sounds.json +++ b/test/files/correct/data_rp/sounds.json @@ -1,5 +1,20 @@ { - "entity_sounds": { - "entities": {} + "block_sounds" : { + }, + "entity_sounds" : { + "defaults" : { + }, + "entities" : { + } + }, + "individual_event_sounds" : { + "events" : { + } + }, + "interactive_sounds" : { + "block_sounds" : { + }, + "entity_sounds" : { + } } -} +} \ No newline at end of file diff --git a/test/files/correct/data_rp/sounds/music_definitions.json b/test/files/correct/data_rp/sounds/music_definitions.json new file mode 100644 index 00000000..d22e1394 --- /dev/null +++ b/test/files/correct/data_rp/sounds/music_definitions.json @@ -0,0 +1,57 @@ +{ + "creative" : { + "event_name" : "music.game.creative", + "max_delay" : 180, + "min_delay" : 60 + }, + "credits" : { + "event_name" : "music.game.credits", + "max_delay" : 0, + "min_delay" : 0 + }, + "crimson_forest" : { + "event_name" : "music.game.crimson_forest", + "max_delay" : 180, + "min_delay" : 60 + }, + "end" : { + "event_name" : "music.game.end", + "max_delay" : 180, + "min_delay" : 60 + }, + "endboss" : { + "event_name" : "music.game.endboss", + "max_delay" : 180, + "min_delay" : 60 + }, + "game" : { + "event_name" : "music.game", + "max_delay" : 1200, + "min_delay" : 600 + }, + "hell" : { + "event_name" : "music.game.nether_wastes", + "max_delay" : 180, + "min_delay" : 60 + }, + "menu" : { + "event_name" : "music.menu", + "max_delay" : 30, + "min_delay" : 0 + }, + "nether" : { + "event_name" : "music.game.nether", + "max_delay" : 180, + "min_delay" : 60 + }, + "soulsand_valley" : { + "event_name" : "music.game.soulsand_valley", + "max_delay" : 180, + "min_delay" : 60 + }, + "water" : { + "event_name" : "music.game.water", + "max_delay" : 20, + "min_delay" : 10 + } +} \ No newline at end of file diff --git a/test/files/correct/data_rp/sounds/sound_definitions.json b/test/files/correct/data_rp/sounds/sound_definitions.json new file mode 100644 index 00000000..4ae6f35e --- /dev/null +++ b/test/files/correct/data_rp/sounds/sound_definitions.json @@ -0,0 +1,9 @@ +{ + "format_version": "1.14.0", + "sound_definitions": { + "example.pling": { + "sounds": [], + "category": "ui" + } + } +} \ No newline at end of file diff --git a/test/files/correct/data_rp/texts/languages.json b/test/files/correct/data_rp/texts/languages.json new file mode 100644 index 00000000..af6cf27b --- /dev/null +++ b/test/files/correct/data_rp/texts/languages.json @@ -0,0 +1,31 @@ +[ + "en_US", + "en_GB", + "de_DE", + "es_ES", + "es_MX", + "fr_FR", + "fr_CA", + "it_IT", + "ja_JP", + "ko_KR", + "pt_BR", + "pt_PT", + "ru_RU", + "zh_CN", + "zh_TW", + "nl_NL", + "bg_BG", + "cs_CZ", + "da_DK", + "el_GR", + "fi_FI", + "hu_HU", + "id_ID", + "nb_NO", + "pl_PL", + "sk_SK", + "sv_SE", + "tr_TR", + "uk_UA" +] diff --git a/test/files/correct/data_rp/textures/flipbook_textures.json b/test/files/correct/data_rp/textures/flipbook_textures.json new file mode 100644 index 00000000..9d32beb2 --- /dev/null +++ b/test/files/correct/data_rp/textures/flipbook_textures.json @@ -0,0 +1,7 @@ +[ + { + "flipbook_texture": "textures/example", + "atlas_tile": "example", + "ticks_per_frame": 15 + } +] \ No newline at end of file diff --git a/test/files/correct/data_rp/textures/item_texture.json b/test/files/correct/data_rp/textures/item_texture.json new file mode 100644 index 00000000..2e319fff --- /dev/null +++ b/test/files/correct/data_rp/textures/item_texture.json @@ -0,0 +1,8 @@ +{ + "resource_pack_name": "vanilla", + "texture_data": { + "example": { + "textures": "textures/items/example" + } + } +} diff --git a/test/files/correct/data_rp/textures/terrain_texture.json b/test/files/correct/data_rp/textures/terrain_texture.json new file mode 100644 index 00000000..9a794bf9 --- /dev/null +++ b/test/files/correct/data_rp/textures/terrain_texture.json @@ -0,0 +1,10 @@ +{ + "num_mip_levels": 4, + "padding": 8, + "resource_pack_name": "vanilla", + "texture_data": { + "example": { + "textures": "textures/blocks/example" + } + } +} diff --git a/test/files/correct/manifest.json b/test/files/correct/manifest.json new file mode 100644 index 00000000..f2889ed1 --- /dev/null +++ b/test/files/correct/manifest.json @@ -0,0 +1,19 @@ +{ + "format_version": 2, + "header": { + "name": "pack.name", + "description": "pack.description", + "uuid": "95a1126d-b998-4661-91d3-aa4e4fa48878", + "version": [1, 0, 0], + "lock_template_options": true, + "base_game_version": [1, 16, 200] + }, + "modules": [ + { + "type": "world_template", + "uuid": "20355327-5efb-49cd-b5e0-737cc0db1827", + "version": [1, 0, 0] + } + ], + "metadata": { "authors": ["Example author"] } +} \ No newline at end of file diff --git a/test/files/correct/world_behavior_packs.json b/test/files/correct/world_behavior_packs.json new file mode 100644 index 00000000..ccf44836 --- /dev/null +++ b/test/files/correct/world_behavior_packs.json @@ -0,0 +1 @@ +[{"pack_id":"10a7a11c-b88f-4986-bb48-69be8085a054","version":[1,0,0]}] \ No newline at end of file diff --git a/test/files/correct/world_resource_packs.json b/test/files/correct/world_resource_packs.json new file mode 100644 index 00000000..e156685b --- /dev/null +++ b/test/files/correct/world_resource_packs.json @@ -0,0 +1 @@ +[{"pack_id":"54927221-28d3-4cc6-bffb-a354f3987491","version":[1,0,0]}] \ No newline at end of file diff --git a/test/files/incorrect/data_rp/animations/sheep.walk.animation.json b/test/files/incorrect/data_rp/animations/sheep.walk.animation.json new file mode 100644 index 00000000..91b49209 --- /dev/null +++ b/test/files/incorrect/data_rp/animations/sheep.walk.animation.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.10.0", + "animations": { + "animation.sheep.walk.example": { + "animation_length": 5, + "bones": { + "root": { + "position": [0, 15, 0] + }, + "body": { + "debug": "true" + } + } + } + } +} diff --git a/test/files/incorrect/data_rp/attachables/master_block.hat.json b/test/files/incorrect/data_rp/attachables/master_block.hat.json new file mode 100644 index 00000000..245057f3 --- /dev/null +++ b/test/files/incorrect/data_rp/attachables/master_block.hat.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.10.0", + "minecraft:attachable": { + "description": { + "identifier": "blockception:master_block.hat", + "materials": { + "default": "armor", + "enchanted": "armor_enchanted" + }, + "textures": { + "default": "textures/example", + "enchanted": "textures/misc/enchanted_item_glint" + }, + "geometry": { + "default": "geometry.example" + }, + "scripts": { + //Animations needs atleast 1 + "animate": [] + }, + "render_controllers": [ "controller.render.example" ] + } + } +} \ No newline at end of file diff --git a/test/files/incorrect/data_rp/biomes_client.json b/test/files/incorrect/data_rp/biomes_client.json new file mode 100644 index 00000000..81ee05db --- /dev/null +++ b/test/files/incorrect/data_rp/biomes_client.json @@ -0,0 +1,7 @@ +{ + "biomes" : { + "bamboo_jungle": { + "fog_color": "" + } + } +} \ No newline at end of file diff --git a/test/files/incorrect/data_rp/blocks.json b/test/files/incorrect/data_rp/blocks.json new file mode 100644 index 00000000..7336b97a --- /dev/null +++ b/test/files/incorrect/data_rp/blocks.json @@ -0,0 +1,6 @@ +{ + "Example": { + "textures": "example", + "sound": 1 + } +} \ No newline at end of file diff --git a/test/files/incorrect/data_rp/entities/sheep.geo.json b/test/files/incorrect/data_rp/entities/sheep.geo.json new file mode 100644 index 00000000..ea43f99b --- /dev/null +++ b/test/files/incorrect/data_rp/entities/sheep.geo.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.sheep", + "texture_width": 16, + "texture_height": 16, + "visible_bounds_width": 2, + "visible_bounds_height": 3, + "visible_bounds_offset": [0, 0.5, 0] + }, + "bones": [ + { + "name": "body", + "pivot": [0, 0, 0], + "cubes": [ + { "inflate": false } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/test/files/incorrect/data_rp/entity/dragon_born.entity.json b/test/files/incorrect/data_rp/entity/dragon_born.entity.json new file mode 100644 index 00000000..ec699604 --- /dev/null +++ b/test/files/incorrect/data_rp/entity/dragon_born.entity.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "blockception:dragon_born", + "min_engine_version": "1.8.0", + "materials": { + "default": "entity", + "alpha": "entity_alphatest" + }, + "textures": { + "default": ["textures/entity/example"] + }, + "animations": { + "default_pose": "animation.example.default_pose", + "controller.pose": "controller.animation.example.pose" + }, + "scripts": { + "initialize": [ + "variable.example.a = 0;", + "variable.example.b = 0;" + ], + "animate": [ + "controller.pose" + ] + }, + "geometry": { + "default": "geometry.example" + }, + "render_controllers": [ "controller.render.example" ] + } + } +} \ No newline at end of file diff --git a/test/files/incorrect/data_rp/entity/sheep.entity.json b/test/files/incorrect/data_rp/entity/sheep.entity.json new file mode 100644 index 00000000..74b05d0e --- /dev/null +++ b/test/files/incorrect/data_rp/entity/sheep.entity.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "blockception:sheep", + "min_engine_version": "1.8.0", + "materials": { + "default": "entity", + "alpha": "entity_alphatest" + }, + "textures": { + "default": "textures/entity/example" + }, + "animations": { + "default_pose": ["animation.armor_stand.default_pose"], + "controller.pose": "controller.animation.armor_stand.pose", + "controller.wiggling": "controller.animation.armor_stand.wiggle" + }, + "scripts": { + "initialize": [ + "variable.armor_stand.pose_index = 0;", + "variable.armor_stand.hurt_time = 0;" + ], + "animate": [ + "controller.pose", + "controller.wiggling" + ] + }, + "geometry": { + "default": "geometry.sheep" + }, + "render_controllers": [ "controller.render.armor_stand" ], + "enable_attachables": true + } + } +} \ No newline at end of file diff --git a/test/files/incorrect/data_rp/entity/sheepentity.json b/test/files/incorrect/data_rp/entity/sheepentity.json new file mode 100644 index 00000000..109a2a58 --- /dev/null +++ b/test/files/incorrect/data_rp/entity/sheepentity.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "blockception:sheep", + "spawn_egg": { + "base_color": "", + "overlay_color": "", + "texture": "", + "texture_index": 0 + } + } + } +} \ No newline at end of file diff --git a/test/files/incorrect/data_rp/manifest.json b/test/files/incorrect/data_rp/manifest.json new file mode 100644 index 00000000..9c6a2f0c --- /dev/null +++ b/test/files/incorrect/data_rp/manifest.json @@ -0,0 +1,18 @@ +{ + "format_version": 2, + "header": { + "description": "Example vanilla resource pack", + "name": "Vanilla Resource Pack", + "uuid": "889b1ca1-A7d6-4598-a939-ff2ed10fb8f3", + "version": [1, 0, 0], + "min_engine_version": [ 1, 16, 200 ] + }, + "modules": [ + { + "description": "Example vanilla resource pack", + "type": "resources", + "uuid": "cd996C2a-3130-407a-ac49-0e44a39d1768", + "version": [1, 0, 0] + } + ] +} \ No newline at end of file diff --git a/test/files/incorrect/data_rp/sounds.json b/test/files/incorrect/data_rp/sounds.json new file mode 100644 index 00000000..f4ae38c5 --- /dev/null +++ b/test/files/incorrect/data_rp/sounds.json @@ -0,0 +1,20 @@ +{ + "block_sounds": {}, + "entity_sounds": { + "defaults": {}, + "entities": {} + }, + "individual_event_sounds": { + "events": {} + }, + "interactive_sounds": { + "block_sounds": { + "block_sounds": { + "events": { + "default": { "volume": "1"} + } + } + }, + "entity_sounds": {} + } +} diff --git a/test/files/incorrect/data_rp/sounds/music_definitions.json b/test/files/incorrect/data_rp/sounds/music_definitions.json new file mode 100644 index 00000000..2ddb2d0b --- /dev/null +++ b/test/files/incorrect/data_rp/sounds/music_definitions.json @@ -0,0 +1,7 @@ +{ + "creative" : { + "event_name" : true, + "max_delay" : 180, + "min_delay" : 60 + } +} \ No newline at end of file diff --git a/test/files/incorrect/data_rp/sounds/sound_definitions.json b/test/files/incorrect/data_rp/sounds/sound_definitions.json new file mode 100644 index 00000000..806c351d --- /dev/null +++ b/test/files/incorrect/data_rp/sounds/sound_definitions.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.14.0", + "sound_definitions": { + "example.pling": { + "sounds": [ + { "load_on_low_memory": 1, "name": "something", "pitch": 0} + ], + "category": "ui" + } + } +} \ No newline at end of file diff --git a/test/files/incorrect/data_rp/texts/languages.json b/test/files/incorrect/data_rp/texts/languages.json new file mode 100644 index 00000000..8df382aa --- /dev/null +++ b/test/files/incorrect/data_rp/texts/languages.json @@ -0,0 +1,31 @@ +[ + "en_US", + "en_GB", + "de_DE", + "es_ES", + "es_MX", + "fr_FR", + "fr_CA", + "it_IT", + "ja_JP", + "ko_KR", + "pt_BR", + "pt_PT", + "ru_RU", + "zh_CN", + "zh_TW", + "nl_NL", + "bg_BG", + "cs_CZ", + "da_DK", + "el_GR", + "fi_FI", + "hu_HU", + "id_ID", + "nb_NO", + "pl_PL", + "sk_SK", + "sv_SE", + "tr_TR", + { "name": "something" } +] diff --git a/test/files/incorrect/data_rp/textures/flipbook_textures.json b/test/files/incorrect/data_rp/textures/flipbook_textures.json new file mode 100644 index 00000000..5f1e462c --- /dev/null +++ b/test/files/incorrect/data_rp/textures/flipbook_textures.json @@ -0,0 +1,8 @@ +[ + { + "flipbook_texture": "textures/example", + "atlas_tile": "example", + "ticks_per_frame": 15, + "atlas_index": "5" + } +] \ No newline at end of file diff --git a/test/files/incorrect/data_rp/textures/item_texture.json b/test/files/incorrect/data_rp/textures/item_texture.json new file mode 100644 index 00000000..7b543d8b --- /dev/null +++ b/test/files/incorrect/data_rp/textures/item_texture.json @@ -0,0 +1,8 @@ +{ + "resource_pack_name": "vanilla", + "texture_data": { + "example": { + "textures": "items/example" + } + } +} diff --git a/test/files/incorrect/data_rp/textures/terrain_texture.json b/test/files/incorrect/data_rp/textures/terrain_texture.json new file mode 100644 index 00000000..dc1001cb --- /dev/null +++ b/test/files/incorrect/data_rp/textures/terrain_texture.json @@ -0,0 +1,10 @@ +{ + "num_mip_levels": 4, + "padding": 8, + "resource_pack_name": "vanilla", + "texture_data": { + "example": { + "textures": "blocks/example" + } + } +} diff --git a/test/files/incorrect/manifest.json b/test/files/incorrect/manifest.json new file mode 100644 index 00000000..7fc24551 --- /dev/null +++ b/test/files/incorrect/manifest.json @@ -0,0 +1,19 @@ +{ + "format_version": 2, + "header": { + "name": "pack.name", + "description": "pack.description", + "uuid": "95a1126d-b998-4661-91d3-aa4e4fA48878", + "version": [1, 0, 0], + "lock_template_options": true, + "base_game_version": [1, 16, 200] + }, + "modules": [ + { + "type": "world_template", + "uuid": "20355327-5efb-49cd-b5e0-737cc0db1827", + "version": [1, 0, 0] + } + ], + "metadata": { "authors": ["Example author"] } +} \ No newline at end of file diff --git a/test/files/incorrect/world_behavior_packs.json b/test/files/incorrect/world_behavior_packs.json new file mode 100644 index 00000000..1c4090c0 --- /dev/null +++ b/test/files/incorrect/world_behavior_packs.json @@ -0,0 +1 @@ +[{"pack_id":"10a7A11c-b88f-4986-bb48-69be8085a054","version":[1,0,0]}] \ No newline at end of file diff --git a/test/files/incorrect/world_resource_packs.json b/test/files/incorrect/world_resource_packs.json new file mode 100644 index 00000000..ccaa0f55 --- /dev/null +++ b/test/files/incorrect/world_resource_packs.json @@ -0,0 +1 @@ +[{"pack_id":"54927221-28d3-4cc6-bffB-a354f3987491","version":[1,0,0]}] \ No newline at end of file