Class GiantTrunkPlacer
java.lang.Object
net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer
net.minecraft.world.level.levelgen.feature.trunkplacers.GiantTrunkPlacer
- Direct Known Subclasses:
MegaJungleTrunkPlacer
-
Field Summary
Fields inherited from class net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer
baseHeight, heightRandA, heightRandB, MAX_HEIGHT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
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_) placeTrunk
(LevelSimulatedReader p_161835_, BiConsumer<BlockPos, BlockState> p_161836_, Random p_161837_, int p_161838_, BlockPos p_161839_, TreeConfiguration p_161840_) protected TrunkPlacerType<?>
type()
Methods inherited from class net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer
getTreeHeight, placeLog, placeLog, placeLogIfFree, setDirtAt, trunkPlacerParts
-
Field Details
-
CODEC
-
-
Constructor Details
-
GiantTrunkPlacer
public GiantTrunkPlacer(int p_70165_, int p_70166_, int p_70167_)
-
-
Method Details
-
type
- Specified by:
type
in classTrunkPlacer
-
placeTrunk
public List<FoliagePlacer.FoliageAttachment> placeTrunk(LevelSimulatedReader p_161835_, BiConsumer<BlockPos, BlockState> p_161836_, Random p_161837_, int p_161838_, BlockPos p_161839_, TreeConfiguration p_161840_) - Specified by:
placeTrunk
in classTrunkPlacer
-
placeLogIfFreeWithOffset
private static void 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_)
-