Uses of Class
net.minecraft.world.level.levelgen.feature.configurations.TreeConfiguration
Package
Description
-
Uses of TreeConfiguration in net.minecraft.data.worldgen
Modifier and TypeFieldDescriptionstatic ConfiguredFeature<TreeConfiguration,?>
Features.ACACIA
static ConfiguredFeature<TreeConfiguration,?>
Features.AZALEA_TREE
static ConfiguredFeature<TreeConfiguration,?>
Features.BIRCH
static ConfiguredFeature<TreeConfiguration,?>
Features.BIRCH_BEES_0002
static ConfiguredFeature<TreeConfiguration,?>
Features.BIRCH_BEES_002
static ConfiguredFeature<TreeConfiguration,?>
Features.BIRCH_BEES_005
static ConfiguredFeature<TreeConfiguration,?>
Features.DARK_OAK
static ConfiguredFeature<TreeConfiguration,?>
Features.FANCY_OAK
static ConfiguredFeature<TreeConfiguration,?>
Features.FANCY_OAK_BEES_0002
static ConfiguredFeature<TreeConfiguration,?>
Features.FANCY_OAK_BEES_002
static ConfiguredFeature<TreeConfiguration,?>
Features.FANCY_OAK_BEES_005
static ConfiguredFeature<TreeConfiguration,?>
Features.JUNGLE_BUSH
static ConfiguredFeature<TreeConfiguration,?>
Features.JUNGLE_TREE
static ConfiguredFeature<TreeConfiguration,?>
Features.JUNGLE_TREE_NO_VINE
static ConfiguredFeature<TreeConfiguration,?>
Features.MEGA_JUNGLE_TREE
static ConfiguredFeature<TreeConfiguration,?>
Features.MEGA_PINE
static ConfiguredFeature<TreeConfiguration,?>
Features.MEGA_SPRUCE
static ConfiguredFeature<TreeConfiguration,?>
Features.OAK
static ConfiguredFeature<TreeConfiguration,?>
Features.OAK_BEES_0002
static ConfiguredFeature<TreeConfiguration,?>
Features.OAK_BEES_002
static ConfiguredFeature<TreeConfiguration,?>
Features.OAK_BEES_005
static ConfiguredFeature<TreeConfiguration,?>
Features.PINE
static ConfiguredFeature<TreeConfiguration,?>
Features.SPRUCE
static ConfiguredFeature<TreeConfiguration,?>
Features.SUPER_BIRCH_BEES_0002
static ConfiguredFeature<TreeConfiguration,?>
Features.SWAMP_OAK
-
Uses of TreeConfiguration in net.minecraft.world.level.block.grower
Modifier and TypeMethodDescriptionprotected abstract ConfiguredFeature<TreeConfiguration,?>
AbstractTreeGrower.getConfiguredFeature(Random p_60014_, boolean p_60015_)
protected ConfiguredFeature<TreeConfiguration,?>
AcaciaTreeGrower.getConfiguredFeature(Random p_60018_, boolean p_60019_)
protected ConfiguredFeature<TreeConfiguration,?>
AzaleaTreeGrower.getConfiguredFeature(Random p_155872_, boolean p_155873_)
protected ConfiguredFeature<TreeConfiguration,?>
BirchTreeGrower.getConfiguredFeature(Random p_60022_, boolean p_60023_)
protected ConfiguredFeature<TreeConfiguration,?>
DarkOakTreeGrower.getConfiguredFeature(Random p_60028_, boolean p_60029_)
protected ConfiguredFeature<TreeConfiguration,?>
JungleTreeGrower.getConfiguredFeature(Random p_60034_, boolean p_60035_)
protected ConfiguredFeature<TreeConfiguration,?>
OakTreeGrower.getConfiguredFeature(Random p_60038_, boolean p_60039_)
protected ConfiguredFeature<TreeConfiguration,?>
SpruceTreeGrower.getConfiguredFeature(Random p_60044_, boolean p_60045_)
protected abstract ConfiguredFeature<TreeConfiguration,?>
AbstractMegaTreeGrower.getConfiguredMegaFeature(Random p_60004_)
protected ConfiguredFeature<TreeConfiguration,?>
DarkOakTreeGrower.getConfiguredMegaFeature(Random p_60026_)
protected ConfiguredFeature<TreeConfiguration,?>
JungleTreeGrower.getConfiguredMegaFeature(Random p_60032_)
protected ConfiguredFeature<TreeConfiguration,?>
SpruceTreeGrower.getConfiguredMegaFeature(Random p_60042_)
-
Uses of TreeConfiguration in net.minecraft.world.level.levelgen.feature
Modifier and TypeMethodDescriptionprivate boolean
TreeFeature.doPlace(WorldGenLevel p_160511_, Random p_160512_, BlockPos p_160513_, BiConsumer<BlockPos,BlockState> p_160514_, BiConsumer<BlockPos,BlockState> p_160515_, TreeConfiguration p_160516_)
private int
TreeFeature.getMaxFreeTreeHeight(LevelSimulatedReader p_67216_, int p_67217_, BlockPos p_67218_, TreeConfiguration p_67219_)
Modifier and TypeMethodDescriptionboolean
TreeFeature.place(FeaturePlaceContext<TreeConfiguration> p_160530_)
ModifierConstructorDescriptionTreeFeature(com.mojang.serialization.Codec<TreeConfiguration> p_67201_)
-
Uses of TreeConfiguration in net.minecraft.world.level.levelgen.feature.configurations
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<TreeConfiguration>
TreeConfiguration.CODEC
Modifier and TypeMethodDescriptionTreeConfiguration.TreeConfigurationBuilder.build()
TreeConfiguration.withDecorators(List<TreeDecorator> p_68211_)
-
Uses of TreeConfiguration in net.minecraft.world.level.levelgen.feature.foliageplacers
Modifier and TypeMethodDescriptionprotected void
AcaciaFoliagePlacer.createFoliage(LevelSimulatedReader p_161346_, BiConsumer<BlockPos,BlockState> p_161347_, Random p_161348_, TreeConfiguration p_161349_, int p_161350_, FoliagePlacer.FoliageAttachment p_161351_, int p_161352_, int p_161353_, int p_161354_)
protected void
BlobFoliagePlacer.createFoliage(LevelSimulatedReader p_161360_, BiConsumer<BlockPos,BlockState> p_161361_, Random p_161362_, TreeConfiguration p_161363_, int p_161364_, FoliagePlacer.FoliageAttachment p_161365_, int p_161366_, int p_161367_, int p_161368_)
protected void
BushFoliagePlacer.createFoliage(LevelSimulatedReader p_161374_, BiConsumer<BlockPos,BlockState> p_161375_, Random p_161376_, TreeConfiguration p_161377_, int p_161378_, FoliagePlacer.FoliageAttachment p_161379_, int p_161380_, int p_161381_, int p_161382_)
protected void
DarkOakFoliagePlacer.createFoliage(LevelSimulatedReader p_161387_, BiConsumer<BlockPos,BlockState> p_161388_, Random p_161389_, TreeConfiguration p_161390_, int p_161391_, FoliagePlacer.FoliageAttachment p_161392_, int p_161393_, int p_161394_, int p_161395_)
protected void
FancyFoliagePlacer.createFoliage(LevelSimulatedReader p_161401_, BiConsumer<BlockPos,BlockState> p_161402_, Random p_161403_, TreeConfiguration p_161404_, int p_161405_, FoliagePlacer.FoliageAttachment p_161406_, int p_161407_, int p_161408_, int p_161409_)
void
FoliagePlacer.createFoliage(LevelSimulatedReader p_161414_, BiConsumer<BlockPos,BlockState> p_161415_, Random p_161416_, TreeConfiguration p_161417_, int p_161418_, FoliagePlacer.FoliageAttachment p_161419_, int p_161420_, int p_161421_)
protected abstract void
FoliagePlacer.createFoliage(LevelSimulatedReader p_161422_, BiConsumer<BlockPos,BlockState> p_161423_, Random p_161424_, TreeConfiguration p_161425_, int p_161426_, FoliagePlacer.FoliageAttachment p_161427_, int p_161428_, int p_161429_, int p_161430_)
protected void
MegaJungleFoliagePlacer.createFoliage(LevelSimulatedReader p_161458_, BiConsumer<BlockPos,BlockState> p_161459_, Random p_161460_, TreeConfiguration p_161461_, int p_161462_, FoliagePlacer.FoliageAttachment p_161463_, int p_161464_, int p_161465_, int p_161466_)
protected void
MegaPineFoliagePlacer.createFoliage(LevelSimulatedReader p_161474_, BiConsumer<BlockPos,BlockState> p_161475_, Random p_161476_, TreeConfiguration p_161477_, int p_161478_, FoliagePlacer.FoliageAttachment p_161479_, int p_161480_, int p_161481_, int p_161482_)
protected void
PineFoliagePlacer.createFoliage(LevelSimulatedReader p_161490_, BiConsumer<BlockPos,BlockState> p_161491_, Random p_161492_, TreeConfiguration p_161493_, int p_161494_, FoliagePlacer.FoliageAttachment p_161495_, int p_161496_, int p_161497_, int p_161498_)
protected void
RandomSpreadFoliagePlacer.createFoliage(LevelSimulatedReader p_161512_, BiConsumer<BlockPos,BlockState> p_161513_, Random p_161514_, TreeConfiguration p_161515_, int p_161516_, FoliagePlacer.FoliageAttachment p_161517_, int p_161518_, int p_161519_, int p_161520_)
protected void
SpruceFoliagePlacer.createFoliage(LevelSimulatedReader p_161543_, BiConsumer<BlockPos,BlockState> p_161544_, Random p_161545_, TreeConfiguration p_161546_, int p_161547_, FoliagePlacer.FoliageAttachment p_161548_, int p_161549_, int p_161550_, int p_161551_)
int
AcaciaFoliagePlacer.foliageHeight(Random p_68389_, int p_68390_, TreeConfiguration p_68391_)
int
BlobFoliagePlacer.foliageHeight(Random p_68423_, int p_68424_, TreeConfiguration p_68425_)
int
DarkOakFoliagePlacer.foliageHeight(Random p_68482_, int p_68483_, TreeConfiguration p_68484_)
abstract int
FoliagePlacer.foliageHeight(Random p_68568_, int p_68569_, TreeConfiguration p_68570_)
int
MegaJungleFoliagePlacer.foliageHeight(Random p_68639_, int p_68640_, TreeConfiguration p_68641_)
int
MegaPineFoliagePlacer.foliageHeight(Random p_68673_, int p_68674_, TreeConfiguration p_68675_)
int
PineFoliagePlacer.foliageHeight(Random p_68710_, int p_68711_, TreeConfiguration p_68712_)
int
RandomSpreadFoliagePlacer.foliageHeight(Random p_161533_, int p_161534_, TreeConfiguration p_161535_)
int
SpruceFoliagePlacer.foliageHeight(Random p_68744_, int p_68745_, TreeConfiguration p_68746_)
protected void
FoliagePlacer.placeLeavesRow(LevelSimulatedReader p_161438_, BiConsumer<BlockPos,BlockState> p_161439_, Random p_161440_, TreeConfiguration p_161441_, BlockPos p_161442_, int p_161443_, int p_161444_, boolean p_161445_)
protected static void
FoliagePlacer.tryPlaceLeaf(LevelSimulatedReader p_161432_, BiConsumer<BlockPos,BlockState> p_161433_, Random p_161434_, TreeConfiguration p_161435_, BlockPos p_161436_)
-
Uses of TreeConfiguration in net.minecraft.world.level.levelgen.feature.trunkplacers
Modifier and TypeMethodDescriptionprivate void
FancyTrunkPlacer.makeBranches(LevelSimulatedReader p_161808_, BiConsumer<BlockPos,BlockState> p_161809_, Random p_161810_, int p_161811_, BlockPos p_161812_, List<FancyTrunkPlacer.FoliageCoords> p_161813_, TreeConfiguration p_161814_)
private boolean
FancyTrunkPlacer.makeLimb(LevelSimulatedReader p_161816_, BiConsumer<BlockPos,BlockState> p_161817_, Random p_161818_, BlockPos p_161819_, BlockPos p_161820_, boolean p_161821_, TreeConfiguration p_161822_)
protected static boolean
TrunkPlacer.placeLog(LevelSimulatedReader p_161894_, BiConsumer<BlockPos,BlockState> p_161895_, Random p_161896_, BlockPos p_161897_, TreeConfiguration p_161898_)
protected static boolean
TrunkPlacer.placeLog(LevelSimulatedReader p_161887_, BiConsumer<BlockPos,BlockState> p_161888_, Random p_161889_, BlockPos p_161890_, TreeConfiguration p_161891_, Function<BlockState,BlockState> p_161892_)
protected static void
TrunkPlacer.placeLogIfFree(LevelSimulatedReader p_161875_, BiConsumer<BlockPos,BlockState> p_161876_, Random p_161877_, BlockPos.MutableBlockPos p_161878_, TreeConfiguration p_161879_)
private static void
GiantTrunkPlacer.placeLogIfFreeWithOffset(LevelSimulatedReader p_161842_, BiConsumer<BlockPos,BlockState> p_161843_, Random p_161844_, BlockPos.MutableBlockPos p_161845_, TreeConfiguration p_161846_, BlockPos p_161847_, int p_161848_, int p_161849_, int p_161850_)
BendingTrunkPlacer.placeTrunk(LevelSimulatedReader p_161777_, BiConsumer<BlockPos,BlockState> p_161778_, Random p_161779_, int p_161780_, BlockPos p_161781_, TreeConfiguration p_161782_)
DarkOakTrunkPlacer.placeTrunk(LevelSimulatedReader p_161790_, BiConsumer<BlockPos,BlockState> p_161791_, Random p_161792_, int p_161793_, BlockPos p_161794_, TreeConfiguration p_161795_)
FancyTrunkPlacer.placeTrunk(LevelSimulatedReader p_161801_, BiConsumer<BlockPos,BlockState> p_161802_, Random p_161803_, int p_161804_, BlockPos p_161805_, TreeConfiguration p_161806_)
ForkingTrunkPlacer.placeTrunk(LevelSimulatedReader p_161828_, BiConsumer<BlockPos,BlockState> p_161829_, Random p_161830_, int p_161831_, BlockPos p_161832_, TreeConfiguration p_161833_)
GiantTrunkPlacer.placeTrunk(LevelSimulatedReader p_161835_, BiConsumer<BlockPos,BlockState> p_161836_, Random p_161837_, int p_161838_, BlockPos p_161839_, TreeConfiguration p_161840_)
MegaJungleTrunkPlacer.placeTrunk(LevelSimulatedReader p_161852_, BiConsumer<BlockPos,BlockState> p_161853_, Random p_161854_, int p_161855_, BlockPos p_161856_, TreeConfiguration p_161857_)
StraightTrunkPlacer.placeTrunk(LevelSimulatedReader p_161859_, BiConsumer<BlockPos,BlockState> p_161860_, Random p_161861_, int p_161862_, BlockPos p_161863_, TreeConfiguration p_161864_)
abstract List<FoliagePlacer.FoliageAttachment>
TrunkPlacer.placeTrunk(LevelSimulatedReader p_161868_, BiConsumer<BlockPos,BlockState> p_161869_, Random p_161870_, int p_161871_, BlockPos p_161872_, TreeConfiguration p_161873_)
protected static void
TrunkPlacer.setDirtAt(LevelSimulatedReader p_161881_, BiConsumer<BlockPos,BlockState> p_161882_, Random p_161883_, BlockPos p_161884_, TreeConfiguration p_161885_)