Uses of Class
net.minecraft.world.gen.feature.TreeFeatureConfig
Packages that use TreeFeatureConfig
Package
Description
-
Uses of TreeFeatureConfig in net.minecraft.block.sapling
Methods in net.minecraft.block.sapling that return types with arguments of type TreeFeatureConfigModifier and TypeMethodDescriptionprotected @Nullable ConfiguredFeature<TreeFeatureConfig,?> DarkOakSaplingGenerator.createLargeTreeFeature(Random random) protected @Nullable ConfiguredFeature<TreeFeatureConfig,?> JungleSaplingGenerator.createLargeTreeFeature(Random random) protected abstract @Nullable ConfiguredFeature<TreeFeatureConfig,?> LargeTreeSaplingGenerator.createLargeTreeFeature(Random random) protected @Nullable ConfiguredFeature<TreeFeatureConfig,?> SpruceSaplingGenerator.createLargeTreeFeature(Random random) protected @Nullable ConfiguredFeature<TreeFeatureConfig,?> AcaciaSaplingGenerator.createTreeFeature(Random random, boolean bees) protected @Nullable ConfiguredFeature<TreeFeatureConfig,?> AzaleaSaplingGenerator.createTreeFeature(Random random, boolean bees) protected @Nullable ConfiguredFeature<TreeFeatureConfig,?> BirchSaplingGenerator.createTreeFeature(Random random, boolean bees) protected @Nullable ConfiguredFeature<TreeFeatureConfig,?> DarkOakSaplingGenerator.createTreeFeature(Random random, boolean bees) protected @Nullable ConfiguredFeature<TreeFeatureConfig,?> JungleSaplingGenerator.createTreeFeature(Random random, boolean bees) protected @Nullable ConfiguredFeature<TreeFeatureConfig,?> OakSaplingGenerator.createTreeFeature(Random random, boolean bees) protected abstract @Nullable ConfiguredFeature<TreeFeatureConfig,?> SaplingGenerator.createTreeFeature(Random random, boolean bees) protected @Nullable ConfiguredFeature<TreeFeatureConfig,?> SpruceSaplingGenerator.createTreeFeature(Random random, boolean bees) -
Uses of TreeFeatureConfig in net.minecraft.world.gen.feature
Fields in net.minecraft.world.gen.feature with type parameters of type TreeFeatureConfigModifier and TypeFieldDescriptionstatic final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.ACACIAstatic final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.AZALEA_TREEstatic final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.BIRCHstatic final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.BIRCH_BEES_0002static final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.BIRCH_BEES_002static final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.BIRCH_BEES_005static final com.mojang.serialization.Codec<TreeFeatureConfig>TreeFeatureConfig.CODECstatic final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.DARK_OAKstatic final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.FANCY_OAKstatic final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.FANCY_OAK_BEES_0002static final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.FANCY_OAK_BEES_002static final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.FANCY_OAK_BEES_005static final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.JUNGLE_BUSHstatic final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.JUNGLE_TREEstatic final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.JUNGLE_TREE_NO_VINEstatic final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.MEGA_JUNGLE_TREEstatic final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.MEGA_PINEstatic final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.MEGA_SPRUCEstatic final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.OAKstatic final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.OAK_BEES_0002static final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.OAK_BEES_002static final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.OAK_BEES_005static final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.PINEstatic final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.SPRUCEstatic final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.SUPER_BIRCH_BEES_0002static final ConfiguredFeature<TreeFeatureConfig,?> ConfiguredFeatures.SWAMP_OAKstatic final Feature<TreeFeatureConfig>Feature.TREEMethods in net.minecraft.world.gen.feature that return TreeFeatureConfigModifier and TypeMethodDescriptionTreeFeatureConfig.Builder.build()TreeFeatureConfig.setTreeDecorators(List<TreeDecorator> decorators) Methods in net.minecraft.world.gen.feature with parameters of type TreeFeatureConfigModifier and TypeMethodDescriptionprivate booleanTreeFeature.generate(StructureWorldAccess world, Random random, BlockPos pos, BiConsumer<BlockPos, BlockState> biConsumer, BiConsumer<BlockPos, BlockState> biConsumer2, TreeFeatureConfig treeFeatureConfig) private intTreeFeature.getTopPosition(TestableWorld world, int height, BlockPos pos, TreeFeatureConfig config) Method parameters in net.minecraft.world.gen.feature with type arguments of type TreeFeatureConfigModifier and TypeMethodDescriptionfinal booleanTreeFeature.generate(FeatureContext<TreeFeatureConfig> context) Constructor parameters in net.minecraft.world.gen.feature with type arguments of type TreeFeatureConfigModifierConstructorDescriptionTreeFeature(com.mojang.serialization.Codec<TreeFeatureConfig> configCodec) -
Uses of TreeFeatureConfig in net.minecraft.world.gen.foliage
Methods in net.minecraft.world.gen.foliage with parameters of type TreeFeatureConfigModifier and TypeMethodDescriptionprotected voidAcaciaFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidBlobFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidBushFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidDarkOakFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.voidFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius) protected abstract voidFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidJungleFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidLargeOakFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidMegaPineFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidPineFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidRandomSpreadFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidSpruceFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidFoliagePlacer.generateSquare(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, BlockPos centerPos, int radius, int y, boolean giantTrunk) Generates a square of leaves with the given radius.intAcaciaFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config) intBlobFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config) intDarkOakFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config) abstract intFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config) intJungleFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config) intMegaPineFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config) intPineFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config) intRandomSpreadFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config) intSpruceFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config) protected static voidFoliagePlacer.placeFoliageBlock(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, BlockPos pos) -
Uses of TreeFeatureConfig in net.minecraft.world.gen.trunk
Methods in net.minecraft.world.gen.trunk with parameters of type TreeFeatureConfigModifier and TypeMethodDescriptionBendingTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundDarkOakTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundForkingTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundGiantTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundLargeOakTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundMegaJungleTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundStraightTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundabstract List<FoliagePlacer.TreeNode>TrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundprotected static booleanTrunkPlacer.getAndSetState(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) protected static booleanTrunkPlacer.getAndSetState(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config, Function<BlockState, BlockState> stateProvider) private voidLargeOakTrunkPlacer.makeBranches(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int treeHeight, BlockPos startPos, List<LargeOakTrunkPlacer.BranchPosition> branchPositions, TreeFeatureConfig config) private booleanLargeOakTrunkPlacer.makeOrCheckBranch(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos startPos, BlockPos branchPos, boolean make, TreeFeatureConfig config) private static voidGiantTrunkPlacer.setLog(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos.Mutable pos, TreeFeatureConfig config, BlockPos startPos, int x, int y, int z) protected static voidTrunkPlacer.setToDirt(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) protected static voidTrunkPlacer.trySetState(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos.Mutable pos, TreeFeatureConfig config)