类 SurfaceRules.Context
java.lang.Object
net.minecraft.world.level.levelgen.SurfaceRules.Context
- 封闭类:
SurfaceRules
-
嵌套类概要
嵌套类修饰符和类型类说明(专用程序包) final class
(专用程序包) static final class
(专用程序包) static class
(专用程序包) static class
-
字段概要
字段修饰符和类型字段说明(专用程序包) final SurfaceRules.Condition
(专用程序包) int
(专用程序包) int
(专用程序包) int
(专用程序包) final ChunkAccess
(专用程序包) final WorldGenerationContext
(专用程序包) final SurfaceRules.Condition
private static final int
private long
private long
private long
(专用程序包) long
(专用程序包) long
private int
private final NoiseChunk
(专用程序包) final BlockPos.MutableBlockPos
private final int[]
(专用程序包) final RandomState
(专用程序包) final SurfaceRules.Condition
(专用程序包) int
(专用程序包) int
private static final int
private static final int
private static final int
(专用程序包) int
private double
(专用程序包) final SurfaceSystem
(专用程序包) final SurfaceRules.Condition
(专用程序包) int
-
构造器概要
构造器限定符构造器说明protected
Context
(SurfaceSystem p_224616_, RandomState p_224617_, ChunkAccess p_224618_, NoiseChunk p_224619_, Function<BlockPos, Holder<Biome>> p_224620_, Registry<Biome> p_224621_, WorldGenerationContext p_224622_) -
方法概要
修饰符和类型方法说明private static int
blockCoordToSurfaceCell
(int p_198281_) protected int
int
protected double
private static int
surfaceCellToBlockCoord
(int p_198283_) protected void
updateXZ
(int p_189570_, int p_189571_) protected void
updateY
(int p_189577_, int p_189578_, int p_189579_, int p_189580_, int p_189581_, int p_189582_)
-
字段详细资料
-
HOW_FAR_BELOW_PRELIMINARY_SURFACE_LEVEL_TO_BUILD_SURFACE
private static final int HOW_FAR_BELOW_PRELIMINARY_SURFACE_LEVEL_TO_BUILD_SURFACE- 另请参阅:
-
SURFACE_CELL_BITS
private static final int SURFACE_CELL_BITS- 另请参阅:
-
SURFACE_CELL_SIZE
private static final int SURFACE_CELL_SIZE- 另请参阅:
-
SURFACE_CELL_MASK
private static final int SURFACE_CELL_MASK- 另请参阅:
-
system
-
temperature
-
steep
-
hole
-
abovePreliminarySurface
-
randomState
-
chunk
-
noiseChunk
-
biomeGetter
-
context
-
lastPreliminarySurfaceCellOrigin
private long lastPreliminarySurfaceCellOrigin -
preliminarySurfaceCache
private final int[] preliminarySurfaceCache -
lastUpdateXZ
long lastUpdateXZ -
blockX
int blockX -
blockZ
int blockZ -
surfaceDepth
int surfaceDepth -
lastSurfaceDepth2Update
private long lastSurfaceDepth2Update -
surfaceSecondary
private double surfaceSecondary -
lastMinSurfaceLevelUpdate
private long lastMinSurfaceLevelUpdate -
minSurfaceLevel
private int minSurfaceLevel -
lastUpdateY
long lastUpdateY -
pos
-
biome
-
blockY
int blockY -
waterHeight
int waterHeight -
stoneDepthBelow
int stoneDepthBelow -
stoneDepthAbove
int stoneDepthAbove
-
-
构造器详细资料
-
Context
protected Context(SurfaceSystem p_224616_, RandomState p_224617_, ChunkAccess p_224618_, NoiseChunk p_224619_, Function<BlockPos, Holder<Biome>> p_224620_, Registry<Biome> p_224621_, WorldGenerationContext p_224622_)
-
-
方法详细资料
-
updateXZ
protected void updateXZ(int p_189570_, int p_189571_) -
updateY
protected void updateY(int p_189577_, int p_189578_, int p_189579_, int p_189580_, int p_189581_, int p_189582_) -
getSurfaceSecondary
protected double getSurfaceSecondary() -
getSeaLevel
public int getSeaLevel() -
blockCoordToSurfaceCell
private static int blockCoordToSurfaceCell(int p_198281_) -
surfaceCellToBlockCoord
private static int surfaceCellToBlockCoord(int p_198283_) -
getMinSurfaceLevel
protected int getMinSurfaceLevel()
-