类 PineFoliagePlacer
java.lang.Object
net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
net.minecraft.world.level.levelgen.feature.foliageplacers.PineFoliagePlacer
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
FoliagePlacer.FoliageAttachment, FoliagePlacer.FoliageSetter
-
字段概要
字段修饰符和类型字段说明static final com.mojang.serialization.MapCodec
<PineFoliagePlacer> private final IntProvider
从类继承的字段 net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
offset, radius
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected void
createFoliage
(LevelSimulatedReader p_225702_, FoliagePlacer.FoliageSetter p_272791_, RandomSource p_225704_, TreeConfiguration p_225705_, int p_225706_, FoliagePlacer.FoliageAttachment p_225707_, int p_225708_, int p_225709_, int p_225710_) int
foliageHeight
(RandomSource p_225698_, int p_225699_, TreeConfiguration p_225700_) int
foliageRadius
(RandomSource p_225688_, int p_225689_) protected boolean
shouldSkipLocation
(RandomSource p_225691_, int p_225692_, int p_225693_, int p_225694_, int p_225695_, boolean p_225696_) protected FoliagePlacerType
<?> type()
从类继承的方法 net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
createFoliage, foliagePlacerParts, placeLeavesRow, placeLeavesRowWithHangingLeavesBelow, shouldSkipLocationSigned, tryPlaceLeaf
-
字段详细资料
-
CODEC
-
height
-
-
构造器详细资料
-
PineFoliagePlacer
-
-
方法详细资料
-
type
- 指定者:
type
在类中FoliagePlacer
-
createFoliage
protected void createFoliage(LevelSimulatedReader p_225702_, FoliagePlacer.FoliageSetter p_272791_, RandomSource p_225704_, TreeConfiguration p_225705_, int p_225706_, FoliagePlacer.FoliageAttachment p_225707_, int p_225708_, int p_225709_, int p_225710_) - 指定者:
createFoliage
在类中FoliagePlacer
-
foliageRadius
- 覆盖:
foliageRadius
在类中FoliagePlacer
-
foliageHeight
- 指定者:
foliageHeight
在类中FoliagePlacer
-
shouldSkipLocation
protected boolean shouldSkipLocation(RandomSource p_225691_, int p_225692_, int p_225693_, int p_225694_, int p_225695_, boolean p_225696_) - 指定者:
shouldSkipLocation
在类中FoliagePlacer
-