Posted June 13, 20232 yr I am creating a simple minecraft mod to help me learn coding but I wanted to create a tree with more than one kind of leaves here is the code of thre actual Tree SUCCINIFERA_LOG is the actual log of the tree meanwhile SUCCINIFERA_LEAVES are the leaves, but I wanted to add FLOWERING_SUCCINIFERA_LEAVES aswell, is there a way to do so? ... public static final RegistryObject<ConfiguredFeature<?,?>> SUCCINIFERA = CONFIGURED_FEATURES.register("succinifera", ()-> new ConfiguredFeature<>(Feature.TREE, new TreeConfiguration.TreeConfigurationBuilder( BlockStateProvider.simple(ModBlocks.SUCCINIFERA_LOG.get()), new ForkingTrunkPlacer( 17, 7, 1), BlockStateProvider.simple(ModBlocks.SUCCINIFERA_LEAVES.get()), new SpruceFoliagePlacer( ConstantInt.of(12), ConstantInt.of(9), ConstantInt.of(13)), new TwoLayersFeatureSize(3, 4, 5)) .build())); ...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.