类 ScatteredFeaturePiece
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.ScatteredFeaturePiece
- 直接已知子类:
DesertPyramidPiece
,JungleTemplePiece
,SwampHutPiece
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.level.levelgen.structure.StructurePiece
StructurePiece.BlockSelector
-
字段概要
字段修饰符和类型字段说明protected final int
protected final int
protected int
protected final int
从类继承的字段 net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
构造器概要
构造器限定符构造器说明protected
ScatteredFeaturePiece
(StructurePieceType p_209920_, int p_209921_, int p_209922_, int p_209923_, int p_209924_, int p_209925_, int p_209926_, Direction p_209927_) protected
ScatteredFeaturePiece
(StructurePieceType p_209929_, CompoundTag p_209930_) -
方法概要
修饰符和类型方法说明protected void
addAdditionalSaveData
(StructurePieceSerializationContext p_192471_, CompoundTag p_192472_) protected boolean
updateAverageGroundHeight
(LevelAccessor p_72804_, BoundingBox p_72805_, int p_72806_) protected boolean
updateHeightPositionToLowestGroundHeight
(LevelAccessor p_192468_, int p_192469_) 从类继承的方法 net.minecraft.world.level.levelgen.structure.StructurePiece
addChildren, canBeReplaced, createBoundingBox, createChest, createChest, createDispenser, createTag, fillColumnDown, findCollisionPiece, generateAirBox, generateBox, generateBox, generateBox, generateBox, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getLocatorPosition, getMirror, getOrientation, getRandomHorizontalDirection, getRotation, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, move, placeBlock, postProcess, reorient, setGenDepth, setOrientation
-
字段详细资料
-
width
protected final int width -
height
protected final int height -
depth
protected final int depth -
heightPosition
protected int heightPosition
-
-
构造器详细资料
-
ScatteredFeaturePiece
protected ScatteredFeaturePiece(StructurePieceType p_209920_, int p_209921_, int p_209922_, int p_209923_, int p_209924_, int p_209925_, int p_209926_, Direction p_209927_) -
ScatteredFeaturePiece
-
-
方法详细资料
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_192471_, CompoundTag p_192472_) - 指定者:
addAdditionalSaveData
在类中StructurePiece
-
updateAverageGroundHeight
protected boolean updateAverageGroundHeight(LevelAccessor p_72804_, BoundingBox p_72805_, int p_72806_) -
updateHeightPositionToLowestGroundHeight
-