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_, BiConsumer<BlockPos, BlockState> p_225263_, 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_, BiConsumer<BlockPos, BlockState> p_225500_, 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_225520_, BiConsumer<BlockPos, BlockState> p_225521_, RandomSource p_225522_, TreeConfiguration p_225523_, int p_225524_, FoliagePlacer.FoliageAttachment p_225525_, int p_225526_, int p_225527_, int p_225528_) protected void
BushFoliagePlacer.createFoliage
(LevelSimulatedReader p_225537_, BiConsumer<BlockPos, BlockState> p_225538_, RandomSource p_225539_, TreeConfiguration p_225540_, int p_225541_, FoliagePlacer.FoliageAttachment p_225542_, int p_225543_, int p_225544_, int p_225545_) protected void
DarkOakFoliagePlacer.createFoliage
(LevelSimulatedReader p_225558_, BiConsumer<BlockPos, BlockState> p_225559_, 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_, BiConsumer<BlockPos, BlockState> p_225583_, 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_225605_, BiConsumer<BlockPos, BlockState> p_225606_, RandomSource p_225607_, TreeConfiguration p_225608_, int p_225609_, FoliagePlacer.FoliageAttachment p_225610_, int p_225611_, int p_225612_) protected abstract void
FoliagePlacer.createFoliage
(LevelSimulatedReader p_225613_, BiConsumer<BlockPos, BlockState> p_225614_, 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_, BiConsumer<BlockPos, BlockState> p_225658_, 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_, BiConsumer<BlockPos, BlockState> p_225679_, 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_, BiConsumer<BlockPos, BlockState> p_225703_, 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_, BiConsumer<BlockPos, BlockState> p_225724_, 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_, BiConsumer<BlockPos, BlockState> p_225745_, 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
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_, BiConsumer<BlockPos, BlockState> p_225630_, RandomSource p_225631_, TreeConfiguration p_225632_, BlockPos p_225633_, int p_225634_, int p_225635_, boolean p_225636_) protected static void
FoliagePlacer.tryPlaceLeaf
(LevelSimulatedReader p_225623_, BiConsumer<BlockPos, BlockState> p_225624_, RandomSource p_225625_, TreeConfiguration p_225626_, BlockPos p_225627_) -
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 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_) 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.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault boolean
IForgeBlock.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
IForgeBlockState.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.