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 TypeMethodDescriptionclass_7390.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundclass_7386.method_43168
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig) class_7387.method_43168
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig) protected void
class_7386.method_43172
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig) protected void
class_7387.method_43172
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig) private void
class_7390.method_43199
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, int int2, TreeFeatureConfig treeFeatureConfig, List<FoliagePlacer.TreeNode> list, BlockPos.Mutable mutable, int int3, Direction direction, int int4, int int5) -
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 RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.ACACIA
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.AZALEA_TREE
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.BIRCH
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.BIRCH_BEES_0002
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.BIRCH_BEES_002
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.BIRCH_BEES_005
static final com.mojang.serialization.Codec<TreeFeatureConfig>
TreeFeatureConfig.CODEC
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.DARK_OAK
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.FANCY_OAK
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.FANCY_OAK_BEES
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.FANCY_OAK_BEES_0002
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.FANCY_OAK_BEES_002
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.FANCY_OAK_BEES_005
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.field_38810
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.field_38811
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.JUNGLE_BUSH
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.JUNGLE_TREE
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.JUNGLE_TREE_NO_VINE
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.MEGA_JUNGLE_TREE
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.MEGA_PINE
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.MEGA_SPRUCE
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.OAK
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.OAK_BEES_0002
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.OAK_BEES_002
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.OAK_BEES_005
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.PINE
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.SPRUCE
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.SUPER_BIRCH_BEES
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.SUPER_BIRCH_BEES_0002
static final RegistryEntry<ConfiguredFeature<TreeFeatureConfig,
?>> TreeConfiguredFeatures.SWAMP_OAK
static final Feature<TreeFeatureConfig>
Feature.TREE
Methods in net.minecraft.world.gen.feature that return TreeFeatureConfigMethods in net.minecraft.world.gen.feature with parameters of type TreeFeatureConfigModifier and TypeMethodDescriptionprivate boolean
TreeFeature.generate
(StructureWorldAccess world, AbstractRandom abstractRandom, BlockPos pos, BiConsumer<BlockPos, BlockState> biConsumer, BiConsumer<BlockPos, BlockState> biConsumer2, BiConsumer<BlockPos, BlockState> biConsumer3, TreeFeatureConfig treeFeatureConfig) private int
TreeFeature.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 boolean
TreeFeature.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 void
AcaciaFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
BlobFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
BushFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
DarkOakFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.void
FoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius) protected abstract void
FoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
JungleFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
LargeOakFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
MegaPineFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
PineFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
RandomSpreadFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
SpruceFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
FoliagePlacer.generateSquare
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, BlockPos centerPos, int radius, int y, boolean giantTrunk) Generates a square of leaves with the given radius.int
AcaciaFoliagePlacer.getRandomHeight
(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) int
BlobFoliagePlacer.getRandomHeight
(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) int
DarkOakFoliagePlacer.getRandomHeight
(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) abstract int
FoliagePlacer.getRandomHeight
(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) int
JungleFoliagePlacer.getRandomHeight
(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) int
MegaPineFoliagePlacer.getRandomHeight
(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) int
PineFoliagePlacer.getRandomHeight
(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) int
RandomSpreadFoliagePlacer.getRandomHeight
(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) int
SpruceFoliagePlacer.getRandomHeight
(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) protected static void
FoliagePlacer.placeFoliageBlock
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, 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, AbstractRandom abstractRandom, 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, AbstractRandom abstractRandom, 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, AbstractRandom abstractRandom, 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, AbstractRandom abstractRandom, 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, AbstractRandom abstractRandom, 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, AbstractRandom abstractRandom, 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, AbstractRandom abstractRandom, 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, AbstractRandom abstractRandom, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundprotected boolean
TrunkPlacer.getAndSetState
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig) protected boolean
TrunkPlacer.getAndSetState
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos blockPos, TreeFeatureConfig treeFeatureConfig, Function<BlockState, BlockState> function) private void
LargeOakTrunkPlacer.makeBranches
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int treeHeight, BlockPos startPos, List<LargeOakTrunkPlacer.BranchPosition> branchPositions, TreeFeatureConfig config) private boolean
LargeOakTrunkPlacer.makeOrCheckBranch
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos startPos, BlockPos branchPos, boolean make, TreeFeatureConfig config) private void
GiantTrunkPlacer.setLog
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos.Mutable mutable, TreeFeatureConfig treeFeatureConfig, BlockPos blockPos, int int2, int int3, int int4) protected static void
TrunkPlacer.setToDirt
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, BlockPos pos, TreeFeatureConfig config) protected void
TrunkPlacer.trySetState
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos.Mutable mutable, TreeFeatureConfig treeFeatureConfig)