Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanV2 committed Nov 9, 2024
1 parent 2faa4ca commit cc763fc
Show file tree
Hide file tree
Showing 22 changed files with 203 additions and 131 deletions.
1 change: 0 additions & 1 deletion .mcignore

This file was deleted.

179 changes: 179 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"ts-loader": "^9.5.1",
"ts-node": "^10.9.1",
"typescript": "^5.3.2",
"typescript-eslint": "^8.13.0",
"vscode": "^1.1.37"
},
"dependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"oneOf": [
{
"type": "string",
"$ref": "#/definitions/color"
},
{
Expand Down
7 changes: 3 additions & 4 deletions source/behavior/items/format/minecraft.item.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,15 @@
}
},
"components": {
"additionalProperties": { "type": "object" },
"type": "object",
"description": "The components of this item.",
"properties": {
"minecraft:allow_off_hand": {"$ref": "./components/allow_off_hand.json"},
"minecraft:allow_off_hand": { "$ref": "./components/allow_off_hand.json" },
"minecraft:block_placer": { "$ref": "./components/block_placer.json" },
"minecraft:can_destroy_in_creative": {"$ref": "./components/can_destroy_in_creative.json"},
"minecraft:can_destroy_in_creative": { "$ref": "./components/can_destroy_in_creative.json" },
"minecraft:cooldown": { "$ref": "./components/cooldown.json" },
"minecraft:custom_components": { "$ref": "./components/custom_components.json" },
"minecraft:damage": {"$ref": "./components/damage.json"},
"minecraft:damage": { "$ref": "./components/damage.json" },
"minecraft:digger": { "$ref": "./components/digger.json" },
"minecraft:display_name": { "$ref": "./components/display_name.json" },
"minecraft:durability": { "$ref": "./components/durability.json" },
Expand Down
16 changes: 0 additions & 16 deletions test/files/correct/data_bp/blocks/master.block.json

This file was deleted.

6 changes: 1 addition & 5 deletions test/files/correct/data_bp/entities/equippable.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@
"minecraft:equippable": {
"slots": [
{
"accepted_items": [
{
"tags": "query.any_tag('minecraft:is_tool')"
}
],
"accepted_items": ["minecraft:tool"],
"item": {
"tags": "query.any_tag('minecraft:is_tool')"
},
Expand Down

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions test/files/correct/data_bp/features/conditional_list_feature.json

This file was deleted.

11 changes: 0 additions & 11 deletions test/files/correct/data_bp/features/hell_cave_carver_feature.json

This file was deleted.

21 changes: 0 additions & 21 deletions test/files/correct/data_bp/features/rect_layout_feature.json

This file was deleted.

Loading

0 comments on commit cc763fc

Please sign in to comment.