From 04f6a22671b299683f71cd5fe1dc316444a9dc62 Mon Sep 17 00:00:00 2001 From: JunkyDeveloper Date: Sat, 20 Jun 2026 16:00:37 +0200 Subject: [PATCH 1/6] bonemeal dripleaf --- .../dripleaf/bonemeal_dripleaf.json | 82 +++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 tests/vegetation/dripleaf/bonemeal_dripleaf.json diff --git a/tests/vegetation/dripleaf/bonemeal_dripleaf.json b/tests/vegetation/dripleaf/bonemeal_dripleaf.json new file mode 100644 index 0000000..eb1e476 --- /dev/null +++ b/tests/vegetation/dripleaf/bonemeal_dripleaf.json @@ -0,0 +1,82 @@ +{ + "$schema": "https://raw.githubusercontent.com/FlintTestMC/flint-core/refs/heads/main/flint-content/test_spec_schema.json", + "flintVersion": "1.0", + "name": "bonemeal_dripleaf", + "description": "TODO: describe what this test verifies", + "tags": ["bone_meal"], + "minecraftIds": ["minecraft:dripleaf"], + "setup": { + "cleanup": { + "region": [ [0, 0, 0], [0, 5, 0] ] + } + }, + "timeline": [ + { + "at": 0, + "do": "place_each", + "blocks": [ + { "pos": [0, 0, 0], "block": {"id": "minecraft:clay" } }, + { "pos": [0, 1, 0], "block": {"id": "minecraft:big_dripleaf", "facing": "south"} }, + { "pos": [0, 5, 0], "block": {"id": "minecraft:stone" } } + ] + }, + { + "at": 0, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:clay" } }, + { "pos": [0, 1, 0], "is": {"id": "minecraft:big_dripleaf", "tilt": "None", "facing": "south"} } + ] + }, + { "at": 1, "do": "use_item_on", "face": "east", "item": "minecraft:bone_meal", "pos": [0, 1, 0] }, + { + "at": 2, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:clay" } }, + { "pos": [0, 1, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, + { "pos": [0, 2, 0], "is": {"id": "minecraft:big_dripleaf" , "facing": "south", "tilt": "none"} } + ] + }, + { "at": 2, "do": "use_item_on", "face": "east", "item": "minecraft:bone_meal", "pos": [0, 2, 0] }, + { + "at": 3, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:clay"} }, + { "pos": [0, 1, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, + { "pos": [0, 2, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, + { + "pos": [0, 3, 0], + "is": {"id": "minecraft:big_dripleaf", "facing": "south", "waterlogged": false, "tilt": "none"} + } + ] + }, + { "at": 3, "do": "use_item_on", "face": "east", "item": "minecraft:bone_meal", "pos": [0, 1, 0] }, + { + "at": 4, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:clay" } }, + { "pos": [0, 1, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, + { "pos": [0, 2, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, + { "pos": [0, 3, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, + { "pos": [0, 4, 0], "is": {"id": "minecraft:big_dripleaf" , "facing": "south", "tilt": "none"} } + ] + }, + { "at": 4, "do": "use_item_on", "face": "east", "item": "minecraft:bone_meal", "pos": [0, 2, 0] }, + { + "at": 5, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:clay" } }, + { "pos": [0, 1, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, + { "pos": [0, 2, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, + { "pos": [0, 3, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, + { "pos": [0, 4, 0], "is": {"id": "minecraft:big_dripleaf" , "facing": "south", "tilt": "none"} }, + { "pos": [0, 5, 0], "is": {"id": "minecraft:stone" } } + ] + } + ] +} + From 86face56e0fcc20cc34ed71d586038945bb3cf38 Mon Sep 17 00:00:00 2001 From: JunkyDeveloper Date: Sat, 20 Jun 2026 16:31:42 +0200 Subject: [PATCH 2/6] format --- .../dripleaf/bonemeal_dripleaf.json | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/vegetation/dripleaf/bonemeal_dripleaf.json b/tests/vegetation/dripleaf/bonemeal_dripleaf.json index eb1e476..496b656 100644 --- a/tests/vegetation/dripleaf/bonemeal_dripleaf.json +++ b/tests/vegetation/dripleaf/bonemeal_dripleaf.json @@ -33,8 +33,8 @@ "at": 2, "do": "assert", "checks": [ - { "pos": [0, 0, 0], "is": {"id": "minecraft:clay" } }, - { "pos": [0, 1, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, + { "pos": [0, 0, 0], "is": {"id": "minecraft:clay" } }, + { "pos": [0, 1, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south" } }, { "pos": [0, 2, 0], "is": {"id": "minecraft:big_dripleaf" , "facing": "south", "tilt": "none"} } ] }, @@ -57,10 +57,10 @@ "at": 4, "do": "assert", "checks": [ - { "pos": [0, 0, 0], "is": {"id": "minecraft:clay" } }, - { "pos": [0, 1, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, - { "pos": [0, 2, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, - { "pos": [0, 3, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, + { "pos": [0, 0, 0], "is": {"id": "minecraft:clay" } }, + { "pos": [0, 1, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south" } }, + { "pos": [0, 2, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south" } }, + { "pos": [0, 3, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south" } }, { "pos": [0, 4, 0], "is": {"id": "minecraft:big_dripleaf" , "facing": "south", "tilt": "none"} } ] }, @@ -69,12 +69,12 @@ "at": 5, "do": "assert", "checks": [ - { "pos": [0, 0, 0], "is": {"id": "minecraft:clay" } }, - { "pos": [0, 1, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, - { "pos": [0, 2, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, - { "pos": [0, 3, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, + { "pos": [0, 0, 0], "is": {"id": "minecraft:clay" } }, + { "pos": [0, 1, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south" } }, + { "pos": [0, 2, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south" } }, + { "pos": [0, 3, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south" } }, { "pos": [0, 4, 0], "is": {"id": "minecraft:big_dripleaf" , "facing": "south", "tilt": "none"} }, - { "pos": [0, 5, 0], "is": {"id": "minecraft:stone" } } + { "pos": [0, 5, 0], "is": {"id": "minecraft:stone" } } ] } ] From 656c96611e620260c8be312aaa6bec91dd770984 Mon Sep 17 00:00:00 2001 From: JunkyDeveloper Date: Sat, 20 Jun 2026 16:38:31 +0200 Subject: [PATCH 3/6] new test --- .../dripleaf/bonemeal_dripleaf.json | 4 +- tests/vegetation/dripleaf/stack_driplaf.json | 42 +++++++++++++++++++ 2 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 tests/vegetation/dripleaf/stack_driplaf.json diff --git a/tests/vegetation/dripleaf/bonemeal_dripleaf.json b/tests/vegetation/dripleaf/bonemeal_dripleaf.json index 496b656..61f11ea 100644 --- a/tests/vegetation/dripleaf/bonemeal_dripleaf.json +++ b/tests/vegetation/dripleaf/bonemeal_dripleaf.json @@ -1,8 +1,8 @@ { "$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_dripleaf", - "description": "TODO: describe what this test verifies", + "description": "Tests bone meal action on dripleaf and dripleaf stem.", "tags": ["bone_meal"], "minecraftIds": ["minecraft:dripleaf"], "setup": { diff --git a/tests/vegetation/dripleaf/stack_driplaf.json b/tests/vegetation/dripleaf/stack_driplaf.json new file mode 100644 index 0000000..9a2a8c3 --- /dev/null +++ b/tests/vegetation/dripleaf/stack_driplaf.json @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/FlintTestMC/flint-core/refs/heads/main/flint-content/test_spec_schema.json", + "flintVersion": "1.1", + "name": "stack_driplaf", + "description": "Place dripleaf over each other, below block should convert to stem", + "tags": ["bone_meal"], + "minecraftIds": ["minecraft:big_dripleaf"], + "setup": { + "cleanup": { + "region": [ [0, 0, 0], [0, 2, 0] ] + } + }, + "timeline": [ + { + "at": 0, + "do": "place_each", + "blocks": [ + { "pos": [0, 0, 0], "block": {"id": "minecraft:clay" } }, + { "pos": [0, 1, 0], "block": {"id": "minecraft:big_dripleaf", "facing": "south"} } + ] + }, + { + "at": 0, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:clay" } }, + { "pos": [0, 1, 0], "is": {"id": "minecraft:big_dripleaf", "tilt": "None", "facing": "south"} } + ] + }, + { "at": 1, "do": "use_item_on", "face": "east", "item": "minecraft:big_dripleaf", "pos": [0, 1, 0] }, + { + "at": 2, + "do": "assert", + "checks": [ + { "pos": [0, 0, 0], "is": {"id": "minecraft:clay" } }, + { "pos": [0, 1, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south" } }, + { "pos": [0, 2, 0], "is": {"id": "minecraft:big_dripleaf" , "facing": "south", "tilt": "none"} } + ] + } + ] +} + From ad92f4fd32379a71bf51f18740aec2e12ba82038 Mon Sep 17 00:00:00 2001 From: JunkyDeveloper Date: Sat, 20 Jun 2026 16:38:57 +0200 Subject: [PATCH 4/6] small fix --- tests/vegetation/dripleaf/bonemeal_dripleaf.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/vegetation/dripleaf/bonemeal_dripleaf.json b/tests/vegetation/dripleaf/bonemeal_dripleaf.json index 61f11ea..d2c32cb 100644 --- a/tests/vegetation/dripleaf/bonemeal_dripleaf.json +++ b/tests/vegetation/dripleaf/bonemeal_dripleaf.json @@ -4,7 +4,7 @@ "name": "bonemeal_dripleaf", "description": "Tests bone meal action on dripleaf and dripleaf stem.", "tags": ["bone_meal"], - "minecraftIds": ["minecraft:dripleaf"], + "minecraftIds": ["minecraft:big_dripleaf"], "setup": { "cleanup": { "region": [ [0, 0, 0], [0, 5, 0] ] From a5337283a164dee79162c17d0ca3c7de27d9a277 Mon Sep 17 00:00:00 2001 From: JunkyDeveloper Date: Sat, 20 Jun 2026 16:56:34 +0200 Subject: [PATCH 5/6] flint-steel looks like to have some problems --- .../dripleaf/bonemeal_dripleaf.json | 53 ++++++++++++------- tests/vegetation/dripleaf/stack_driplaf.json | 25 ++++++--- 2 files changed, 51 insertions(+), 27 deletions(-) diff --git a/tests/vegetation/dripleaf/bonemeal_dripleaf.json b/tests/vegetation/dripleaf/bonemeal_dripleaf.json index d2c32cb..4236eea 100644 --- a/tests/vegetation/dripleaf/bonemeal_dripleaf.json +++ b/tests/vegetation/dripleaf/bonemeal_dripleaf.json @@ -15,17 +15,23 @@ "at": 0, "do": "place_each", "blocks": [ - { "pos": [0, 0, 0], "block": {"id": "minecraft:clay" } }, - { "pos": [0, 1, 0], "block": {"id": "minecraft:big_dripleaf", "facing": "south"} }, - { "pos": [0, 5, 0], "block": {"id": "minecraft:stone" } } + { "pos": [0, 0, 0], "block": {"id": "minecraft:clay"} }, + { + "pos": [0, 1, 0], + "block": {"id": "minecraft:big_dripleaf", "facing": "south", "waterlogged": false} + }, + { "pos": [0, 5, 0], "block": {"id": "minecraft:stone"} } ] }, { "at": 0, "do": "assert", "checks": [ - { "pos": [0, 0, 0], "is": {"id": "minecraft:clay" } }, - { "pos": [0, 1, 0], "is": {"id": "minecraft:big_dripleaf", "tilt": "None", "facing": "south"} } + { "pos": [0, 0, 0], "is": {"id": "minecraft:clay"} }, + { + "pos": [0, 1, 0], + "is": {"id": "minecraft:big_dripleaf", "tilt": "none", "facing": "south", "waterlogged": false} + } ] }, { "at": 1, "do": "use_item_on", "face": "east", "item": "minecraft:bone_meal", "pos": [0, 1, 0] }, @@ -33,9 +39,12 @@ "at": 2, "do": "assert", "checks": [ - { "pos": [0, 0, 0], "is": {"id": "minecraft:clay" } }, - { "pos": [0, 1, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south" } }, - { "pos": [0, 2, 0], "is": {"id": "minecraft:big_dripleaf" , "facing": "south", "tilt": "none"} } + { "pos": [0, 0, 0], "is": {"id": "minecraft:clay"} }, + { "pos": [0, 1, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, + { + "pos": [0, 2, 0], + "is": {"id": "minecraft:big_dripleaf", "facing": "south", "tilt": "none", "waterlogged": false} + } ] }, { "at": 2, "do": "use_item_on", "face": "east", "item": "minecraft:bone_meal", "pos": [0, 2, 0] }, @@ -57,11 +66,14 @@ "at": 4, "do": "assert", "checks": [ - { "pos": [0, 0, 0], "is": {"id": "minecraft:clay" } }, - { "pos": [0, 1, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south" } }, - { "pos": [0, 2, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south" } }, - { "pos": [0, 3, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south" } }, - { "pos": [0, 4, 0], "is": {"id": "minecraft:big_dripleaf" , "facing": "south", "tilt": "none"} } + { "pos": [0, 0, 0], "is": {"id": "minecraft:clay"} }, + { "pos": [0, 1, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, + { "pos": [0, 2, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, + { "pos": [0, 3, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, + { + "pos": [0, 4, 0], + "is": {"id": "minecraft:big_dripleaf", "facing": "south", "tilt": "none", "waterlogged": false} + } ] }, { "at": 4, "do": "use_item_on", "face": "east", "item": "minecraft:bone_meal", "pos": [0, 2, 0] }, @@ -69,12 +81,15 @@ "at": 5, "do": "assert", "checks": [ - { "pos": [0, 0, 0], "is": {"id": "minecraft:clay" } }, - { "pos": [0, 1, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south" } }, - { "pos": [0, 2, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south" } }, - { "pos": [0, 3, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south" } }, - { "pos": [0, 4, 0], "is": {"id": "minecraft:big_dripleaf" , "facing": "south", "tilt": "none"} }, - { "pos": [0, 5, 0], "is": {"id": "minecraft:stone" } } + { "pos": [0, 0, 0], "is": {"id": "minecraft:clay"} }, + { "pos": [0, 1, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, + { "pos": [0, 2, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, + { "pos": [0, 3, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south"} }, + { + "pos": [0, 4, 0], + "is": {"id": "minecraft:big_dripleaf", "facing": "south", "tilt": "none", "waterlogged": false} + }, + { "pos": [0, 5, 0], "is": {"id": "minecraft:stone"} } ] } ] diff --git a/tests/vegetation/dripleaf/stack_driplaf.json b/tests/vegetation/dripleaf/stack_driplaf.json index 9a2a8c3..4082e87 100644 --- a/tests/vegetation/dripleaf/stack_driplaf.json +++ b/tests/vegetation/dripleaf/stack_driplaf.json @@ -15,26 +15,35 @@ "at": 0, "do": "place_each", "blocks": [ - { "pos": [0, 0, 0], "block": {"id": "minecraft:clay" } }, - { "pos": [0, 1, 0], "block": {"id": "minecraft:big_dripleaf", "facing": "south"} } + { "pos": [0, 0, 0], "block": {"id": "minecraft:clay"} }, + { "pos": [0, 1, 0], "block": {"id": "minecraft:big_dripleaf", "facing": "south", "waterlogged": false} } ] }, { "at": 0, "do": "assert", "checks": [ - { "pos": [0, 0, 0], "is": {"id": "minecraft:clay" } }, - { "pos": [0, 1, 0], "is": {"id": "minecraft:big_dripleaf", "tilt": "None", "facing": "south"} } + { "pos": [0, 0, 0], "is": {"id": "minecraft:clay"} }, + { + "pos": [0, 1, 0], + "is": {"id": "minecraft:big_dripleaf", "tilt": "none", "facing": "south", "waterlogged": false} + } ] }, - { "at": 1, "do": "use_item_on", "face": "east", "item": "minecraft:big_dripleaf", "pos": [0, 1, 0] }, + { "at": 1, "do": "use_item_on", "face": "top", "item": "minecraft:big_dripleaf", "pos": [0, 1, 0] }, { "at": 2, "do": "assert", "checks": [ - { "pos": [0, 0, 0], "is": {"id": "minecraft:clay" } }, - { "pos": [0, 1, 0], "is": {"id": "minecraft:big_dripleaf_stem", "facing": "south" } }, - { "pos": [0, 2, 0], "is": {"id": "minecraft:big_dripleaf" , "facing": "south", "tilt": "none"} } + { "pos": [0, 0, 0], "is": {"id": "minecraft:clay"} }, + { + "pos": [0, 1, 0], + "is": {"id": "minecraft:clay", "facing": "south", "waterlogged": false} + }, + { + "pos": [0, 2, 0], + "is": {"id": "minecraft:big_dripleaf", "facing": "south", "tilt": "none", "waterlogged": false} + } ] } ] From 3d873f2a66b3ab2b1a5e47e040511bc23e3b50d5 Mon Sep 17 00:00:00 2001 From: JunkyDeveloper Date: Fri, 26 Jun 2026 03:03:15 +0200 Subject: [PATCH 6/6] fmt --- tests/vegetation/dripleaf/stack_driplaf.json | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/vegetation/dripleaf/stack_driplaf.json b/tests/vegetation/dripleaf/stack_driplaf.json index 4082e87..e28aa72 100644 --- a/tests/vegetation/dripleaf/stack_driplaf.json +++ b/tests/vegetation/dripleaf/stack_driplaf.json @@ -30,16 +30,13 @@ } ] }, - { "at": 1, "do": "use_item_on", "face": "top", "item": "minecraft:big_dripleaf", "pos": [0, 1, 0] }, + { "at": 1, "do": "use_item_on", "face": "top", "item": "minecraft:big_dripleaf", "pos": [0, 1, 0] }, { "at": 2, "do": "assert", "checks": [ { "pos": [0, 0, 0], "is": {"id": "minecraft:clay"} }, - { - "pos": [0, 1, 0], - "is": {"id": "minecraft:clay", "facing": "south", "waterlogged": false} - }, + { "pos": [0, 1, 0], "is": {"id": "minecraft:clay", "facing": "south", "waterlogged": false} }, { "pos": [0, 2, 0], "is": {"id": "minecraft:big_dripleaf", "facing": "south", "tilt": "none", "waterlogged": false}