Class StraightTrunkPlacer
java.lang.Object
net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer
net.minecraft.world.level.levelgen.feature.trunkplacers.StraightTrunkPlacer
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<StraightTrunkPlacer>Fields inherited from class net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer
baseHeight, heightRandA, heightRandB, MAX_HEIGHT - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionplaceTrunk(LevelSimulatedReader p_226147_, BiConsumer<BlockPos, BlockState> p_226148_, RandomSource p_226149_, int p_226150_, BlockPos p_226151_, TreeConfiguration p_226152_) protected TrunkPlacerType<?>type()Methods inherited from class net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer
getTreeHeight, isFree, placeLog, placeLog, placeLogIfFree, setDirtAt, trunkPlacerParts, validTreePos 
- 
Field Details
- 
CODEC
 
 - 
 - 
Constructor Details
- 
StraightTrunkPlacer
public StraightTrunkPlacer(int p_70248_, int p_70249_, int p_70250_)  
 - 
 - 
Method Details
- 
type
- Specified by:
 typein classTrunkPlacer
 - 
placeTrunk
public List<FoliagePlacer.FoliageAttachment> placeTrunk(LevelSimulatedReader p_226147_, BiConsumer<BlockPos, BlockState> p_226148_, RandomSource p_226149_, int p_226150_, BlockPos p_226151_, TreeConfiguration p_226152_) - Specified by:
 placeTrunkin classTrunkPlacer
 
 -