From 41766553dce6b9269da1da189e6ba8860ee1fe5a Mon Sep 17 00:00:00 2001 From: JunkyDeveloper Date: Sat, 20 Jun 2026 02:27:53 +0200 Subject: [PATCH 1/3] hanging_moss --- .../moss/bonemeal_hanging_moss.json | 133 ++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 tests/vegetation/moss/bonemeal_hanging_moss.json diff --git a/tests/vegetation/moss/bonemeal_hanging_moss.json b/tests/vegetation/moss/bonemeal_hanging_moss.json new file mode 100644 index 0000000..94b6ea7 --- /dev/null +++ b/tests/vegetation/moss/bonemeal_hanging_moss.json @@ -0,0 +1,133 @@ +{ + "$schema": "https://raw.githubusercontent.com/FlintTestMC/flint-core/refs/heads/main/flint-content/test_spec_schema.json", + "flintVersion": "1.0", + "name": "bonemeal_hanging_moss", + "description": "TODO: describe what this test verifies", + "tags": [], + "minecraftIds": ["minecraft:stone"], + "setup": { + "cleanup": { + "region": [ [0, 0, 0], [0, 9, 0] ] + } + }, + "timeline": [ + { + "at": 0, + "do": "place_each", + "blocks": [ + { "block": {"id": "minecraft:dirt" }, "pos": [0, 9, 0] }, + { "block": {"id": "minecraft:pale_hanging_moss", "tip": true}, "pos": [0, 8, 0] }, + { "block": {"id": "stone" }, "pos": [0, 0, 0] } + ] + }, + { + "at": 0, + "do": "assert", + "checks": [ + { "pos": [0, 8, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": true} } + ] + }, + { "at": 1, "do": "use_item_on", "item": "minecraft:bonemeal", "pos": [0, 8, 0], "face": "bottom" }, + { + "at": 2, + "do": "assert", + "checks": [ + { "pos": [0, 8, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 7, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": true } } + ] + }, + { "at": 2, "do": "use_item_on", "item": "minecraft:bonemeal", "pos": [0, 7, 0], "face": "bottom" }, + { + "at": 3, + "do": "assert", + "checks": [ + { "pos": [0, 8, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 7, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 6, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": true } } + ] + }, + { "at": 3, "do": "use_item_on", "item": "minecraft:bonemeal", "pos": [0, 6, 0], "face": "bottom" }, + { + "at": 4, + "do": "assert", + "checks": [ + { "pos": [0, 8, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 7, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 6, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 5, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": true } } + ] + }, + { "at": 4, "do": "use_item_on", "item": "minecraft:bonemeal", "pos": [0, 5, 0], "face": "bottom" }, + { + "at": 5, + "do": "assert", + "checks": [ + { "pos": [0, 8, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 7, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 6, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 5, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 4, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": true } } + ] + }, + { "at": 5, "do": "use_item_on", "item": "minecraft:bonemeal", "pos": [0, 4, 0], "face": "bottom" }, + { + "at": 6, + "do": "assert", + "checks": [ + { "pos": [0, 8, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 7, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 6, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 5, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 4, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 3, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": true } } + ] + }, + { "at": 6, "do": "use_item_on", "item": "minecraft:bonemeal", "pos": [0, 3, 0], "face": "bottom" }, + { + "at": 7, + "do": "assert", + "checks": [ + { "pos": [0, 8, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 7, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 6, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 5, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 4, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 3, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 2, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": true } } + ] + }, + { "at": 7, "do": "use_item_on", "item": "minecraft:bonemeal", "pos": [0, 2, 0], "face": "east" }, + { + "at": 8, + "do": "assert", + "checks": [ + { "pos": [0, 8, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 7, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 6, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 5, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 4, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 3, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 2, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 1, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": true } }, + { "pos": [0, 0, 0], "is": {"id": "minecraft:stone" } } + ] + }, + { "at": 8, "do": "use_item_on", "item": "minecraft:bonemeal", "pos": [0, 1, 0], "face": "east" }, + { + "at": 9, + "do": "assert", + "checks": [ + { "pos": [0, 8, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 7, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 6, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 5, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 4, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 3, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 2, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": false} }, + { "pos": [0, 1, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": true } }, + { "pos": [0, 0, 0], "is": {"id": "minecraft:stone" } } + ] + } + ] +} + From 4d8eec3121812ef869a5587c5bf3e5996dd12d53 Mon Sep 17 00:00:00 2001 From: JunkyDeveloper Date: Sat, 20 Jun 2026 02:45:40 +0200 Subject: [PATCH 2/3] tested with steel --- .../moss/bonemeal_hanging_moss.json | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/vegetation/moss/bonemeal_hanging_moss.json b/tests/vegetation/moss/bonemeal_hanging_moss.json index 94b6ea7..68af61c 100644 --- a/tests/vegetation/moss/bonemeal_hanging_moss.json +++ b/tests/vegetation/moss/bonemeal_hanging_moss.json @@ -1,10 +1,10 @@ { "$schema": "https://raw.githubusercontent.com/FlintTestMC/flint-core/refs/heads/main/flint-content/test_spec_schema.json", - "flintVersion": "1.0", + "flintVersion": "1.1", "name": "bonemeal_hanging_moss", - "description": "TODO: describe what this test verifies", - "tags": [], - "minecraftIds": ["minecraft:stone"], + "description": "This tests the bonemeal functionality of hanging moss", + "tags": ["bone_meal"], + "minecraftIds": ["minecraft:pale_hanging_moss"], "setup": { "cleanup": { "region": [ [0, 0, 0], [0, 9, 0] ] @@ -27,7 +27,7 @@ { "pos": [0, 8, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": true} } ] }, - { "at": 1, "do": "use_item_on", "item": "minecraft:bonemeal", "pos": [0, 8, 0], "face": "bottom" }, + { "at": 1, "do": "use_item_on", "item": "minecraft:bone_meal", "pos": [0, 8, 0], "face": "bottom" }, { "at": 2, "do": "assert", @@ -36,7 +36,7 @@ { "pos": [0, 7, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": true } } ] }, - { "at": 2, "do": "use_item_on", "item": "minecraft:bonemeal", "pos": [0, 7, 0], "face": "bottom" }, + { "at": 2, "do": "use_item_on", "item": "minecraft:bone_meal", "pos": [0, 7, 0], "face": "bottom" }, { "at": 3, "do": "assert", @@ -46,7 +46,7 @@ { "pos": [0, 6, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": true } } ] }, - { "at": 3, "do": "use_item_on", "item": "minecraft:bonemeal", "pos": [0, 6, 0], "face": "bottom" }, + { "at": 3, "do": "use_item_on", "item": "minecraft:bone_meal", "pos": [0, 6, 0], "face": "bottom" }, { "at": 4, "do": "assert", @@ -57,7 +57,7 @@ { "pos": [0, 5, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": true } } ] }, - { "at": 4, "do": "use_item_on", "item": "minecraft:bonemeal", "pos": [0, 5, 0], "face": "bottom" }, + { "at": 4, "do": "use_item_on", "item": "minecraft:bone_meal", "pos": [0, 5, 0], "face": "bottom" }, { "at": 5, "do": "assert", @@ -69,7 +69,7 @@ { "pos": [0, 4, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": true } } ] }, - { "at": 5, "do": "use_item_on", "item": "minecraft:bonemeal", "pos": [0, 4, 0], "face": "bottom" }, + { "at": 5, "do": "use_item_on", "item": "minecraft:bone_meal", "pos": [0, 4, 0], "face": "bottom" }, { "at": 6, "do": "assert", @@ -82,7 +82,7 @@ { "pos": [0, 3, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": true } } ] }, - { "at": 6, "do": "use_item_on", "item": "minecraft:bonemeal", "pos": [0, 3, 0], "face": "bottom" }, + { "at": 6, "do": "use_item_on", "item": "minecraft:bone_meal", "pos": [0, 3, 0], "face": "bottom" }, { "at": 7, "do": "assert", @@ -96,7 +96,7 @@ { "pos": [0, 2, 0], "is": {"id": "minecraft:pale_hanging_moss", "tip": true } } ] }, - { "at": 7, "do": "use_item_on", "item": "minecraft:bonemeal", "pos": [0, 2, 0], "face": "east" }, + { "at": 7, "do": "use_item_on", "item": "minecraft:bone_meal", "pos": [0, 2, 0], "face": "east" }, { "at": 8, "do": "assert", @@ -112,7 +112,7 @@ { "pos": [0, 0, 0], "is": {"id": "minecraft:stone" } } ] }, - { "at": 8, "do": "use_item_on", "item": "minecraft:bonemeal", "pos": [0, 1, 0], "face": "east" }, + { "at": 8, "do": "use_item_on", "item": "minecraft:bone_meal", "pos": [0, 1, 0], "face": "east" }, { "at": 9, "do": "assert", From c549fa9c65679899c47da0f1d2d172f804c0fc5b Mon Sep 17 00:00:00 2001 From: JunkyDeveloper Date: Sat, 20 Jun 2026 02:47:54 +0200 Subject: [PATCH 3/3] add id --- tests/vegetation/moss/bonemeal_hanging_moss.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/vegetation/moss/bonemeal_hanging_moss.json b/tests/vegetation/moss/bonemeal_hanging_moss.json index 68af61c..7318de4 100644 --- a/tests/vegetation/moss/bonemeal_hanging_moss.json +++ b/tests/vegetation/moss/bonemeal_hanging_moss.json @@ -4,7 +4,7 @@ "name": "bonemeal_hanging_moss", "description": "This tests the bonemeal functionality of hanging moss", "tags": ["bone_meal"], - "minecraftIds": ["minecraft:pale_hanging_moss"], + "minecraftIds": ["minecraft:pale_hanging_moss", "minecraft:bone_meal"], "setup": { "cleanup": { "region": [ [0, 0, 0], [0, 9, 0] ]