net.minecraft.world.gen.surfacebuilder

public final class MaterialRules$MaterialRuleContext

net.minecraft.world.level.levelgen.SurfaceRules$Context
net.minecraft.world.level.levelgen.SurfaceRules$Context
net.minecraft.class_6686$class_6694
net.minecraft.world.gen.surfacebuilder.MaterialRules$MaterialRuleContext

Field summary

Modifier and TypeField
private static final int
HOW_FAR_BELOW_PRELIMINARY_SURFACE_LEVEL_TO_BUILD_SURFACE
HOW_FAR_BELOW_PRELIMINARY_SURFACE_LEVEL_TO_BUILD_SURFACE
field_36274
field_36274
private static final int
SURFACE_CELL_BITS
SURFACE_CELL_BITS
field_36275
field_36275
private static final int
SURFACE_CELL_SIZE
SURFACE_CELL_SIZE
field_36276
field_36276
private static final int
SURFACE_CELL_MASK
SURFACE_CELL_MASK
field_36277
field_36277
private final SurfaceBuilder
system
system
field_35233
surfaceBuilder
private final MaterialRules$BooleanSupplier
temperature
temperature
field_35234
biomeTemperaturePredicate
private final MaterialRules$BooleanSupplier
steep
steep
field_35235
steepSlopePredicate
private final MaterialRules$BooleanSupplier
hole
hole
field_35236
negativeRunDepthPredicate
private final MaterialRules$BooleanSupplier
abovePreliminarySurface
abovePreliminarySurface
field_35604
surfacePredicate
private final NoiseConfig
randomState
randomState
field_37703
noiseConfig
private final Chunk
chunk
chunk
field_35605
chunk
private final ChunkNoiseSampler
noiseChunk
noiseChunk
field_35676
chunkNoiseSampler
private final Function<BlockPos, RegistryEntry<Biome>>
biomeGetter
biomeGetter
field_35606
posToBiome
private final HeightContext
context
context
field_35241
heightContext
private long
lastPreliminarySurfaceCellOrigin
lastPreliminarySurfaceCellOrigin
field_36278
packedChunkPos
private final int[]
preliminarySurfaceCache
preliminarySurfaceCache
field_36279
estimatedSurfaceHeights
private long
lastUpdateXZ
lastUpdateXZ
field_35608
uniqueHorizontalPosValue
private int
blockX
blockX
field_35609
blockX
private int
blockZ
blockZ
field_35610
blockZ
private int
surfaceDepth
surfaceDepth
field_35611
runDepth
private long
lastSurfaceDepth2Update
lastSurfaceDepth2Update
field_35677
field_35677
private double
surfaceSecondary
surfaceSecondary
field_35678
secondaryDepth
private long
lastMinSurfaceLevelUpdate
lastMinSurfaceLevelUpdate
field_35679
field_35679
private int
minSurfaceLevel
minSurfaceLevel
field_35616
surfaceMinY
private long
lastUpdateY
lastUpdateY
field_35612
uniquePosValue
private final BlockPos$Mutable
pos
pos
field_35613
pos
private Supplier<RegistryEntry<Biome>>
biome
biome
field_35614
biomeSupplier
private int
blockY
blockY
field_35617
blockY
private int
waterHeight
waterHeight
field_35618
fluidHeight
private int
stoneDepthBelow
stoneDepthBelow
field_35619
stoneDepthBelow
private int
stoneDepthAbove
stoneDepthAbove
field_35620
stoneDepthAbove

Constructor summary

ModifierConstructor
protected (SurfaceBuilder surfaceBuilder, NoiseConfig noiseConfig, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Registry<Biome> biomeRegistry, HeightContext heightContext)

Method summary

Modifier and TypeMethod
protected void
updateXZ(int blockX, int blockZ)
updateXZ(int blockX, int blockZ)
method_39072(int arg0, int arg1)
initHorizontalContext(int blockX, int blockZ)
protected void
updateY(int stoneDepthAbove, int stoneDepthBelow, int waterHeight, int blockX, int blockY, int blockZ)
updateY(int stoneDepthAbove, int stoneDepthBelow, int waterHeight, int blockX, int blockY, int blockZ)
method_39073(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
initVerticalContext(int stoneDepthAbove, int stoneDepthBelow, int fluidHeight, int blockX, int blockY, int blockZ)
protected double
getSurfaceSecondary()
getSurfaceSecondary()
method_39550()
getSecondaryDepth()
public int
getSeaLevel()
getSeaLevel()
method_61804()
getSeaLevel()
private static int
blockCoordToSurfaceCell(int blockCoord)
blockCoordToSurfaceCell(int blockCoord)
method_39903(int arg0)
blockToChunkCoord(int blockCoord)
private static int
surfaceCellToBlockCoord(int cellCoord)
surfaceCellToBlockCoord(int cellCoord)
method_39904(int arg0)
chunkToBlockCoord(int chunkCoord)
protected int
getMinSurfaceLevel()
getMinSurfaceLevel()
method_39551()
estimateSurfaceHeight()