From 92cd27f0d31e4cafce6a07ef655e2a4b0b810321 Mon Sep 17 00:00:00 2001 From: Daan Verstraten Date: Sat, 11 May 2024 11:44:32 +0200 Subject: [PATCH] Adding more items test files (#284) --- .../correct/data_bp/items/test1.item.json | 25 +++++++++++++++++++ .../correct/data_bp/items/test2.item.json | 25 +++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 test/files/correct/data_bp/items/test1.item.json create mode 100644 test/files/correct/data_bp/items/test2.item.json diff --git a/test/files/correct/data_bp/items/test1.item.json b/test/files/correct/data_bp/items/test1.item.json new file mode 100644 index 00000000..d2c45af2 --- /dev/null +++ b/test/files/correct/data_bp/items/test1.item.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.70", + "minecraft:item": { + "description": { + "identifier": "test:staff", + "menu_category": { + "category": "equipment" + } + }, + "components": { + "minecraft:can_destroy_in_creative": false, + "minecraft:max_stack_size": 64, + "minecraft:icon": "stick", + "minecraft:glint": true, + "minecraft:damage": 2, + "minecraft:stacked_by_data": true, + "minecraft:should_despawn": true, + "minecraft:hover_text_color": "aqua", + "minecraft:use_animation": "brush", + "minecraft:use_modifiers": { + "use_duration": 2 + } + } + } +} diff --git a/test/files/correct/data_bp/items/test2.item.json b/test/files/correct/data_bp/items/test2.item.json new file mode 100644 index 00000000..46ea4840 --- /dev/null +++ b/test/files/correct/data_bp/items/test2.item.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.70", + "minecraft:item": { + "description": { + "identifier": "test:staff", + "menu_category": { + "category": "equipment" + } + }, + "components": { + "minecraft:can_destroy_in_creative": { "value": false }, + "minecraft:max_stack_size": { "value": 64 }, + "minecraft:icon": { "value": "stick" }, + "minecraft:glint": { "value": true }, + "minecraft:damage": { "value": 2 }, + "minecraft:stacked_by_data": { "value": true }, + "minecraft:should_despawn": { "value": true }, + "minecraft:hover_text_color": { "value": "aqua" }, + "minecraft:use_animation": { "value": "brush" }, + "minecraft:use_modifiers": { + "use_duration": 2 + } + } + } +}