类 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 pSystem, RandomState pRandomState, ChunkAccess pChunk, NoiseChunk pNoiseChunk, Function<BlockPos, Holder<Biome>> pBiomeGetter, Registry<Biome> p_224621_, WorldGenerationContext pContext) -
方法概要
修饰符和类型方法说明private static int
blockCoordToSurfaceCell
(int pBlockCoord) protected int
protected double
private static int
surfaceCellToBlockCoord
(int pSurfaceCell) protected void
updateXZ
(int pBlockX, int pBlockZ) protected void
updateY
(int pStoneDepthAbove, int pStoneDepthBelow, int pWaterHeight, int pBlockX, int pBlockY, int pBlockZ)
-
字段详细资料
-
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 pSystem, RandomState pRandomState, ChunkAccess pChunk, NoiseChunk pNoiseChunk, Function<BlockPos, Holder<Biome>> pBiomeGetter, Registry<Biome> p_224621_, WorldGenerationContext pContext)
-
-
方法详细资料
-
updateXZ
protected void updateXZ(int pBlockX, int pBlockZ) -
updateY
protected void updateY(int pStoneDepthAbove, int pStoneDepthBelow, int pWaterHeight, int pBlockX, int pBlockY, int pBlockZ) -
getSurfaceSecondary
protected double getSurfaceSecondary() -
blockCoordToSurfaceCell
private static int blockCoordToSurfaceCell(int pBlockCoord) -
surfaceCellToBlockCoord
private static int surfaceCellToBlockCoord(int pSurfaceCell) -
getMinSurfaceLevel
protected int getMinSurfaceLevel()
-