Skip to content

Commit

Permalink
Enchanted forest fixup (#2275)
Browse files Browse the repository at this point in the history
* Increase the size of enchanted circles

* Use custom vine placer

* Use VerticalAnchors instead of HeightMap

* Use custom vine feature to make vines longer

* Return vines on trees

* Change the values of vertical anchors

* Add width to vines; refactor EnchantedForestVinesFeature

* Revert "Add width to vines; refactor EnchantedForestVinesFeature"

This reverts commit dfa095b.

* Make PLACED_ENCHANTED_FOREST_VINES a top layer modification

* Implement extraRarityOnTrees in EnchantedForestVinesFeature

* Increase density of canopy trees in enchanted forest

* Increase amount of ferns and large ferns in enchanted forest

* Run datagen

* Remove mayapples, increase the frequency of large ferns, increase the frequency of ferns, remove double grass, increase the frequency of big rainbow trees

* Add PLACED_DENSE_LAKE_WATER for future usages; add TODO: "fix grove placement"

* Center the grove

* Run datagen

* Remove magic numbers

* Center the grove; add lakes to the enchanted forest; remove features near the grove.
  • Loading branch information
Sleepy-Horse authored Oct 14, 2024
1 parent ce2a9d0 commit b6a0197
Show file tree
Hide file tree
Showing 18 changed files with 348 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.21.1 2024-09-15T21:52:34.189045622 Registries
// 1.21.1 2024-10-14T15:18:32.219312658 Registries
9089ada9ce06fd30adf8b10e50f02233c7d5a76e data/minecraft/twilight/wood_palettes/acacia.json
dca1ef01d0df4e956fd414782de57c25dfddd290 data/minecraft/twilight/wood_palettes/birch.json
01becb45438b7f2bfdc77baba72bc986341510c8 data/minecraft/twilight/wood_palettes/crimson.json
Expand Down Expand Up @@ -118,7 +118,7 @@ cd3724ced610878eed7614232aa3df1c1d501f72 data/twilightforest/worldgen/biome/clea
17c5d64992834cfb5edd94617a56698fbd5328d7 data/twilightforest/worldgen/biome/dark_forest_center.json
afbd0904fbe5fdf5e5dcf4a6657138a379e2ad76 data/twilightforest/worldgen/biome/dense_forest.json
6554f2be9d0faeabfa8a652ddb059fc61367f177 data/twilightforest/worldgen/biome/dense_mushroom_forest.json
36c0bc6ee39058dcb350f4a807151a7612f1b007 data/twilightforest/worldgen/biome/enchanted_forest.json
455c74918cb6c93ac993806592dee6381a17f0d7 data/twilightforest/worldgen/biome/enchanted_forest.json
0f7add8c82f0867894000c6f3a5db4bc48b9027f data/twilightforest/worldgen/biome/final_plateau.json
16a6c39507c7bfda243d44efebf67c427688aa24 data/twilightforest/worldgen/biome/fire_swamp.json
73e266bb4fc8eaad4094adc4133efc6bf25f6e58 data/twilightforest/worldgen/biome/firefly_forest.json
Expand Down Expand Up @@ -148,7 +148,10 @@ fc967db45aba7ff6345e2b3474a33e812d4340dc data/twilightforest/worldgen/configured
ab75ab20d3277ecf1272d3feed8028c122e12769 data/twilightforest/worldgen/configured_feature/dark_pumpkins.json
1a0558d6d59585ab34a471dd18acf173abf9a2ef data/twilightforest/worldgen/configured_feature/dark_red_mushrooms.json
571fb66edc9ad540d5d783e3bc1d268ae5f1b6bf data/twilightforest/worldgen/configured_feature/default_fallen_logs.json
b440bd1dac981632071cf8fb6e1a340562eb7a2b data/twilightforest/worldgen/configured_feature/dense_ferns.json
ab76c025e8ae4ec52230793dd2609a34cfec97dc data/twilightforest/worldgen/configured_feature/dense_large_ferns.json
6f97a684e664e5f261e2ada0ba9f818d8556c149 data/twilightforest/worldgen/configured_feature/druid_hut.json
9032ca20c46420ee68c1f3412ff705ef53c5b5ab data/twilightforest/worldgen/configured_feature/enchanted_forest_vines.json
3afb7351561a98f14065cff830300735f3985625 data/twilightforest/worldgen/configured_feature/fallen_leaves.json
8cec51f8c8ef53061114075cca36e703dd7a0617 data/twilightforest/worldgen/configured_feature/fancy_well.json
244b31e5e86c79c1637e2d89902eddf50c2cb4d8 data/twilightforest/worldgen/configured_feature/fiddlehead.json
Expand Down Expand Up @@ -222,7 +225,7 @@ c923cb36a4a7190f2bec1ad3ce6be81fb012e755 data/twilightforest/worldgen/configured
486cff87aee3cd06a82a7d75d8b9bf509102d7f5 data/twilightforest/worldgen/configured_feature/tree/selector/canopy_trees.json
8d7b406fda16d82162f4851b28b52155853613c5 data/twilightforest/worldgen/configured_feature/tree/selector/dark_forest_trees.json
96861e6a3bb90f63112617abf3f2ac8f4f8421c3 data/twilightforest/worldgen/configured_feature/tree/selector/dense_canopy_trees.json
7f621cf20a68d70764e47a1365e26f948ac9445d data/twilightforest/worldgen/configured_feature/tree/selector/enchanted_forest_trees.json
f57dede3ce3fd8ab45b79f9ed494d49cbeb5c4c6 data/twilightforest/worldgen/configured_feature/tree/selector/enchanted_forest_trees.json
9c42c640892024958f9171d185ba4a18a5cca734 data/twilightforest/worldgen/configured_feature/tree/selector/firefly_forest_trees.json
77679e79279a34d2afb4f0590862298960f8dd89 data/twilightforest/worldgen/configured_feature/tree/selector/highlands_trees.json
636310ed05f9ba187f75a0492914d76034b706d0 data/twilightforest/worldgen/configured_feature/tree/selector/snowy_forest_trees.json
Expand Down Expand Up @@ -266,7 +269,11 @@ c1cdd1abaa4f2a0a7ed4654dc1990477411d9dee data/twilightforest/worldgen/placed_fea
ed07f065cfb7a5086353305b5c8dc01c4e35e82e data/twilightforest/worldgen/placed_feature/dark_pumpkins.json
4c01547375217b1f29972e9f383f39447c23718b data/twilightforest/worldgen/placed_feature/dark_red_mushrooms.json
53e9eb90d244012f3ccbfba21ee44aa346f2d7a1 data/twilightforest/worldgen/placed_feature/default_fallen_logs.json
8380d1e76bf8dbee27ab7e28c3525d43f3e1ac20 data/twilightforest/worldgen/placed_feature/dense_ferns.json
bb9784d9ccca1f1a47065c00c53e64cd92c26d82 data/twilightforest/worldgen/placed_feature/dense_large_ferns.json
7cee9c2996dac31b077e6479bef3524817b91011 data/twilightforest/worldgen/placed_feature/dense_water_lake.json
77bc97d3a7c316f9a7cef0fc3c687b0a5cf0e14a data/twilightforest/worldgen/placed_feature/druid_hut.json
558fc6fc1afda17c9b52e9864b67dd03a4e6af4c data/twilightforest/worldgen/placed_feature/enchanted_forest_vines.json
0648665b104dc44bac69861cd8d240c941ebc50d data/twilightforest/worldgen/placed_feature/fallen_leaves.json
575df3da21e8b7a4fdbd4a1bc6f89495f8447a45 data/twilightforest/worldgen/placed_feature/fiddlehead.json
4450866e7c5041ea9e6fceafb690cb5445f5300b data/twilightforest/worldgen/placed_feature/fire_jet.json
Expand Down Expand Up @@ -353,7 +360,7 @@ ab9ab413230504cd9f9bb3c899d29183f7a544c3 data/twilightforest/worldgen/structure/
981f279d63889e26d2d3a41f1dd5d82684797006 data/twilightforest/worldgen/structure/medium_hollow_hill.json
aa4567b8171a3bb0d739364aa9e8bb5a5fead921 data/twilightforest/worldgen/structure/mushroom_tower.json
2a51406fdc1088d7de4914189d81c69bf788d77c data/twilightforest/worldgen/structure/naga_courtyard.json
4ff0066540dbb64483260da0b4d60d6e622304b2 data/twilightforest/worldgen/structure/quest_grove.json
ebef5750d9a6a7409d072acc8681ed504a05d160 data/twilightforest/worldgen/structure/quest_grove.json
da563625a31738c46356e6c58c35824f5d98c2c4 data/twilightforest/worldgen/structure/small_hollow_hill.json
2db553ab8a6b2ca93ce23fe0738645cff99e2520 data/twilightforest/worldgen/structure/swamp_hollow_tree.json
c80eb035dafc0e1686ca2cffc235606e90cc189b data/twilightforest/worldgen/structure/troll_cave.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
},
"features": [
[],
[],
[
"twilightforest:dense_water_lake"
],
[],
[],
[
Expand Down Expand Up @@ -64,13 +66,10 @@
],
[],
[
"minecraft:patch_tall_grass",
"minecraft:patch_grass_badlands",
"minecraft:patch_grass_savanna",
"minecraft:patch_sugar_cane",
"minecraft:patch_grass_jungle",
"minecraft:patch_large_fern",
"twilightforest:mayapple",
"twilightforest:dense_ferns",
"twilightforest:dense_large_ferns",
"twilightforest:flower_placer",
"twilightforest:grove_ruins",
"twilightforest:stone_circle",
Expand All @@ -79,13 +78,14 @@
"twilightforest:hollow_stump",
"twilightforest:hollow_log",
"twilightforest:tree/selector/enchanted_forest_trees",
"twilightforest:tree/selector/dense_canopy_trees",
"twilightforest:fiddlehead",
"minecraft:vines",
"twilightforest:tree/selector/canopy_trees",
"twilightforest:default_fallen_logs"
],
[
"minecraft:freeze_top_layer"
"minecraft:freeze_top_layer",
"twilightforest:enchanted_forest_vines"
]
],
"has_precipitation": false,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"type": "minecraft:random_patch",
"config": {
"feature": {
"feature": {
"type": "minecraft:simple_block",
"config": {
"to_place": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "minecraft:fern"
}
}
}
},
"placement": [
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:all_of",
"predicates": [
{
"type": "minecraft:matching_blocks",
"blocks": "minecraft:air"
},
{
"type": "minecraft:matching_block_tag",
"offset": [
0,
-1,
0
],
"tag": "minecraft:dirt"
}
]
}
}
]
},
"tries": 64,
"xz_spread": 7,
"y_spread": 3
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"type": "minecraft:random_patch",
"config": {
"feature": {
"feature": {
"type": "minecraft:simple_block",
"config": {
"to_place": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "minecraft:large_fern",
"Properties": {
"half": "lower"
}
}
}
}
},
"placement": [
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:all_of",
"predicates": [
{
"type": "minecraft:matching_blocks",
"blocks": "minecraft:air"
},
{
"type": "minecraft:matching_block_tag",
"offset": [
0,
-1,
0
],
"tag": "minecraft:dirt"
}
]
}
}
]
},
"tries": 64,
"xz_spread": 7,
"y_spread": 3
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "twilightforest:enchanted_forest_vines",
"config": {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}
},
{
"chance": 0.1,
"chance": 0.15,
"feature": {
"feature": "twilightforest:tree/large_rainbow_oak",
"placement": []
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"feature": "twilightforest:dense_ferns",
"placement": [
{
"type": "minecraft:count",
"count": {
"type": "minecraft:weighted_list",
"distribution": [
{
"data": 3,
"weight": 1
},
{
"data": 4,
"weight": 1
}
]
}
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:heightmap",
"heightmap": "WORLD_SURFACE_WG"
},
{
"type": "minecraft:biome"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"feature": "twilightforest:dense_large_ferns",
"placement": [
{
"type": "minecraft:count",
"count": 2
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:heightmap",
"heightmap": "WORLD_SURFACE_WG"
},
{
"type": "minecraft:biome"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"feature": "twilightforest:water_lake",
"placement": [
{
"type": "minecraft:rarity_filter",
"chance": 4
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:heightmap",
"heightmap": "OCEAN_FLOOR"
},
{
"type": "twilightforest:no_structure",
"additional_clearance": 0,
"occupies_surface": true,
"occupies_underground": true
},
{
"type": "minecraft:biome"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"feature": "twilightforest:enchanted_forest_vines",
"placement": [
{
"type": "minecraft:heightmap",
"heightmap": "MOTION_BLOCKING"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"allow_biome_surface_decorations": false,
"allow_biome_underground_decorations": true,
"biomes": "#twilightforest:valid_quest_grove_biomes",
"chunk_clearance_radius": 1,
"chunk_clearance_radius": 2,
"spawn_overrides": {
"ambient": {
"bounding_box": "full",
Expand Down
8 changes: 7 additions & 1 deletion src/main/java/twilightforest/init/TFConfiguredFeatures.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ public final class TFConfiguredFeatures {

//all the fun little things you find around the dimension
public static final ResourceKey<ConfiguredFeature<?, ?>> BIG_MUSHGLOOM = registerKey("mushroom/big_mushgloom");
public static final ResourceKey<ConfiguredFeature<?, ?>> DENSE_FERNS = registerKey("dense_ferns");
public static final ResourceKey<ConfiguredFeature<?, ?>> DENSE_LARGE_FERNS = registerKey("dense_large_ferns");
public static final ResourceKey<ConfiguredFeature<?, ?>> FALLEN_LEAVES = registerKey("fallen_leaves");
public static final ResourceKey<ConfiguredFeature<?, ?>> MAYAPPLE = registerKey("mayapple");
public static final ResourceKey<ConfiguredFeature<?, ?>> FIDDLEHEAD = registerKey("fiddlehead");
Expand Down Expand Up @@ -88,6 +90,7 @@ public final class TFConfiguredFeatures {
public static final ResourceKey<ConfiguredFeature<?, ?>> WEBS = registerKey("webs");
public static final ResourceKey<ConfiguredFeature<?, ?>> WOOD_ROOTS_SPREAD = registerKey("ore/wood_roots_spread");
public static final ResourceKey<ConfiguredFeature<?, ?>> SNOW_UNDER_TREES = registerKey("snow_under_trees");
public static final ResourceKey<ConfiguredFeature<?, ?>> ENCHANTED_FOREST_VINES = registerKey("enchanted_forest_vines");

//fallen logs!
public static final ResourceKey<ConfiguredFeature<?, ?>> TF_OAK_FALLEN_LOG = registerKey("tf_oak_fallen_log");
Expand Down Expand Up @@ -234,6 +237,8 @@ public static void bootstrap(BootstrapContext<ConfiguredFeature<?, ?>> context)
registerTemplateFeatures(context);

context.register(BIG_MUSHGLOOM, new ConfiguredFeature<>(TFFeatures.BIG_MUSHGLOOM.get(), new HugeMushroomFeatureConfiguration(BlockStateProvider.simple(TFBlocks.HUGE_MUSHGLOOM.get().defaultBlockState().setValue(HugeMushroomBlock.UP, Boolean.TRUE).setValue(HugeMushroomBlock.DOWN, Boolean.FALSE)), BlockStateProvider.simple(TFBlocks.HUGE_MUSHGLOOM_STEM.get().defaultBlockState().setValue(HugeMushroomBlock.UP, Boolean.FALSE).setValue(HugeMushroomBlock.DOWN, Boolean.FALSE)), 1)));
context.register(DENSE_FERNS, new ConfiguredFeature<>(Feature.RANDOM_PATCH, new RandomPatchConfiguration(64, 7, 3, PlacementUtils.filtered(Feature.SIMPLE_BLOCK, new SimpleBlockConfiguration(BlockStateProvider.simple(Blocks.FERN)), BlockPredicate.allOf(BlockPredicate.ONLY_IN_AIR_PREDICATE, BlockPredicate.matchesTag(Direction.DOWN.getNormal(), BlockTags.DIRT))))));
context.register(DENSE_LARGE_FERNS, new ConfiguredFeature<>(Feature.RANDOM_PATCH, new RandomPatchConfiguration(64, 7, 3, PlacementUtils.filtered(Feature.SIMPLE_BLOCK, new SimpleBlockConfiguration(BlockStateProvider.simple(Blocks.LARGE_FERN)), BlockPredicate.allOf(BlockPredicate.ONLY_IN_AIR_PREDICATE, BlockPredicate.matchesTag(Direction.DOWN.getNormal(), BlockTags.DIRT))))));
context.register(FALLEN_LEAVES, new ConfiguredFeature<>(TFFeatures.FALLEN_LEAVES.get(), FeatureConfiguration.NONE));
context.register(MAYAPPLE, new ConfiguredFeature<>(Feature.RANDOM_PATCH, FeatureUtils.simplePatchConfiguration(Feature.SIMPLE_BLOCK, new SimpleBlockConfiguration(BlockStateProvider.simple(TFBlocks.MAYAPPLE.get())))));
context.register(FIDDLEHEAD, new ConfiguredFeature<>(Feature.RANDOM_PATCH, FeatureUtils.simplePatchConfiguration(Feature.SIMPLE_BLOCK, new SimpleBlockConfiguration(BlockStateProvider.simple(TFBlocks.FIDDLEHEAD.get())))));
Expand Down Expand Up @@ -265,6 +270,7 @@ public static void bootstrap(BootstrapContext<ConfiguredFeature<?, ?>> context)
context.register(WEBS, new ConfiguredFeature<>(TFFeatures.WEBS.get(), NoneFeatureConfiguration.NONE));
context.register(WOOD_ROOTS_SPREAD, new ConfiguredFeature<>(TFFeatures.WOOD_ROOTS.get(), new RootConfig(TreeDecorators.ROOT_BLEND_PROVIDER, BlockStateProvider.simple(TFBlocks.LIVEROOT_BLOCK.get()))));
context.register(SNOW_UNDER_TREES, new ConfiguredFeature<>(TFFeatures.SNOW_UNDER_TREES.get(), NoneFeatureConfiguration.NONE));
context.register(ENCHANTED_FOREST_VINES, new ConfiguredFeature<>(TFFeatures.ENCHANTED_FOREST_VINES.get(), NoneFeatureConfiguration.NONE));
context.register(OAK_BUSH, new ConfiguredFeature<>(Feature.TREE, TreeConfigurations.OAK_BUSH));

context.register(TF_OAK_FALLEN_LOG, new ConfiguredFeature<>(TFFeatures.FALLEN_SMALL_LOG.get(), new HollowLogConfig(TFBlocks.TWILIGHT_OAK_LOG.get().defaultBlockState(), TFBlocks.HOLLOW_TWILIGHT_OAK_LOG_HORIZONTAL.get().defaultBlockState())));
Expand Down Expand Up @@ -340,7 +346,7 @@ public static void bootstrap(BootstrapContext<ConfiguredFeature<?, ?>> context)
context.register(FIREFLY_FOREST_TREES, new ConfiguredFeature<>(Feature.RANDOM_SELECTOR, new RandomFeatureConfiguration(ImmutableList.of(new WeightedPlacedFeature(PlacementUtils.inlinePlaced(features.getOrThrow(CANOPY_TREE)), 0.33F), new WeightedPlacedFeature(PlacementUtils.inlinePlaced(features.getOrThrow(FIREFLY_CANOPY_TREE)), 0.45F)), PlacementUtils.inlinePlaced(features.getOrThrow(TWILIGHT_OAK_TREE)))));
context.register(DARK_FOREST_TREES, new ConfiguredFeature<>(Feature.RANDOM_SELECTOR, new RandomFeatureConfiguration(ImmutableList.of(new WeightedPlacedFeature(PlacementUtils.inlinePlaced(features.getOrThrow(DARK_FOREST_BIRCH_TREE)), 0.2F), new WeightedPlacedFeature(PlacementUtils.inlinePlaced(features.getOrThrow(DARK_FOREST_OAK_TREE)), 0.2F), new WeightedPlacedFeature(PlacementUtils.inlinePlaced(features.getOrThrow(DARK_OAK_BUSH)), 0.4F)), PlacementUtils.inlinePlaced(features.getOrThrow(DARKWOOD_TREE)))));
context.register(HIGHLANDS_TREES, new ConfiguredFeature<>(Feature.RANDOM_SELECTOR, new RandomFeatureConfiguration(ImmutableList.of(new WeightedPlacedFeature(PlacementUtils.inlinePlaced(features.getOrThrow(VANILLA_BIRCH_TREE)), 0.25F), new WeightedPlacedFeature(PlacementUtils.inlinePlaced(features.getOrThrow(TreeFeatures.SPRUCE)), 0.25F), new WeightedPlacedFeature(PlacementUtils.inlinePlaced(features.getOrThrow(TreeFeatures.PINE)), 0.1F)), PlacementUtils.inlinePlaced(features.getOrThrow(MEGA_SPRUCE_TREE)))));
context.register(ENCHANTED_FOREST_TREES, new ConfiguredFeature<>(Feature.RANDOM_SELECTOR, new RandomFeatureConfiguration(ImmutableList.of(new WeightedPlacedFeature(PlacementUtils.inlinePlaced(features.getOrThrow(VANILLA_OAK_TREE)), 0.15F), new WeightedPlacedFeature(PlacementUtils.inlinePlaced(features.getOrThrow(VANILLA_BIRCH_TREE)), 0.15F), new WeightedPlacedFeature(PlacementUtils.inlinePlaced(features.getOrThrow(LARGE_RAINBOW_OAK_TREE)), 0.1F)), PlacementUtils.inlinePlaced(features.getOrThrow(RAINBOW_OAK_TREE)))));
context.register(ENCHANTED_FOREST_TREES, new ConfiguredFeature<>(Feature.RANDOM_SELECTOR, new RandomFeatureConfiguration(ImmutableList.of(new WeightedPlacedFeature(PlacementUtils.inlinePlaced(features.getOrThrow(VANILLA_OAK_TREE)), 0.15F), new WeightedPlacedFeature(PlacementUtils.inlinePlaced(features.getOrThrow(VANILLA_BIRCH_TREE)), 0.15F), new WeightedPlacedFeature(PlacementUtils.inlinePlaced(features.getOrThrow(LARGE_RAINBOW_OAK_TREE)), 0.15F)), PlacementUtils.inlinePlaced(features.getOrThrow(RAINBOW_OAK_TREE)))));
context.register(SNOWY_FOREST_TREES, new ConfiguredFeature<>(Feature.RANDOM_SELECTOR, new RandomFeatureConfiguration(ImmutableList.of(new WeightedPlacedFeature(PlacementUtils.inlinePlaced(features.getOrThrow(MEGA_SPRUCE_TREE)), 0.33F), new WeightedPlacedFeature(PlacementUtils.inlinePlaced(features.getOrThrow(LARGE_WINTER_TREE)), 0.125F)), PlacementUtils.inlinePlaced(features.getOrThrow(SNOWY_SPRUCE_TREE)))));
context.register(VANILLA_TF_TREES, new ConfiguredFeature<>(Feature.RANDOM_SELECTOR, new RandomFeatureConfiguration(ImmutableList.of(new WeightedPlacedFeature(PlacementUtils.inlinePlaced(features.getOrThrow(VANILLA_BIRCH_TREE)), 0.25F), new WeightedPlacedFeature(PlacementUtils.inlinePlaced(features.getOrThrow(VANILLA_OAK_TREE)), 0.25F)), PlacementUtils.inlinePlaced(features.getOrThrow(TWILIGHT_OAK_TREE)))));
context.register(VANILLA_TF_BIG_MUSH, new ConfiguredFeature<>(Feature.RANDOM_BOOLEAN_SELECTOR, new RandomBooleanFeatureConfiguration(PlacementUtils.inlinePlaced(features.getOrThrow(TreeFeatures.HUGE_RED_MUSHROOM)), PlacementUtils.inlinePlaced(features.getOrThrow(TreeFeatures.HUGE_BROWN_MUSHROOM)))));
Expand Down
Loading

0 comments on commit b6a0197

Please sign in to comment.