Uses of Class
net.minecraft.world.gen.feature.TreeFeatureConfig
Packages that use TreeFeatureConfig
Package
Description
The base package for all Minecraft classes.
-
Uses of TreeFeatureConfig in net.minecraft
Methods in net.minecraft with parameters of type TreeFeatureConfigModifier and TypeMethodDescriptionprotected voidclass_8178.generate(TestableWorld world, FoliagePlacer.class_8179 class_8179, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.class_8180.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 aroundintclass_8178.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config) private FoliagePlacer.TreeNodeclass_8180.method_49249(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, Random random, int int2, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig, Function<BlockState, BlockState> function, Direction direction, int int3, boolean bool, BlockPos.Mutable mutable) -
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 com.mojang.serialization.Codec<TreeFeatureConfig>TreeFeatureConfig.CODECstatic final Feature<TreeFeatureConfig>Feature.TREEMethods in net.minecraft.world.gen.feature that return TreeFeatureConfigMethods in net.minecraft.world.gen.feature with parameters of type TreeFeatureConfigModifier and TypeMethodDescriptionprivate booleanTreeFeature.generate(StructureWorldAccess world, Random random, BlockPos pos, BiConsumer<BlockPos, BlockState> rootPlacerReplacer, BiConsumer<BlockPos, BlockState> trunkPlacerReplacer, FoliagePlacer.class_8179 class_8179, TreeFeatureConfig config) 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, FoliagePlacer.class_8179 class_8179, 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, FoliagePlacer.class_8179 class_8179, 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, FoliagePlacer.class_8179 class_8179, 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, FoliagePlacer.class_8179 class_8179, 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, FoliagePlacer.class_8179 class_8179, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius) protected abstract voidFoliagePlacer.generate(TestableWorld world, FoliagePlacer.class_8179 class_8179, 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, FoliagePlacer.class_8179 class_8179, 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, FoliagePlacer.class_8179 class_8179, 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, FoliagePlacer.class_8179 class_8179, 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, FoliagePlacer.class_8179 class_8179, 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, FoliagePlacer.class_8179 class_8179, 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, FoliagePlacer.class_8179 class_8179, 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, FoliagePlacer.class_8179 class_8179, 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 final voidFoliagePlacer.method_49247(TestableWorld testableWorld, FoliagePlacer.class_8179 class_8179, Random random, TreeFeatureConfig treeFeatureConfig, BlockPos blockPos, int int2, int int3, boolean bool, float float2, float float3) protected static booleanFoliagePlacer.placeFoliageBlock(TestableWorld world, FoliagePlacer.class_8179 class_8179, Random random, TreeFeatureConfig config, BlockPos pos) -
Uses of TreeFeatureConfig in net.minecraft.world.gen.root
Methods in net.minecraft.world.gen.root with parameters of type TreeFeatureConfigModifier and TypeMethodDescriptionbooleanMangroveRootPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, BlockPos trunkPos, TreeFeatureConfig config) abstract booleanRootPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, BlockPos trunkPos, TreeFeatureConfig config) protected voidMangroveRootPlacer.placeRoots(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) protected voidRootPlacer.placeRoots(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) -
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 aroundUpwardsBranchingTrunkPlacer.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 aroundprivate voidUpwardsBranchingTrunkPlacer.generateExtraBranch(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, TreeFeatureConfig config, List<FoliagePlacer.TreeNode> nodes, BlockPos.Mutable pos, int yOffset, Direction direction, int length, int steps) protected booleanTrunkPlacer.getAndSetState(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) protected booleanTrunkPlacer.getAndSetState(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config, Function<BlockState, BlockState> function) 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 testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, Random random, BlockPos startPos, BlockPos branchPos, boolean make, TreeFeatureConfig config) private voidGiantTrunkPlacer.setLog(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, Random random, BlockPos.Mutable mutable, TreeFeatureConfig treeFeatureConfig, BlockPos blockPos, int int2, int int3, int int4) protected static voidTrunkPlacer.setToDirt(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) protected voidTrunkPlacer.trySetState(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos.Mutable pos, TreeFeatureConfig config)