Skip to content

Commit

Permalink
Adding more items test files (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanV2 committed May 11, 2024
1 parent bbbc527 commit 92cd27f
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
25 changes: 25 additions & 0 deletions test/files/correct/data_bp/items/test1.item.json
Original file line number Diff line number Diff line change
@@ -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
}
}
}
}
25 changes: 25 additions & 0 deletions test/files/correct/data_bp/items/test2.item.json
Original file line number Diff line number Diff line change
@@ -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
}
}
}
}

0 comments on commit 92cd27f

Please sign in to comment.