Uses of Class
net.minecraft.world.level.levelgen.feature.configurations.TreeConfiguration
Package
Description
-
Uses of TreeConfiguration in net.minecraft.world.level.levelgen.feature
Modifier and TypeMethodDescriptionprivate boolean
TreeFeature.doPlace
(WorldGenLevel p_225258_, RandomSource p_225259_, BlockPos p_225260_, BiConsumer<BlockPos, BlockState> p_225261_, BiConsumer<BlockPos, BlockState> p_225262_, FoliagePlacer.FoliageSetter p_273670_, TreeConfiguration p_225264_) private int
TreeFeature.getMaxFreeTreeHeight
(LevelSimulatedReader p_67216_, int p_67217_, BlockPos p_67218_, TreeConfiguration p_67219_) Modifier and TypeMethodDescriptionfinal boolean
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 final com.mojang.serialization.Codec<TreeConfiguration>
TreeConfiguration.CODEC
-
Uses of TreeConfiguration in net.minecraft.world.level.levelgen.feature.foliageplacers
Modifier and TypeMethodDescriptionprotected void
AcaciaFoliagePlacer.createFoliage
(LevelSimulatedReader p_225499_, FoliagePlacer.FoliageSetter p_273746_, RandomSource p_225501_, TreeConfiguration p_225502_, int p_225503_, FoliagePlacer.FoliageAttachment p_225504_, int p_225505_, int p_225506_, int p_225507_) protected void
BlobFoliagePlacer.createFoliage
(LevelSimulatedReader p_273066_, FoliagePlacer.FoliageSetter p_272716_, RandomSource p_273178_, TreeConfiguration p_272850_, int p_273067_, FoliagePlacer.FoliageAttachment p_273711_, int p_273580_, int p_273511_, int p_273685_) protected void
BushFoliagePlacer.createFoliage
(LevelSimulatedReader p_273251_, FoliagePlacer.FoliageSetter p_273782_, RandomSource p_273626_, TreeConfiguration p_272956_, int p_273384_, FoliagePlacer.FoliageAttachment p_273459_, int p_273161_, int p_272989_, int p_273166_) protected void
CherryFoliagePlacer.createFoliage
(LevelSimulatedReader p_272723_, FoliagePlacer.FoliageSetter p_273410_, RandomSource p_273057_, TreeConfiguration p_273220_, int p_272975_, FoliagePlacer.FoliageAttachment p_273037_, int p_273647_, int p_273700_, int p_273188_) protected void
DarkOakFoliagePlacer.createFoliage
(LevelSimulatedReader p_225558_, FoliagePlacer.FoliageSetter p_273641_, RandomSource p_225560_, TreeConfiguration p_225561_, int p_225562_, FoliagePlacer.FoliageAttachment p_225563_, int p_225564_, int p_225565_, int p_225566_) protected void
FancyFoliagePlacer.createFoliage
(LevelSimulatedReader p_225582_, FoliagePlacer.FoliageSetter p_273184_, RandomSource p_225584_, TreeConfiguration p_225585_, int p_225586_, FoliagePlacer.FoliageAttachment p_225587_, int p_225588_, int p_225589_, int p_225590_) void
FoliagePlacer.createFoliage
(LevelSimulatedReader p_273526_, FoliagePlacer.FoliageSetter p_273018_, RandomSource p_273425_, TreeConfiguration p_273138_, int p_273282_, FoliagePlacer.FoliageAttachment p_272944_, int p_272930_, int p_272727_) protected abstract void
FoliagePlacer.createFoliage
(LevelSimulatedReader p_225613_, FoliagePlacer.FoliageSetter p_273598_, RandomSource p_225615_, TreeConfiguration p_225616_, int p_225617_, FoliagePlacer.FoliageAttachment p_225618_, int p_225619_, int p_225620_, int p_225621_) protected void
MegaJungleFoliagePlacer.createFoliage
(LevelSimulatedReader p_225657_, FoliagePlacer.FoliageSetter p_273447_, RandomSource p_225659_, TreeConfiguration p_225660_, int p_225661_, FoliagePlacer.FoliageAttachment p_225662_, int p_225663_, int p_225664_, int p_225665_) protected void
MegaPineFoliagePlacer.createFoliage
(LevelSimulatedReader p_225678_, FoliagePlacer.FoliageSetter p_273345_, RandomSource p_225680_, TreeConfiguration p_225681_, int p_225682_, FoliagePlacer.FoliageAttachment p_225683_, int p_225684_, int p_225685_, int p_225686_) protected void
PineFoliagePlacer.createFoliage
(LevelSimulatedReader p_225702_, FoliagePlacer.FoliageSetter p_272791_, RandomSource p_225704_, TreeConfiguration p_225705_, int p_225706_, FoliagePlacer.FoliageAttachment p_225707_, int p_225708_, int p_225709_, int p_225710_) protected void
RandomSpreadFoliagePlacer.createFoliage
(LevelSimulatedReader p_225723_, FoliagePlacer.FoliageSetter p_272842_, RandomSource p_225725_, TreeConfiguration p_225726_, int p_225727_, FoliagePlacer.FoliageAttachment p_225728_, int p_225729_, int p_225730_, int p_225731_) protected void
SpruceFoliagePlacer.createFoliage
(LevelSimulatedReader p_225744_, FoliagePlacer.FoliageSetter p_273256_, RandomSource p_225746_, TreeConfiguration p_225747_, int p_225748_, FoliagePlacer.FoliageAttachment p_225749_, int p_225750_, int p_225751_, int p_225752_) int
AcaciaFoliagePlacer.foliageHeight
(RandomSource p_225495_, int p_225496_, TreeConfiguration p_225497_) int
BlobFoliagePlacer.foliageHeight
(RandomSource p_225516_, int p_225517_, TreeConfiguration p_225518_) int
CherryFoliagePlacer.foliageHeight
(RandomSource p_273679_, int p_273336_, TreeConfiguration p_273643_) int
DarkOakFoliagePlacer.foliageHeight
(RandomSource p_225554_, int p_225555_, TreeConfiguration p_225556_) abstract int
FoliagePlacer.foliageHeight
(RandomSource p_225601_, int p_225602_, TreeConfiguration p_225603_) int
MegaJungleFoliagePlacer.foliageHeight
(RandomSource p_225653_, int p_225654_, TreeConfiguration p_225655_) int
MegaPineFoliagePlacer.foliageHeight
(RandomSource p_225674_, int p_225675_, TreeConfiguration p_225676_) int
PineFoliagePlacer.foliageHeight
(RandomSource p_225698_, int p_225699_, TreeConfiguration p_225700_) int
RandomSpreadFoliagePlacer.foliageHeight
(RandomSource p_225719_, int p_225720_, TreeConfiguration p_225721_) int
SpruceFoliagePlacer.foliageHeight
(RandomSource p_225740_, int p_225741_, TreeConfiguration p_225742_) protected void
FoliagePlacer.placeLeavesRow
(LevelSimulatedReader p_225629_, FoliagePlacer.FoliageSetter p_272772_, RandomSource p_225631_, TreeConfiguration p_225632_, BlockPos p_225633_, int p_225634_, int p_225635_, boolean p_225636_) protected final void
FoliagePlacer.placeLeavesRowWithHangingLeavesBelow
(LevelSimulatedReader p_273087_, FoliagePlacer.FoliageSetter p_273225_, RandomSource p_272629_, TreeConfiguration p_272885_, BlockPos p_273412_, int p_272712_, int p_272656_, boolean p_272689_, float p_273464_, float p_273068_) private static boolean
FoliagePlacer.tryPlaceExtension
(LevelSimulatedReader p_277577_, FoliagePlacer.FoliageSetter p_277449_, RandomSource p_277966_, TreeConfiguration p_277897_, float p_277979_, BlockPos p_277833_, BlockPos.MutableBlockPos p_277567_) protected static boolean
FoliagePlacer.tryPlaceLeaf
(LevelSimulatedReader p_273596_, FoliagePlacer.FoliageSetter p_273054_, RandomSource p_272977_, TreeConfiguration p_273040_, BlockPos p_273406_) -
Uses of TreeConfiguration in net.minecraft.world.level.levelgen.feature.rootplacers
Modifier and TypeMethodDescriptionprotected void
MangroveRootPlacer.placeRoot
(LevelSimulatedReader p_225834_, BiConsumer<BlockPos, BlockState> p_225835_, RandomSource p_225836_, BlockPos p_225837_, TreeConfiguration p_225838_) protected void
RootPlacer.placeRoot
(LevelSimulatedReader p_225874_, BiConsumer<BlockPos, BlockState> p_225875_, RandomSource p_225876_, BlockPos p_225877_, TreeConfiguration p_225878_) boolean
MangroveRootPlacer.placeRoots
(LevelSimulatedReader p_225840_, BiConsumer<BlockPos, BlockState> p_225841_, RandomSource p_225842_, BlockPos p_225843_, BlockPos p_225844_, TreeConfiguration p_225845_) abstract boolean
RootPlacer.placeRoots
(LevelSimulatedReader p_225879_, BiConsumer<BlockPos, BlockState> p_225880_, RandomSource p_225881_, BlockPos p_225882_, BlockPos p_225883_, TreeConfiguration p_225884_) -
Uses of TreeConfiguration in net.minecraft.world.level.levelgen.feature.trunkplacers
Modifier and TypeMethodDescriptionprivate FoliagePlacer.FoliageAttachment
CherryTrunkPlacer.generateBranch
(LevelSimulatedReader p_272736_, BiConsumer<BlockPos, BlockState> p_273092_, RandomSource p_273449_, int p_272659_, BlockPos p_273743_, TreeConfiguration p_273027_, Function<BlockState, BlockState> p_273558_, Direction p_273712_, int p_272980_, boolean p_272719_, BlockPos.MutableBlockPos p_273496_) private void
FancyTrunkPlacer.makeBranches
(LevelSimulatedReader p_226100_, BiConsumer<BlockPos, BlockState> p_226101_, RandomSource p_226102_, int p_226103_, BlockPos p_226104_, List<FancyTrunkPlacer.FoliageCoords> p_226105_, TreeConfiguration p_226106_) private boolean
FancyTrunkPlacer.makeLimb
(LevelSimulatedReader p_226108_, BiConsumer<BlockPos, BlockState> p_226109_, RandomSource p_226110_, BlockPos p_226111_, BlockPos p_226112_, boolean p_226113_, TreeConfiguration p_226114_) private void
UpwardsBranchingTrunkPlacer.placeBranch
(LevelSimulatedReader p_226213_, BiConsumer<BlockPos, BlockState> p_226214_, RandomSource p_226215_, int p_226216_, TreeConfiguration p_226217_, List<FoliagePlacer.FoliageAttachment> p_226218_, BlockPos.MutableBlockPos p_226219_, int p_226220_, Direction p_226221_, int p_226222_, int p_226223_) protected boolean
TrunkPlacer.placeLog
(LevelSimulatedReader p_226188_, BiConsumer<BlockPos, BlockState> p_226189_, RandomSource p_226190_, BlockPos p_226191_, TreeConfiguration p_226192_) protected boolean
TrunkPlacer.placeLog
(LevelSimulatedReader p_226176_, BiConsumer<BlockPos, BlockState> p_226177_, RandomSource p_226178_, BlockPos p_226179_, TreeConfiguration p_226180_, Function<BlockState, BlockState> p_226181_) protected void
TrunkPlacer.placeLogIfFree
(LevelSimulatedReader p_226164_, BiConsumer<BlockPos, BlockState> p_226165_, RandomSource p_226166_, BlockPos.MutableBlockPos p_226167_, TreeConfiguration p_226168_) private void
GiantTrunkPlacer.placeLogIfFreeWithOffset
(LevelSimulatedReader p_226130_, BiConsumer<BlockPos, BlockState> p_226131_, RandomSource p_226132_, BlockPos.MutableBlockPos p_226133_, TreeConfiguration p_226134_, BlockPos p_226135_, int p_226136_, int p_226137_, int p_226138_) BendingTrunkPlacer.placeTrunk
(LevelSimulatedReader p_226079_, BiConsumer<BlockPos, BlockState> p_226080_, RandomSource p_226081_, int p_226082_, BlockPos p_226083_, TreeConfiguration p_226084_) CherryTrunkPlacer.placeTrunk
(LevelSimulatedReader p_272827_, BiConsumer<BlockPos, BlockState> p_272650_, RandomSource p_272993_, int p_272990_, BlockPos p_273471_, TreeConfiguration p_273355_) DarkOakTrunkPlacer.placeTrunk
(LevelSimulatedReader p_226086_, BiConsumer<BlockPos, BlockState> p_226087_, RandomSource p_226088_, int p_226089_, BlockPos p_226090_, TreeConfiguration p_226091_) FancyTrunkPlacer.placeTrunk
(LevelSimulatedReader p_226093_, BiConsumer<BlockPos, BlockState> p_226094_, RandomSource p_226095_, int p_226096_, BlockPos p_226097_, TreeConfiguration p_226098_) ForkingTrunkPlacer.placeTrunk
(LevelSimulatedReader p_226116_, BiConsumer<BlockPos, BlockState> p_226117_, RandomSource p_226118_, int p_226119_, BlockPos p_226120_, TreeConfiguration p_226121_) GiantTrunkPlacer.placeTrunk
(LevelSimulatedReader p_226123_, BiConsumer<BlockPos, BlockState> p_226124_, RandomSource p_226125_, int p_226126_, BlockPos p_226127_, TreeConfiguration p_226128_) MegaJungleTrunkPlacer.placeTrunk
(LevelSimulatedReader p_226140_, BiConsumer<BlockPos, BlockState> p_226141_, RandomSource p_226142_, int p_226143_, BlockPos p_226144_, TreeConfiguration p_226145_) StraightTrunkPlacer.placeTrunk
(LevelSimulatedReader p_226147_, BiConsumer<BlockPos, BlockState> p_226148_, RandomSource p_226149_, int p_226150_, BlockPos p_226151_, TreeConfiguration p_226152_) abstract List<FoliagePlacer.FoliageAttachment>
TrunkPlacer.placeTrunk
(LevelSimulatedReader p_226157_, BiConsumer<BlockPos, BlockState> p_226158_, RandomSource p_226159_, int p_226160_, BlockPos p_226161_, TreeConfiguration p_226162_) UpwardsBranchingTrunkPlacer.placeTrunk
(LevelSimulatedReader p_226225_, BiConsumer<BlockPos, BlockState> p_226226_, RandomSource p_226227_, int p_226228_, BlockPos p_226229_, TreeConfiguration p_226230_) protected static void
TrunkPlacer.setDirtAt
(LevelSimulatedReader p_226170_, BiConsumer<BlockPos, BlockState> p_226171_, RandomSource p_226172_, BlockPos p_226173_, TreeConfiguration p_226174_) -
Uses of TreeConfiguration in net.neoforged.neoforge.common.extensions
Modifier and TypeMethodDescriptiondefault boolean
IBlockExtension.onTreeGrow
(BlockState state, LevelReader level, BiConsumer<BlockPos, BlockState> placeFunction, RandomSource randomSource, BlockPos pos, TreeConfiguration config) Called when a tree grows on top of this block and tries to set it to dirt by the trunk placer.default boolean
IBlockStateExtension.onTreeGrow
(LevelReader level, BiConsumer<BlockPos, BlockState> placeFunction, RandomSource randomSource, BlockPos pos, TreeConfiguration config) Called when a tree grows on top of this block and tries to set it to dirt by the trunk placer.