Skip to content

Commit

Permalink
re-enabled all trees
Browse files Browse the repository at this point in the history
  • Loading branch information
Uraneptus committed Aug 31, 2024
1 parent ed6550b commit 08cdf3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"type": "sullysmod:petrified_tree",
"config": {
"structure_variants": [
"sullysmod:petrified/petrified_tree_2"
"sullysmod:petrified/petrified_tree_0",
"sullysmod:petrified/petrified_tree_1",
"sullysmod:petrified/petrified_tree_2",
"sullysmod:petrified/petrified_tree_3"
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class SMConfiguredFeaturesProvider {
public static void create(BootstapContext<ConfiguredFeature<?, ?>> context) {
register(context, SMFeatureDefinitions.CONFIGURED_JADE_ORE, () -> addOreConfig(JADE_ORE_TARGET_LIST, 10));
register(context, SMFeatureDefinitions.CONFIGURED_PETRIFIED_TREE_SMALL, () -> addTreeConfig(new TreeConfiguration.TreeConfigurationBuilder(BlockStateProvider.simple(SMBlocks.PETRIFIED_LOG.get()), new FancyTrunkPlacer(3, 11, 0), BlockStateProvider.simple(Blocks.AIR), new FancyFoliagePlacer(ConstantInt.of(2), ConstantInt.of(4), 4), new TwoLayersFeatureSize(0, 0, 0, OptionalInt.of(4))).decorators(ImmutableList.of(new PetrifiedTreeGravelDecorator()))));
register(context, SMFeatureDefinitions.CONFIGURED_PETRIFIED_TREE, () -> new ConfiguredFeature<>(SMFeatures.PETRIFIED_TREE.get(), new PetrifiedTreeConfig(List.of(/*SullysMod.modPrefix("petrified/petrified_tree_0"), SullysMod.modPrefix("petrified/petrified_tree_1"), */SullysMod.modPrefix("petrified/petrified_tree_2")/*, SullysMod.modPrefix("petrified/petrified_tree_3")*/))));
register(context, SMFeatureDefinitions.CONFIGURED_PETRIFIED_TREE, () -> new ConfiguredFeature<>(SMFeatures.PETRIFIED_TREE.get(), new PetrifiedTreeConfig(List.of(SullysMod.modPrefix("petrified/petrified_tree_0"), SullysMod.modPrefix("petrified/petrified_tree_1"), SullysMod.modPrefix("petrified/petrified_tree_2"), SullysMod.modPrefix("petrified/petrified_tree_3")))));
register(context, SMFeatureDefinitions.CONFIGURED_ARTIFACT_GRAVEL, () -> new ConfiguredFeature<>(SMFeatures.ARTIFACT_GRAVEL.get(), new SimpleBlockConfiguration(BlockStateProvider.simple(Blocks.SUSPICIOUS_GRAVEL))));
}

Expand Down

0 comments on commit 08cdf3e

Please sign in to comment.