类 StraightTrunkPlacer
java.lang.Object
net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer
net.minecraft.world.level.levelgen.feature.trunkplacers.StraightTrunkPlacer
-
字段概要
字段从类继承的字段 net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer
baseHeight, heightRandA, heightRandB, MAX_HEIGHT
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明placeTrunk
(LevelSimulatedReader p_226147_, BiConsumer<BlockPos, BlockState> p_226148_, RandomSource p_226149_, int p_226150_, BlockPos p_226151_, TreeConfiguration p_226152_) protected TrunkPlacerType
<?> type()
从类继承的方法 net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer
getTreeHeight, isFree, placeLog, placeLog, placeLogIfFree, setDirtAt, trunkPlacerParts, validTreePos
-
字段详细资料
-
CODEC
-
-
构造器详细资料
-
StraightTrunkPlacer
public StraightTrunkPlacer(int p_70248_, int p_70249_, int p_70250_)
-
-
方法详细资料
-
type
- 指定者:
type
在类中TrunkPlacer
-
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_) - 指定者:
placeTrunk
在类中TrunkPlacer
-