Uses of Class
net.minecraft.world.gen.feature.TreeFeatureConfig
Package
Description
-
Uses of TreeFeatureConfig in net.minecraft.block.sapling
Modifier 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
Modifier and TypeFieldDescriptionstatic ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.ACACIA
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.AZALEA_TREE
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.BIRCH
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.BIRCH_BEES_0002
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.BIRCH_BEES_002
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.BIRCH_BEES_005
static com.mojang.serialization.Codec<TreeFeatureConfig>
TreeFeatureConfig.CODEC
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.DARK_OAK
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.FANCY_OAK
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.FANCY_OAK_BEES_0002
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.FANCY_OAK_BEES_002
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.FANCY_OAK_BEES_005
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.JUNGLE_BUSH
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.JUNGLE_TREE
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.JUNGLE_TREE_NO_VINE
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.MEGA_JUNGLE_TREE
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.MEGA_PINE
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.MEGA_SPRUCE
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.OAK
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.OAK_BEES_0002
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.OAK_BEES_002
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.OAK_BEES_005
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.PINE
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.SPRUCE
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.SUPER_BIRCH_BEES_0002
static ConfiguredFeature<TreeFeatureConfig,?>
ConfiguredFeatures.SWAMP_OAK
static Feature<TreeFeatureConfig>
Feature.TREE
Modifier and TypeMethodDescriptionTreeFeatureConfig.Builder.build()
TreeFeatureConfig.setTreeDecorators(List<TreeDecorator> decorators)
Modifier and TypeMethodDescriptionprivate boolean
TreeFeature.generate(StructureWorldAccess world, Random random, BlockPos pos, BiConsumer<BlockPos,BlockState> biConsumer, BiConsumer<BlockPos,BlockState> biConsumer2, TreeFeatureConfig treeFeatureConfig)
private int
TreeFeature.getTopPosition(TestableWorld world, int height, BlockPos pos, TreeFeatureConfig config)
Modifier and TypeMethodDescriptionboolean
TreeFeature.generate(FeatureContext<TreeFeatureConfig> context)
ModifierConstructorDescriptionTreeFeature(com.mojang.serialization.Codec<TreeFeatureConfig> configCodec)
-
Uses of TreeFeatureConfig in net.minecraft.world.gen.foliage
Modifier and TypeMethodDescriptionprotected void
AcaciaFoliagePlacer.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 void
BlobFoliagePlacer.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 void
BushFoliagePlacer.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 void
DarkOakFoliagePlacer.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.void
FoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius)
protected abstract void
FoliagePlacer.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 void
JungleFoliagePlacer.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 void
LargeOakFoliagePlacer.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 void
MegaPineFoliagePlacer.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 void
PineFoliagePlacer.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 void
RandomSpreadFoliagePlacer.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 void
SpruceFoliagePlacer.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 void
FoliagePlacer.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.int
AcaciaFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config)
int
BlobFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config)
int
DarkOakFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config)
abstract int
FoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config)
int
JungleFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config)
int
MegaPineFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config)
int
PineFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config)
int
RandomSpreadFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config)
int
SpruceFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config)
protected static void
FoliagePlacer.placeFoliageBlock(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, TreeFeatureConfig config, BlockPos pos)
-
Uses of TreeFeatureConfig in net.minecraft.world.gen.trunk
Modifier 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 boolean
TrunkPlacer.getAndSetState(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config)
protected static boolean
TrunkPlacer.getAndSetState(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config, Function<BlockState,BlockState> stateProvider)
private void
LargeOakTrunkPlacer.makeBranches(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, int treeHeight, BlockPos startPos, List<LargeOakTrunkPlacer.BranchPosition> branchPositions, TreeFeatureConfig config)
private boolean
LargeOakTrunkPlacer.makeOrCheckBranch(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos startPos, BlockPos branchPos, boolean make, TreeFeatureConfig config)
private static void
GiantTrunkPlacer.setLog(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos.Mutable pos, TreeFeatureConfig config, BlockPos startPos, int x, int y, int z)
protected static void
TrunkPlacer.setToDirt(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config)
protected static void
TrunkPlacer.trySetState(TestableWorld world, BiConsumer<BlockPos,BlockState> replacer, Random random, BlockPos.Mutable pos, TreeFeatureConfig config)