From ec5b68d9a0cd795eda5ed0faa57d863d522f7c40 Mon Sep 17 00:00:00 2001 From: dags- Date: Sat, 20 Jun 2020 17:57:14 +0100 Subject: [PATCH] plains bushes --- .../terraforged/chunk/TerraSetupFactory.java | 3 +- .../features/shrubs/plains_bush.json | 40 +++++++++++++++++++ 2 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 src/main/resources/data/terraforged/features/shrubs/plains_bush.json diff --git a/src/main/java/com/terraforged/chunk/TerraSetupFactory.java b/src/main/java/com/terraforged/chunk/TerraSetupFactory.java index a337c2e..27cbd03 100644 --- a/src/main/java/com/terraforged/chunk/TerraSetupFactory.java +++ b/src/main/java/com/terraforged/chunk/TerraSetupFactory.java @@ -127,8 +127,7 @@ public class TerraSetupFactory { manager.append( new ForestSurface(context), Biomes.FOREST, - Biomes.BIRCH_FOREST_HILLS, - Biomes.TALL_BIRCH_FOREST, + Biomes.WOODED_HILLS, Biomes.DARK_FOREST, Biomes.DARK_FOREST_HILLS ); diff --git a/src/main/resources/data/terraforged/features/shrubs/plains_bush.json b/src/main/resources/data/terraforged/features/shrubs/plains_bush.json new file mode 100644 index 0000000..42dfbfd --- /dev/null +++ b/src/main/resources/data/terraforged/features/shrubs/plains_bush.json @@ -0,0 +1,40 @@ +{ + "biomes": [ + "minecraft:plains" + ], + "stage": "VEGETAL_DECORATION", + "prepend": { + "name": "minecraft:decorated", + "config": { + "feature": { + "name": "terraforged:bush", + "config": { + "trunk": { + "Name": "minecraft:oak_log", + "Properties": { + "axis": "y" + } + }, + "leaves": { + "Name": "minecraft:oak_leaves", + "Properties": { + "distance": "7", + "persistent": "false" + } + }, + "air_chance": 0.05, + "leaf_chance": 0.09, + "size_chance": 0.65 + } + }, + "decorator": { + "name": "minecraft:count_extra_heightmap", + "config": { + "count": 0, + "extra_chance": 0.05, + "extra_count": 1 + } + } + } + } +} \ No newline at end of file