类 SpruceFoliagePlacer
java.lang.Object
net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
net.minecraft.world.level.levelgen.feature.foliageplacers.SpruceFoliagePlacer
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
FoliagePlacer.FoliageAttachment, FoliagePlacer.FoliageSetter
-
字段概要
字段修饰符和类型字段说明static final com.mojang.serialization.MapCodec
<SpruceFoliagePlacer> private final IntProvider
从类继承的字段 net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
offset, radius
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected void
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
foliageHeight
(RandomSource p_225740_, int p_225741_, TreeConfiguration p_225742_) protected boolean
shouldSkipLocation
(RandomSource p_225733_, int p_225734_, int p_225735_, int p_225736_, int p_225737_, boolean p_225738_) protected FoliagePlacerType
<?> type()
从类继承的方法 net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
createFoliage, foliagePlacerParts, foliageRadius, placeLeavesRow, placeLeavesRowWithHangingLeavesBelow, shouldSkipLocationSigned, tryPlaceLeaf
-
字段详细资料
-
CODEC
-
trunkHeight
-
-
构造器详细资料
-
SpruceFoliagePlacer
-
-
方法详细资料
-
type
- 指定者:
type
在类中FoliagePlacer
-
createFoliage
protected void 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_) - 指定者:
createFoliage
在类中FoliagePlacer
-
foliageHeight
- 指定者:
foliageHeight
在类中FoliagePlacer
-
shouldSkipLocation
protected boolean shouldSkipLocation(RandomSource p_225733_, int p_225734_, int p_225735_, int p_225736_, int p_225737_, boolean p_225738_) - 指定者:
shouldSkipLocation
在类中FoliagePlacer
-