From 580de1d711bcd19b030d8295fb90200e9c56c436 Mon Sep 17 00:00:00 2001 From: JunkyDeveloper Date: Sun, 3 May 2026 04:54:41 +0200 Subject: [PATCH 1/9] first oxidization test --- .../chain/oxidized_copper_chain.json | 33 +++++++ .../blocks/decoration/chain/place_chain.json | 86 +++++++++++++++++++ tests/connectible/fences/place_fence.json | 2 +- 3 files changed, 120 insertions(+), 1 deletion(-) create mode 100644 tests/blocks/decoration/chain/oxidized_copper_chain.json create mode 100644 tests/blocks/decoration/chain/place_chain.json diff --git a/tests/blocks/decoration/chain/oxidized_copper_chain.json b/tests/blocks/decoration/chain/oxidized_copper_chain.json new file mode 100644 index 0000000..507aa5f --- /dev/null +++ b/tests/blocks/decoration/chain/oxidized_copper_chain.json @@ -0,0 +1,33 @@ +{ + "$schema": "https://raw.githubusercontent.com/FlintTestMC/flint-core/refs/heads/main/flint-content/test_spec_schema.json", + "flintVersion": "1.1", + "name": "oxidice_copper_chain", + "description": "Tests the weathering of copper chain", + "tags": ["chain"], + "minecraftIds": ["minecraft:copper_chain", "minecraft:oxidized_copper_chain"], + "dependencies": [], + "setup": { + "cleanup": { + "region": [ [0, 0, 0], [0, 0, 0] ] + }, + "player": {"game_mode": "Survival"} + }, + "timeline": [ + { "at": 0, "do": "place", "pos": [0, 0, 0], "block": {"id": "copper_chain"} }, + { + "at": 1, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:copper_chain", "waterlogged":false, "axis": "y"} } + ] + }, + { + "at": 200000, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:oxidized_copper_chain", "waterlogged":false, "axis": "y"} } + ] + } + ], + "breakpoints": [] +} diff --git a/tests/blocks/decoration/chain/place_chain.json b/tests/blocks/decoration/chain/place_chain.json new file mode 100644 index 0000000..af76e0b --- /dev/null +++ b/tests/blocks/decoration/chain/place_chain.json @@ -0,0 +1,86 @@ +{ + "$schema": "https://raw.githubusercontent.com/FlintTestMC/flint-core/refs/heads/main/flint-content/test_spec_schema.json", + "flintVersion": "1.1", + "name": "place_chain", + "description": "Tests the placing of chains", + "tags": ["chain"], + "minecraftIds": ["minecraft:iron_chain"], + "dependencies": [], + "setup": { + "cleanup": { + "region": [ [-1, 0, -1], [1, 1, 1] ] + }, + "player": {"game_mode": "Survival"} + }, + "timeline": [ + { "at": 0, "do": "place", "pos": [0, 0, 0], "block": {"id": "minecraft:stone"} }, + { + "at": 1, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:stone"} } + ] + }, + { "at": 1, "do": "use_item_on", "pos": [0, 0, 0], "face": "top", "item": "iron_chain" }, + { + "at": 2, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:stone"} } , + { "pos": [0, 1, 0], "is": {"id": "minecraft:iron_chain", "axis": "y", "waterlogged": false} }, + {"is": "empty", "slot": "hotbar1"} + ] + }, + { "at": 3, "do": "use_item_on", "pos": [0, 0, 0], "face": "east", "item": "iron_chain" }, + { + "at": 4, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:stone"} } , + { "pos": [0, 1, 0], "is": {"id": "minecraft:iron_chain", "axis": "y", "waterlogged": false} }, + { "pos": [1, 0, 0], "is": {"id": "minecraft:iron_chain", "axis": "x", "waterlogged": false} }, + {"is": "empty", "slot": "hotbar1"} + ] + }, + { "at": 5, "do": "use_item_on", "pos": [0, 0, 0], "face": "south", "item": "iron_chain" }, + { + "at": 6, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:stone"} } , + { "pos": [0, 1, 0], "is": {"id": "minecraft:iron_chain", "axis": "y", "waterlogged": false} }, + { "pos": [1, 0, 0], "is": {"id": "minecraft:iron_chain", "axis": "x", "waterlogged": false} }, + { "pos": [0, 0, 1], "is": {"id": "minecraft:iron_chain", "axis": "z", "waterlogged": false} }, + {"is": "empty", "slot": "hotbar1"} + ] + }, + { "at": 7, "do": "use_item_on", "pos": [0, 0, 0], "face": "west", "item": "iron_chain" }, + { + "at": 8, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:stone"} } , + { "pos": [0, 1, 0], "is": {"id": "minecraft:iron_chain", "axis": "y", "waterlogged": false} } , + { "pos": [1, 0, 0], "is": {"id": "minecraft:iron_chain", "axis": "x", "waterlogged": false} } , + { "pos": [0, 0, 1], "is": {"id": "minecraft:iron_chain", "axis": "z", "waterlogged": false} } , + { "pos": [-1, 0, 0], "is": {"id": "minecraft:iron_chain", "axis": "x", "waterlogged": false} }, + {"is": "empty", "slot": "hotbar1"} + ] + }, + { "at": 9, "do": "use_item_on", "pos": [0, 0, 0], "face": "north", "item": "iron_chain" }, + { + "at": 10, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:stone"} } , + { "pos": [0, 1, 0], "is": {"id": "minecraft:iron_chain", "axis": "y", "waterlogged": false} } , + { "pos": [1, 0, 0], "is": {"id": "minecraft:iron_chain", "axis": "x", "waterlogged": false} } , + { "pos": [0, 0, 1], "is": {"id": "minecraft:iron_chain", "axis": "z", "waterlogged": false} } , + { "pos": [-1, 0, 0], "is": {"id": "minecraft:iron_chain", "axis": "x", "waterlogged": false} }, + { "pos": [0, 0, -1], "is": {"id": "minecraft:iron_chain", "axis": "z", "waterlogged": false} }, + {"is": "empty", "slot": "hotbar1"} + ] + } + ], + "breakpoints": [] +} diff --git a/tests/connectible/fences/place_fence.json b/tests/connectible/fences/place_fence.json index cac0a5f..3c16dc9 100644 --- a/tests/connectible/fences/place_fence.json +++ b/tests/connectible/fences/place_fence.json @@ -10,7 +10,7 @@ "cleanup": { "region": [ [0, 0, 0], [0, 1, 0] ] }, - "player": {"gamemode": "Survival"} + "player": {"game_mode": "Survival"} }, "timeline": [ { "at": 0, "do": "place", "pos": [0, 0, 0], "block": {"id": "minecraft:stone"} }, From 1ef2ac4863d73f24df42f9c25927f553fa3b9122 Mon Sep 17 00:00:00 2001 From: JunkyDeveloper Date: Sun, 3 May 2026 04:55:00 +0200 Subject: [PATCH 2/9] format --- tests/blocks/decoration/chain/oxidized_copper_chain.json | 5 +++-- tests/blocks/decoration/chain/place_chain.json | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/blocks/decoration/chain/oxidized_copper_chain.json b/tests/blocks/decoration/chain/oxidized_copper_chain.json index 507aa5f..c5334aa 100644 --- a/tests/blocks/decoration/chain/oxidized_copper_chain.json +++ b/tests/blocks/decoration/chain/oxidized_copper_chain.json @@ -18,16 +18,17 @@ "at": 1, "do": "assert", "checks": [ - { "pos": [0, 0, 0], "is": {"id": "minecraft:copper_chain", "waterlogged":false, "axis": "y"} } + { "pos": [0, 0, 0], "is": {"id": "minecraft:copper_chain", "waterlogged": false, "axis": "y"} } ] }, { "at": 200000, "do": "assert", "checks": [ - { "pos": [0, 0, 0], "is": {"id": "minecraft:oxidized_copper_chain", "waterlogged":false, "axis": "y"} } + { "pos": [0, 0, 0], "is": {"id": "minecraft:oxidized_copper_chain", "waterlogged": false, "axis": "y"} } ] } ], "breakpoints": [] } + diff --git a/tests/blocks/decoration/chain/place_chain.json b/tests/blocks/decoration/chain/place_chain.json index af76e0b..b3d4900 100644 --- a/tests/blocks/decoration/chain/place_chain.json +++ b/tests/blocks/decoration/chain/place_chain.json @@ -84,3 +84,4 @@ ], "breakpoints": [] } + From 9d4f71d607c368464153dbe7aab3ab43e4a8da08 Mon Sep 17 00:00:00 2001 From: JunkyDeveloper Date: Mon, 4 May 2026 01:42:30 +0200 Subject: [PATCH 3/9] add oxidization --- tests/blocks/decoration/chain/oxidized_copper_chain.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/blocks/decoration/chain/oxidized_copper_chain.json b/tests/blocks/decoration/chain/oxidized_copper_chain.json index c5334aa..b317c47 100644 --- a/tests/blocks/decoration/chain/oxidized_copper_chain.json +++ b/tests/blocks/decoration/chain/oxidized_copper_chain.json @@ -3,7 +3,7 @@ "flintVersion": "1.1", "name": "oxidice_copper_chain", "description": "Tests the weathering of copper chain", - "tags": ["chain"], + "tags": ["chain", "copper"], "minecraftIds": ["minecraft:copper_chain", "minecraft:oxidized_copper_chain"], "dependencies": [], "setup": { From ff72146d7f368d832f5f0d3e421f16b7e8ff8d50 Mon Sep 17 00:00:00 2001 From: JunkyDeveloper Date: Mon, 4 May 2026 03:07:37 +0200 Subject: [PATCH 4/9] copper chain tests --- .../chain/oxidized_copper_chain.json | 2 +- .../chain/unwaxing_copper_chain.json | 45 +++++++++++++++++++ .../decoration/chain/waxed_copper_chain.json | 34 ++++++++++++++ .../decoration/chain/waxing_copper_chain.json | 43 ++++++++++++++++++ 4 files changed, 123 insertions(+), 1 deletion(-) create mode 100644 tests/blocks/decoration/chain/unwaxing_copper_chain.json create mode 100644 tests/blocks/decoration/chain/waxed_copper_chain.json create mode 100644 tests/blocks/decoration/chain/waxing_copper_chain.json diff --git a/tests/blocks/decoration/chain/oxidized_copper_chain.json b/tests/blocks/decoration/chain/oxidized_copper_chain.json index b317c47..e0adc56 100644 --- a/tests/blocks/decoration/chain/oxidized_copper_chain.json +++ b/tests/blocks/decoration/chain/oxidized_copper_chain.json @@ -3,7 +3,7 @@ "flintVersion": "1.1", "name": "oxidice_copper_chain", "description": "Tests the weathering of copper chain", - "tags": ["chain", "copper"], + "tags": ["chain", "copper", "weathering"], "minecraftIds": ["minecraft:copper_chain", "minecraft:oxidized_copper_chain"], "dependencies": [], "setup": { diff --git a/tests/blocks/decoration/chain/unwaxing_copper_chain.json b/tests/blocks/decoration/chain/unwaxing_copper_chain.json new file mode 100644 index 0000000..fc24ac1 --- /dev/null +++ b/tests/blocks/decoration/chain/unwaxing_copper_chain.json @@ -0,0 +1,45 @@ +{ + "$schema": "https://raw.githubusercontent.com/FlintTestMC/flint-core/refs/heads/main/flint-content/test_spec_schema.json", + "flintVersion": "1.1", + "name": "unwaxing_copper_chain", + "description": "Tests the unwaxing of copper chain", + "tags": ["chain", "copper", "weathering", "unwaxing"], + "minecraftIds": [ + "minecraft:copper_chain" , "minecraft:waxed_copper_chain" , "minecraft:iron_axe" , + "minecraft:oxidized_copper_chain" + ], + "dependencies": [], + "setup": { + "cleanup": { + "region": [ [0, 0, 0], [0, 0, 0] ] + }, + "player": {"game_mode": "Survival"} + }, + "timeline": [ + { "at": 0, "do": "place", "pos": [0, 0, 0], "block": {"id": "waxed_copper_chain"} }, + { + "at": 1, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:waxed_copper_chain", "waterlogged": false, "axis": "y"} } + ] + }, + { "at": 1, "do": "use_item_on", "pos": [0, 0, 0], "face": "top", "item": "iron_axe" }, + { + "at": 2, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:copper_chain", "waterlogged": false, "axis": "y"} } + ] + }, + { + "at": 200000, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:oxidized_copper_chain", "waterlogged": false, "axis": "y"} } + ] + } + ], + "breakpoints": [] +} + diff --git a/tests/blocks/decoration/chain/waxed_copper_chain.json b/tests/blocks/decoration/chain/waxed_copper_chain.json new file mode 100644 index 0000000..351bc39 --- /dev/null +++ b/tests/blocks/decoration/chain/waxed_copper_chain.json @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/FlintTestMC/flint-core/refs/heads/main/flint-content/test_spec_schema.json", + "flintVersion": "1.1", + "name": "waxed_copper_chain", + "description": "Tests the weathering of copper chain", + "tags": ["chain", "copper", "weathering", "waxing"], + "minecraftIds": ["minecraft:copper_chain", "minecraft:waxed_copper_chain"], + "dependencies": [], + "setup": { + "cleanup": { + "region": [ [0, 0, 0], [0, 0, 0] ] + }, + "player": {"game_mode": "Survival"} + }, + "timeline": [ + { "at": 0, "do": "place", "pos": [0, 0, 0], "block": {"id": "waxed_copper_chain"} }, + { + "at": 1, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:waxed_copper_chain", "waterlogged": false, "axis": "y"} } + ] + }, + { + "at": 200000, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:waxed_copper_chain", "waterlogged": false, "axis": "y"} } + ] + } + ], + "breakpoints": [] +} + diff --git a/tests/blocks/decoration/chain/waxing_copper_chain.json b/tests/blocks/decoration/chain/waxing_copper_chain.json new file mode 100644 index 0000000..a888520 --- /dev/null +++ b/tests/blocks/decoration/chain/waxing_copper_chain.json @@ -0,0 +1,43 @@ +{ + "$schema": "https://raw.githubusercontent.com/FlintTestMC/flint-core/refs/heads/main/flint-content/test_spec_schema.json", + "flintVersion": "1.1", + "name": "waxing_copper_chain", + "description": "Tests the waxing of copper chain", + "tags": ["chain", "copper", "weathering", "waxing"], + "minecraftIds": ["minecraft:copper_chain", "minecraft:waxed_copper_chain", "minecraft:honeycomb"], + "dependencies": [], + "setup": { + "cleanup": { + "region": [ [0, 0, 0], [0, 0, 0] ] + }, + "player": {"game_mode": "Survival"} + }, + "timeline": [ + { "at": 0, "do": "place", "pos": [0, 0, 0], "block": {"id": "copper_chain"} }, + { + "at": 1, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:copper_chain", "waterlogged": false, "axis": "y"} } + ] + }, + { "at": 1, "do": "use_item_on", "pos": [0, 0, 0], "face": "top", "item": "minecraft:honeycomb" }, + { + "at": 2, + "do": "assert", + "checks": [ + { "slot": "hotbar1", "is": "empty" } , + { "pos": [0, 0, 0], "is": {"id": "minecraft:waxed_copper_chain", "waterlogged": false, "axis": "y"} } + ] + }, + { + "at": 200000, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:waxed_copper_chain", "waterlogged": false, "axis": "y"} } + ] + } + ], + "breakpoints": [] +} + From 3a0da48c63e2a32d8ad2b81786fc837f08edbb83 Mon Sep 17 00:00:00 2001 From: JunkyDeveloper Date: Mon, 4 May 2026 03:12:23 +0200 Subject: [PATCH 5/9] typo --- tests/blocks/decoration/chain/waxed_copper_chain.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/blocks/decoration/chain/waxed_copper_chain.json b/tests/blocks/decoration/chain/waxed_copper_chain.json index 351bc39..39dc092 100644 --- a/tests/blocks/decoration/chain/waxed_copper_chain.json +++ b/tests/blocks/decoration/chain/waxed_copper_chain.json @@ -2,7 +2,7 @@ "$schema": "https://raw.githubusercontent.com/FlintTestMC/flint-core/refs/heads/main/flint-content/test_spec_schema.json", "flintVersion": "1.1", "name": "waxed_copper_chain", - "description": "Tests the weathering of copper chain", + "description": "Tests the waxed copper chain", "tags": ["chain", "copper", "weathering", "waxing"], "minecraftIds": ["minecraft:copper_chain", "minecraft:waxed_copper_chain"], "dependencies": [], From 15df33a560e586a408c53019b68da3a3f14e31f4 Mon Sep 17 00:00:00 2001 From: Jonas <56804181+JunkyDeveloper@users.noreply.github.com> Date: Mon, 4 May 2026 17:14:38 +0200 Subject: [PATCH 6/9] waterlogging added --- .../chain/waterlogged_copper_chain.json | 90 +++++++++++++++++++ .../chain/waterlogged_iron_chain.json | 90 +++++++++++++++++++ 2 files changed, 180 insertions(+) create mode 100644 tests/blocks/decoration/chain/waterlogged_copper_chain.json create mode 100644 tests/blocks/decoration/chain/waterlogged_iron_chain.json diff --git a/tests/blocks/decoration/chain/waterlogged_copper_chain.json b/tests/blocks/decoration/chain/waterlogged_copper_chain.json new file mode 100644 index 0000000..3eb5cf4 --- /dev/null +++ b/tests/blocks/decoration/chain/waterlogged_copper_chain.json @@ -0,0 +1,90 @@ +{ + "$schema": "https://raw.githubusercontent.com/FlintTestMC/flint-core/refs/heads/main/flint-content/test_spec_schema.json", + "flintVersion": "1.1", + "name": "place_chain", + "description": "Tests the placing of chain in water", + "tags": ["chain", "waterlogged"], + "minecraftIds": ["minecraft:copper_chain", "minecraft:water", "minecraft:water_bukket", "minecraft:empty_bukket"], + "dependencies": [], + "setup": { + "cleanup": { + "region": [ [-1, -1, -1], [1, 1, 1] ] + }, + "player": {"game_mode": "Survival"} + }, + "timeline": [ + { "at": 0, "do": "place_each", "blocks": [ + {"pos": [0, -1, 0], "block": {"id": "minecraft:stone"} }, + {"pos": [1,0,0], "block": {"id": "minecraft:stone"}}, + {"pos": [-1,0,0], "block": {"id": "minecraft:stone"}}, + {"pos": [0,0,1], "block": {"id": "minecraft:stone"}}, + {"pos": [0,0,-1], "block": {"id": "minecraft:stone"}}, + {"pos": [0,0,0], "block": {"id": "minecraft:water"}} + ]}, + { + "at": 1, + "do": "assert", + "checks": [ + {"pos": [0, -1, 0], "is": {"id": "minecraft:stone"} }, + {"pos": [1,0,0], "is": {"id": "minecraft:stone"}}, + {"pos": [-1,0,0], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,1], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,-1], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,0], "is": {"id": "minecraft:water"}} + ] + }, + { "at": 1, "do": "use_item_on", "pos": [0, -1, 0], "face": "top", "item": "copper_chain" }, + { + "at": 2, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:copper_chain", "axis": "y", "waterlogged": true} }, + {"is": "empty", "slot": "hotbar1"} + ] + }, + {"at":2, "do": "place", "pos": [0,0,0],"block": {"id": "minecraft:copper_chain"}}, + { + "at": 3, + "do": "assert", + "checks": [ + {"pos": [0, -1, 0], "is": {"id": "minecraft:stone"} }, + {"pos": [1,0,0], "is": {"id": "minecraft:stone"}}, + {"pos": [-1,0,0], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,1], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,-1], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,0], "is": {"id": "minecraft:copper_chain", "axis":"y"}} + ] + }, + { "at": 3, "do": "use_item_on", "pos": [0, 0, 0], "face": "top", "item": "minecraft:water_bukket" }, + { + "at": 4, + "do": "assert", + "checks": [ + {"pos": [0, -1, 0], "is": {"id": "minecraft:stone"} }, + {"pos": [1,0,0], "is": {"id": "minecraft:stone"}}, + {"pos": [-1,0,0], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,1], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,-1], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,0], "is": {"id": "minecraft:copper_chain", "waterlogged": true,"axis":"y"}}, + {"is": "minecraft:empty_bukket", "slot": "hotbar1"} + ] + }, + { "at": 4, "do": "use_item_on", "pos": [0, 0, 0], "face": "top"}, + { + "at": 5, + "do": "assert", + "checks": [ + {"pos": [0, -1, 0], "is": {"id": "minecraft:stone"} }, + {"pos": [1,0,0], "is": {"id": "minecraft:stone"}}, + {"pos": [-1,0,0], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,1], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,-1], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,0], "is": {"id": "minecraft:copper_chain", "waterlogged": false,"axis":"y"}}, + {"is": "minecraft:water_bukket", "slot": "hotbar1"} + ] + }, + + ], + "breakpoints": [] +} + diff --git a/tests/blocks/decoration/chain/waterlogged_iron_chain.json b/tests/blocks/decoration/chain/waterlogged_iron_chain.json new file mode 100644 index 0000000..bb6cf95 --- /dev/null +++ b/tests/blocks/decoration/chain/waterlogged_iron_chain.json @@ -0,0 +1,90 @@ +{ + "$schema": "https://raw.githubusercontent.com/FlintTestMC/flint-core/refs/heads/main/flint-content/test_spec_schema.json", + "flintVersion": "1.1", + "name": "place_chain", + "description": "Tests the placing of chain in water", + "tags": ["chain", "waterlogged"], + "minecraftIds": ["minecraft:iron_chain", "minecraft:water", "minecraft:water_bukket", "minecraft:empty_bukket"], + "dependencies": [], + "setup": { + "cleanup": { + "region": [ [-1, -1, -1], [1, 1, 1] ] + }, + "player": {"game_mode": "Survival"} + }, + "timeline": [ + { "at": 0, "do": "place_each", "blocks": [ + {"pos": [0, -1, 0], "block": {"id": "minecraft:stone"} }, + {"pos": [1,0,0], "block": {"id": "minecraft:stone"}}, + {"pos": [-1,0,0], "block": {"id": "minecraft:stone"}}, + {"pos": [0,0,1], "block": {"id": "minecraft:stone"}}, + {"pos": [0,0,-1], "block": {"id": "minecraft:stone"}}, + {"pos": [0,0,0], "block": {"id": "minecraft:water"}} + ]}, + { + "at": 1, + "do": "assert", + "checks": [ + {"pos": [0, -1, 0], "is": {"id": "minecraft:stone"} }, + {"pos": [1,0,0], "is": {"id": "minecraft:stone"}}, + {"pos": [-1,0,0], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,1], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,-1], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,0], "is": {"id": "minecraft:water"}} + ] + }, + { "at": 1, "do": "use_item_on", "pos": [0, -1, 0], "face": "top", "item": "iron_chain" }, + { + "at": 2, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:iron_chain", "axis": "y", "waterlogged": true} }, + {"is": "empty", "slot": "hotbar1"} + ] + }, + {"at":2, "do": "place", "pos": [0,0,0],"block": {"id": "minecraft:iron_chain"}}, + { + "at": 3, + "do": "assert", + "checks": [ + {"pos": [0, -1, 0], "is": {"id": "minecraft:stone"} }, + {"pos": [1,0,0], "is": {"id": "minecraft:stone"}}, + {"pos": [-1,0,0], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,1], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,-1], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,0], "is": {"id": "minecraft:iron_chain", "axis":"y"}} + ] + }, + { "at": 3, "do": "use_item_on", "pos": [0, 0, 0], "face": "top", "item": "minecraft:water_bukket" }, + { + "at": 4, + "do": "assert", + "checks": [ + {"pos": [0, -1, 0], "is": {"id": "minecraft:stone"} }, + {"pos": [1,0,0], "is": {"id": "minecraft:stone"}}, + {"pos": [-1,0,0], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,1], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,-1], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,0], "is": {"id": "minecraft:iron_chain", "waterlogged": true,"axis":"y"}}, + {"is": "minecraft:empty_bukket", "slot": "hotbar1"} + ] + }, + { "at": 4, "do": "use_item_on", "pos": [0, 0, 0], "face": "top"}, + { + "at": 5, + "do": "assert", + "checks": [ + {"pos": [0, -1, 0], "is": {"id": "minecraft:stone"} }, + {"pos": [1,0,0], "is": {"id": "minecraft:stone"}}, + {"pos": [-1,0,0], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,1], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,-1], "is": {"id": "minecraft:stone"}}, + {"pos": [0,0,0], "is": {"id": "minecraft:iron_chain", "waterlogged": false,"axis":"y"}}, + {"is": "minecraft:water_bukket", "slot": "hotbar1"} + ] + }, + + ], + "breakpoints": [] +} + From f776ce2042039e10149963c02447f7d530154e4b Mon Sep 17 00:00:00 2001 From: JunkyDeveloper Date: Mon, 4 May 2026 19:40:51 +0200 Subject: [PATCH 7/9] repair --- .../chain/waterlogged_copper_chain.json | 183 +++++++++--------- .../chain/waterlogged_iron_chain.json | 183 +++++++++--------- .../decoration/chain/waxing_copper_chain.json | 2 +- 3 files changed, 187 insertions(+), 181 deletions(-) diff --git a/tests/blocks/decoration/chain/waterlogged_copper_chain.json b/tests/blocks/decoration/chain/waterlogged_copper_chain.json index 3eb5cf4..ba60ce4 100644 --- a/tests/blocks/decoration/chain/waterlogged_copper_chain.json +++ b/tests/blocks/decoration/chain/waterlogged_copper_chain.json @@ -1,90 +1,93 @@ -{ - "$schema": "https://raw.githubusercontent.com/FlintTestMC/flint-core/refs/heads/main/flint-content/test_spec_schema.json", - "flintVersion": "1.1", - "name": "place_chain", - "description": "Tests the placing of chain in water", - "tags": ["chain", "waterlogged"], - "minecraftIds": ["minecraft:copper_chain", "minecraft:water", "minecraft:water_bukket", "minecraft:empty_bukket"], - "dependencies": [], - "setup": { - "cleanup": { - "region": [ [-1, -1, -1], [1, 1, 1] ] - }, - "player": {"game_mode": "Survival"} - }, - "timeline": [ - { "at": 0, "do": "place_each", "blocks": [ - {"pos": [0, -1, 0], "block": {"id": "minecraft:stone"} }, - {"pos": [1,0,0], "block": {"id": "minecraft:stone"}}, - {"pos": [-1,0,0], "block": {"id": "minecraft:stone"}}, - {"pos": [0,0,1], "block": {"id": "minecraft:stone"}}, - {"pos": [0,0,-1], "block": {"id": "minecraft:stone"}}, - {"pos": [0,0,0], "block": {"id": "minecraft:water"}} - ]}, - { - "at": 1, - "do": "assert", - "checks": [ - {"pos": [0, -1, 0], "is": {"id": "minecraft:stone"} }, - {"pos": [1,0,0], "is": {"id": "minecraft:stone"}}, - {"pos": [-1,0,0], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,1], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,-1], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,0], "is": {"id": "minecraft:water"}} - ] - }, - { "at": 1, "do": "use_item_on", "pos": [0, -1, 0], "face": "top", "item": "copper_chain" }, - { - "at": 2, - "do": "assert", - "checks": [ - { "pos": [0, 0, 0], "is": {"id": "minecraft:copper_chain", "axis": "y", "waterlogged": true} }, - {"is": "empty", "slot": "hotbar1"} - ] - }, - {"at":2, "do": "place", "pos": [0,0,0],"block": {"id": "minecraft:copper_chain"}}, - { - "at": 3, - "do": "assert", - "checks": [ - {"pos": [0, -1, 0], "is": {"id": "minecraft:stone"} }, - {"pos": [1,0,0], "is": {"id": "minecraft:stone"}}, - {"pos": [-1,0,0], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,1], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,-1], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,0], "is": {"id": "minecraft:copper_chain", "axis":"y"}} - ] - }, - { "at": 3, "do": "use_item_on", "pos": [0, 0, 0], "face": "top", "item": "minecraft:water_bukket" }, - { - "at": 4, - "do": "assert", - "checks": [ - {"pos": [0, -1, 0], "is": {"id": "minecraft:stone"} }, - {"pos": [1,0,0], "is": {"id": "minecraft:stone"}}, - {"pos": [-1,0,0], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,1], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,-1], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,0], "is": {"id": "minecraft:copper_chain", "waterlogged": true,"axis":"y"}}, - {"is": "minecraft:empty_bukket", "slot": "hotbar1"} - ] - }, - { "at": 4, "do": "use_item_on", "pos": [0, 0, 0], "face": "top"}, - { - "at": 5, - "do": "assert", - "checks": [ - {"pos": [0, -1, 0], "is": {"id": "minecraft:stone"} }, - {"pos": [1,0,0], "is": {"id": "minecraft:stone"}}, - {"pos": [-1,0,0], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,1], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,-1], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,0], "is": {"id": "minecraft:copper_chain", "waterlogged": false,"axis":"y"}}, - {"is": "minecraft:water_bukket", "slot": "hotbar1"} - ] - }, - - ], - "breakpoints": [] -} - +{ + "$schema": "https://raw.githubusercontent.com/FlintTestMC/flint-core/refs/heads/main/flint-content/test_spec_schema.json", + "flintVersion": "1.1", + "name": "waterlogged_copper_chain", + "description": "Tests the placing of chain in water", + "tags": ["chain", "waterlogged"], + "minecraftIds": ["minecraft:copper_chain", "minecraft:water", "minecraft:water_bukket", "minecraft:empty_bukket"], + "dependencies": [], + "setup": { + "cleanup": { + "region": [ [-1, -1, -1], [1, 1, 1] ] + }, + "player": {"game_mode": "Survival"} + }, + "timeline": [ + { + "at": 0, + "do": "place_each", + "blocks": [ + { "pos": [ 0, -1, 0], "block": {"id": "minecraft:stone"} }, + { "pos": [ 1, 0, 0], "block": {"id": "minecraft:stone"} }, + { "pos": [-1, 0, 0], "block": {"id": "minecraft:stone"} }, + { "pos": [ 0, 0, 1], "block": {"id": "minecraft:stone"} }, + { "pos": [ 0, 0, -1], "block": {"id": "minecraft:stone"} }, + { "pos": [ 0, 0, 0], "block": {"id": "minecraft:water"} } + ] + }, + { + "at": 1, + "do": "assert", + "checks": [ + { "pos": [ 0, -1, 0], "is": {"id": "minecraft:stone"} }, + { "pos": [ 1, 0, 0], "is": {"id": "minecraft:stone"} }, + { "pos": [-1, 0, 0], "is": {"id": "minecraft:stone"} }, + { "pos": [ 0, 0, 1], "is": {"id": "minecraft:stone"} }, + { "pos": [ 0, 0, -1], "is": {"id": "minecraft:stone"} }, + { "pos": [ 0, 0, 0], "is": {"id": "minecraft:water"} } + ] + }, + { "at": 1, "do": "use_item_on", "pos": [0, -1, 0], "face": "top", "item": "copper_chain" }, + { + "at": 2, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:copper_chain", "axis": "y", "waterlogged": true} }, + {"is": "empty", "slot": "hotbar1"} + ] + }, + { "at": 2, "do": "place", "pos": [0, 0, 0], "block": {"id": "minecraft:copper_chain"} }, + { + "at": 3, + "do": "assert", + "checks": [ + { "pos": [ 0, -1, 0], "is": {"id": "minecraft:stone" } }, + { "pos": [ 1, 0, 0], "is": {"id": "minecraft:stone" } }, + { "pos": [-1, 0, 0], "is": {"id": "minecraft:stone" } }, + { "pos": [ 0, 0, 1], "is": {"id": "minecraft:stone" } }, + { "pos": [ 0, 0, -1], "is": {"id": "minecraft:stone" } }, + { "pos": [ 0, 0, 0], "is": {"id": "minecraft:copper_chain", "axis": "y", "waterlogged": false} } + ] + }, + { "at": 3, "do": "use_item_on", "pos": [0, 0, 0], "face": "top", "item": "minecraft:water_bucket" }, + { + "at": 4, + "do": "assert", + "checks": [ + { "pos": [0, -1, 0], "is": {"id": "minecraft:stone"} } , + { "pos": [1, 0, 0], "is": {"id": "minecraft:stone"} } , + { "pos": [-1, 0, 0], "is": {"id": "minecraft:stone"} } , + { "pos": [0, 0, 1], "is": {"id": "minecraft:stone"} } , + { "pos": [0, 0, -1], "is": {"id": "minecraft:stone"} } , + { "is": {"id": "minecraft:bucket", "count": 1}, "slot": "hotbar1" } , + { "pos": [0, 0, 0], "is": {"id": "minecraft:copper_chain", "waterlogged": true, "axis": "y"} } + ] + }, + { "at": 4, "do": "use_item_on", "pos": [0, 0, 0], "face": "top" }, + { + "at": 5, + "do": "assert", + "checks": [ + { "pos": [0, -1, 0], "is": {"id": "minecraft:stone"} } , + { "pos": [1, 0, 0], "is": {"id": "minecraft:stone"} } , + { "pos": [-1, 0, 0], "is": {"id": "minecraft:stone"} } , + { "pos": [0, 0, 1], "is": {"id": "minecraft:stone"} } , + { "pos": [0, 0, -1], "is": {"id": "minecraft:stone"} } , + { "pos": [0, 0, 0], "is": {"id": "minecraft:copper_chain", "waterlogged": false, "axis": "y"} }, + { "is": {"id": "minecraft:water_bucket", "count": 1}, "slot": "hotbar1" } + ] + } + ], + "breakpoints": [] +} + diff --git a/tests/blocks/decoration/chain/waterlogged_iron_chain.json b/tests/blocks/decoration/chain/waterlogged_iron_chain.json index bb6cf95..44e1c04 100644 --- a/tests/blocks/decoration/chain/waterlogged_iron_chain.json +++ b/tests/blocks/decoration/chain/waterlogged_iron_chain.json @@ -1,90 +1,93 @@ -{ - "$schema": "https://raw.githubusercontent.com/FlintTestMC/flint-core/refs/heads/main/flint-content/test_spec_schema.json", - "flintVersion": "1.1", - "name": "place_chain", - "description": "Tests the placing of chain in water", - "tags": ["chain", "waterlogged"], - "minecraftIds": ["minecraft:iron_chain", "minecraft:water", "minecraft:water_bukket", "minecraft:empty_bukket"], - "dependencies": [], - "setup": { - "cleanup": { - "region": [ [-1, -1, -1], [1, 1, 1] ] - }, - "player": {"game_mode": "Survival"} - }, - "timeline": [ - { "at": 0, "do": "place_each", "blocks": [ - {"pos": [0, -1, 0], "block": {"id": "minecraft:stone"} }, - {"pos": [1,0,0], "block": {"id": "minecraft:stone"}}, - {"pos": [-1,0,0], "block": {"id": "minecraft:stone"}}, - {"pos": [0,0,1], "block": {"id": "minecraft:stone"}}, - {"pos": [0,0,-1], "block": {"id": "minecraft:stone"}}, - {"pos": [0,0,0], "block": {"id": "minecraft:water"}} - ]}, - { - "at": 1, - "do": "assert", - "checks": [ - {"pos": [0, -1, 0], "is": {"id": "minecraft:stone"} }, - {"pos": [1,0,0], "is": {"id": "minecraft:stone"}}, - {"pos": [-1,0,0], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,1], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,-1], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,0], "is": {"id": "minecraft:water"}} - ] - }, - { "at": 1, "do": "use_item_on", "pos": [0, -1, 0], "face": "top", "item": "iron_chain" }, - { - "at": 2, - "do": "assert", - "checks": [ - { "pos": [0, 0, 0], "is": {"id": "minecraft:iron_chain", "axis": "y", "waterlogged": true} }, - {"is": "empty", "slot": "hotbar1"} - ] - }, - {"at":2, "do": "place", "pos": [0,0,0],"block": {"id": "minecraft:iron_chain"}}, - { - "at": 3, - "do": "assert", - "checks": [ - {"pos": [0, -1, 0], "is": {"id": "minecraft:stone"} }, - {"pos": [1,0,0], "is": {"id": "minecraft:stone"}}, - {"pos": [-1,0,0], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,1], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,-1], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,0], "is": {"id": "minecraft:iron_chain", "axis":"y"}} - ] - }, - { "at": 3, "do": "use_item_on", "pos": [0, 0, 0], "face": "top", "item": "minecraft:water_bukket" }, - { - "at": 4, - "do": "assert", - "checks": [ - {"pos": [0, -1, 0], "is": {"id": "minecraft:stone"} }, - {"pos": [1,0,0], "is": {"id": "minecraft:stone"}}, - {"pos": [-1,0,0], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,1], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,-1], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,0], "is": {"id": "minecraft:iron_chain", "waterlogged": true,"axis":"y"}}, - {"is": "minecraft:empty_bukket", "slot": "hotbar1"} - ] - }, - { "at": 4, "do": "use_item_on", "pos": [0, 0, 0], "face": "top"}, - { - "at": 5, - "do": "assert", - "checks": [ - {"pos": [0, -1, 0], "is": {"id": "minecraft:stone"} }, - {"pos": [1,0,0], "is": {"id": "minecraft:stone"}}, - {"pos": [-1,0,0], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,1], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,-1], "is": {"id": "minecraft:stone"}}, - {"pos": [0,0,0], "is": {"id": "minecraft:iron_chain", "waterlogged": false,"axis":"y"}}, - {"is": "minecraft:water_bukket", "slot": "hotbar1"} - ] - }, - - ], - "breakpoints": [] -} - +{ + "$schema": "https://raw.githubusercontent.com/FlintTestMC/flint-core/refs/heads/main/flint-content/test_spec_schema.json", + "flintVersion": "1.1", + "name": "waterlogged_iron_chain", + "description": "Tests the placing of chain in water", + "tags": ["chain", "waterlogged"], + "minecraftIds": ["minecraft:iron_chain", "minecraft:water", "minecraft:water_bukket", "minecraft:empty_bukket"], + "dependencies": [], + "setup": { + "cleanup": { + "region": [ [-1, -1, -1], [1, 1, 1] ] + }, + "player": {"game_mode": "Survival"} + }, + "timeline": [ + { + "at": 0, + "do": "place_each", + "blocks": [ + { "pos": [ 0, -1, 0], "block": {"id": "minecraft:stone"} }, + { "pos": [ 1, 0, 0], "block": {"id": "minecraft:stone"} }, + { "pos": [-1, 0, 0], "block": {"id": "minecraft:stone"} }, + { "pos": [ 0, 0, 1], "block": {"id": "minecraft:stone"} }, + { "pos": [ 0, 0, -1], "block": {"id": "minecraft:stone"} }, + { "pos": [ 0, 0, 0], "block": {"id": "minecraft:water"} } + ] + }, + { + "at": 1, + "do": "assert", + "checks": [ + { "pos": [ 0, -1, 0], "is": {"id": "minecraft:stone"} }, + { "pos": [ 1, 0, 0], "is": {"id": "minecraft:stone"} }, + { "pos": [-1, 0, 0], "is": {"id": "minecraft:stone"} }, + { "pos": [ 0, 0, 1], "is": {"id": "minecraft:stone"} }, + { "pos": [ 0, 0, -1], "is": {"id": "minecraft:stone"} }, + { "pos": [ 0, 0, 0], "is": {"id": "minecraft:water"} } + ] + }, + { "at": 1, "do": "use_item_on", "pos": [0, -1, 0], "face": "top", "item": "iron_chain" }, + { + "at": 2, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:iron_chain", "axis": "y", "waterlogged": true} }, + {"is": "empty", "slot": "hotbar1"} + ] + }, + { "at": 2, "do": "place", "pos": [0, 0, 0], "block": {"id": "minecraft:iron_chain"} }, + { + "at": 3, + "do": "assert", + "checks": [ + { "pos": [ 0, -1, 0], "is": {"id": "minecraft:stone" } }, + { "pos": [ 1, 0, 0], "is": {"id": "minecraft:stone" } }, + { "pos": [-1, 0, 0], "is": {"id": "minecraft:stone" } }, + { "pos": [ 0, 0, 1], "is": {"id": "minecraft:stone" } }, + { "pos": [ 0, 0, -1], "is": {"id": "minecraft:stone" } }, + { "pos": [ 0, 0, 0], "is": {"id": "minecraft:iron_chain", "axis": "y", "waterlogged": false} } + ] + }, + { "at": 3, "do": "use_item_on", "pos": [0, 0, 0], "face": "top", "item": "minecraft:water_bucker" }, + { + "at": 4, + "do": "assert", + "checks": [ + { "pos": [0, -1, 0], "is": {"id": "minecraft:stone"} } , + { "pos": [1, 0, 0], "is": {"id": "minecraft:stone"} } , + { "pos": [-1, 0, 0], "is": {"id": "minecraft:stone"} } , + { "pos": [0, 0, 1], "is": {"id": "minecraft:stone"} } , + { "pos": [0, 0, -1], "is": {"id": "minecraft:stone"} } , + { "pos": [0, 0, 0], "is": {"id": "minecraft:iron_chain", "waterlogged": true, "axis": "y"} }, + { "is": {"id": "minecraft:bucket", "count": 1}, "slot": "hotbar1" } + ] + }, + { "at": 4, "do": "use_item_on", "pos": [0, 0, 0], "face": "top" }, + { + "at": 5, + "do": "assert", + "checks": [ + { "pos": [0, -1, 0], "is": {"id": "minecraft:stone"} } , + { "pos": [1, 0, 0], "is": {"id": "minecraft:stone"} } , + { "pos": [-1, 0, 0], "is": {"id": "minecraft:stone"} } , + { "pos": [0, 0, 1], "is": {"id": "minecraft:stone"} } , + { "pos": [0, 0, -1], "is": {"id": "minecraft:stone"} } , + { "pos": [0, 0, 0], "is": {"id": "minecraft:iron_chain", "waterlogged": false, "axis": "y"} }, + { "is": {"id": "minecraft:water_bucket", "count": 1}, "slot": "hotbar1" } + ] + } + ], + "breakpoints": [] +} + diff --git a/tests/blocks/decoration/chain/waxing_copper_chain.json b/tests/blocks/decoration/chain/waxing_copper_chain.json index a888520..558f6ce 100644 --- a/tests/blocks/decoration/chain/waxing_copper_chain.json +++ b/tests/blocks/decoration/chain/waxing_copper_chain.json @@ -26,7 +26,7 @@ "at": 2, "do": "assert", "checks": [ - { "slot": "hotbar1", "is": "empty" } , + {"slot": "hotbar1", "is": "empty"} , { "pos": [0, 0, 0], "is": {"id": "minecraft:waxed_copper_chain", "waterlogged": false, "axis": "y"} } ] }, From 8276c79a93cbc708d85e9e9b571b43064741a706 Mon Sep 17 00:00:00 2001 From: JunkyDeveloper Date: Mon, 4 May 2026 20:07:46 +0200 Subject: [PATCH 8/9] typos --- tests/blocks/decoration/chain/waterlogged_copper_chain.json | 4 ++-- tests/blocks/decoration/chain/waterlogged_iron_chain.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/blocks/decoration/chain/waterlogged_copper_chain.json b/tests/blocks/decoration/chain/waterlogged_copper_chain.json index ba60ce4..a467b36 100644 --- a/tests/blocks/decoration/chain/waterlogged_copper_chain.json +++ b/tests/blocks/decoration/chain/waterlogged_copper_chain.json @@ -4,7 +4,7 @@ "name": "waterlogged_copper_chain", "description": "Tests the placing of chain in water", "tags": ["chain", "waterlogged"], - "minecraftIds": ["minecraft:copper_chain", "minecraft:water", "minecraft:water_bukket", "minecraft:empty_bukket"], + "minecraftIds": ["minecraft:copper_chain", "minecraft:water", "minecraft:water_bucket", "minecraft:bucket"], "dependencies": [], "setup": { "cleanup": { @@ -59,7 +59,7 @@ { "pos": [ 0, 0, 0], "is": {"id": "minecraft:copper_chain", "axis": "y", "waterlogged": false} } ] }, - { "at": 3, "do": "use_item_on", "pos": [0, 0, 0], "face": "top", "item": "minecraft:water_bucket" }, + { "at": 3, "do": "use_item_on", "pos": [0, 0, 0], "face": "east", "item": "minecraft:water_bucket" }, { "at": 4, "do": "assert", diff --git a/tests/blocks/decoration/chain/waterlogged_iron_chain.json b/tests/blocks/decoration/chain/waterlogged_iron_chain.json index 44e1c04..0d6e097 100644 --- a/tests/blocks/decoration/chain/waterlogged_iron_chain.json +++ b/tests/blocks/decoration/chain/waterlogged_iron_chain.json @@ -4,7 +4,7 @@ "name": "waterlogged_iron_chain", "description": "Tests the placing of chain in water", "tags": ["chain", "waterlogged"], - "minecraftIds": ["minecraft:iron_chain", "minecraft:water", "minecraft:water_bukket", "minecraft:empty_bukket"], + "minecraftIds": ["minecraft:iron_chain", "minecraft:water", "minecraft:water_bucket", "minecraft:bucket"], "dependencies": [], "setup": { "cleanup": { @@ -59,7 +59,7 @@ { "pos": [ 0, 0, 0], "is": {"id": "minecraft:iron_chain", "axis": "y", "waterlogged": false} } ] }, - { "at": 3, "do": "use_item_on", "pos": [0, 0, 0], "face": "top", "item": "minecraft:water_bucker" }, + { "at": 3, "do": "use_item_on", "pos": [0, 0, 0], "face": "top", "item": "minecraft:water_bucket" }, { "at": 4, "do": "assert", From b6dd36244166095b84304cc00b9a9da8718fd178 Mon Sep 17 00:00:00 2001 From: JunkyDeveloper Date: Tue, 5 May 2026 23:56:06 +0200 Subject: [PATCH 9/9] flint doen't support it currently, needs to be fixed --- tests/blocks/decoration/chain/waterlogged_copper_chain.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/blocks/decoration/chain/waterlogged_copper_chain.json b/tests/blocks/decoration/chain/waterlogged_copper_chain.json index a467b36..5e49304 100644 --- a/tests/blocks/decoration/chain/waterlogged_copper_chain.json +++ b/tests/blocks/decoration/chain/waterlogged_copper_chain.json @@ -59,7 +59,7 @@ { "pos": [ 0, 0, 0], "is": {"id": "minecraft:copper_chain", "axis": "y", "waterlogged": false} } ] }, - { "at": 3, "do": "use_item_on", "pos": [0, 0, 0], "face": "east", "item": "minecraft:water_bucket" }, + { "at": 3, "do": "use_item_on", "pos": [0, 0, -1], "face": "top", "item": "minecraft:water_bucket" }, { "at": 4, "do": "assert",