net.minecraft.world.gen.surfacebuilder

public final class MaterialRules$MaterialRuleContext

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
field_36274
field_36274
private static final int
SURFACE_CELL_BITS
field_36275
field_36275
private static final int
SURFACE_CELL_SIZE
field_36276
field_36276
private static final int
SURFACE_CELL_MASK
field_36277
field_36277
private final SurfaceBuilder
system
field_35233
surfaceBuilder
private final MaterialRules$BooleanSupplier
temperature
field_35234
biomeTemperaturePredicate
private final MaterialRules$BooleanSupplier
steep
field_35235
steepSlopePredicate
private final MaterialRules$BooleanSupplier
hole
field_35236
negativeRunDepthPredicate
private final MaterialRules$BooleanSupplier
abovePreliminarySurface
field_35604
surfacePredicate
private final NoiseConfig
randomState
field_37703
noiseConfig
private final Chunk
chunk
field_35605
chunk
private final ChunkNoiseSampler
noiseChunk
field_35676
chunkNoiseSampler
private final Function<BlockPos, RegistryEntry<Biome>>
biomeGetter
field_35606
posToBiome
private final HeightContext
context
field_35241
heightContext
private long
lastPreliminarySurfaceCellOrigin
field_36278
packedChunkPos
private final int[]
preliminarySurfaceCache
field_36279
estimatedSurfaceHeights
private long
lastUpdateXZ
field_35608
uniqueHorizontalPosValue
private int
blockX
field_35609
blockX
private int
blockZ
field_35610
blockZ
private int
surfaceDepth
field_35611
runDepth
private long
lastSurfaceDepth2Update
field_35677
field_35677
private double
surfaceSecondary
field_35678
secondaryDepth
private long
lastMinSurfaceLevelUpdate
field_35679
field_35679
private int
minSurfaceLevel
field_35616
surfaceMinY
private long
lastUpdateY
field_35612
uniquePosValue
private final BlockPos$Mutable
pos
field_35613
pos
private Supplier<RegistryEntry<Biome>>
biome
field_35614
biomeSupplier
private int
blockY
field_35617
blockY
private int
waterHeight
field_35618
fluidHeight
private int
stoneDepthBelow
field_35619
stoneDepthBelow
private int
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)
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)
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()
method_39550()
getSecondaryDepth()
public int
getSeaLevel()
method_61804()
getSeaLevel()
private static int
blockCoordToSurfaceCell(int blockCoord)
method_39903(int arg0)
blockToChunkCoord(int blockCoord)
private static int
surfaceCellToBlockCoord(int cellCoord)
method_39904(int arg0)
chunkToBlockCoord(int chunkCoord)
protected int
getMinSurfaceLevel()
method_39551()
estimateSurfaceHeight()
private RegistryEntry
lambda$updateY$0(int arg0, int arg1, int arg2)
method_39478(int arg0, int arg1, int arg2)
method_39478(int arg0, int arg1, int arg2)