From d4728b4d28474b0d0eb7663fbe6500bb10bbf114 Mon Sep 17 00:00:00 2001 From: QuantumStatement <35406698+QuantumStatement@users.noreply.github.com> Date: Sun, 13 Apr 2025 21:00:22 +0300 Subject: [PATCH] generate dynamic trees in strawberry fields biome --- .../trees/dtneapolitan/world_gen/default.json | 11 +++++++++++ .../world_gen/feature_cancellers.json | 18 ++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 src/main/resources/trees/dtneapolitan/world_gen/feature_cancellers.json diff --git a/src/main/resources/trees/dtneapolitan/world_gen/default.json b/src/main/resources/trees/dtneapolitan/world_gen/default.json index c18bb1c..ba90a79 100644 --- a/src/main/resources/trees/dtneapolitan/world_gen/default.json +++ b/src/main/resources/trees/dtneapolitan/world_gen/default.json @@ -67,5 +67,16 @@ } } } + }, + { + "_comment": "Oak generation in Strawberry Fields biome", + "select": "neapolitan:strawberry_fields", + "apply": { + "species": "oak", + "density": [ + 2.0 + ], + "chance": 0.1 + } } ] \ No newline at end of file diff --git a/src/main/resources/trees/dtneapolitan/world_gen/feature_cancellers.json b/src/main/resources/trees/dtneapolitan/world_gen/feature_cancellers.json new file mode 100644 index 0000000..1222d83 --- /dev/null +++ b/src/main/resources/trees/dtneapolitan/world_gen/feature_cancellers.json @@ -0,0 +1,18 @@ +[ + { + "__comment": "Cancel standard tree features from Strawberry Fields biome.", + "select": "neapolitan:strawberry_fields", + "cancellers": { + "type": "tree", + "namespace": "minecraft" + } + }, + { + "__comment": "Cancel spruce trees near Mint Sprouts.", + "select": { "tag": "neapolitan:has_feature/mint_pond"}, + "cancellers": { + "type": "tree", + "namespace": "minecraft" + } + } +] \ No newline at end of file