Class WorldGenerationContext
java.lang.Object
net.minecraft.world.level.levelgen.WorldGenerationContext
- Direct Known Subclasses:
PlacementContext
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionWorldGenerationContext(ChunkGenerator generator, LevelHeightAccessor heightAccessor) private -
Method Summary
Modifier and TypeMethodDescriptionintintstatic WorldGenerationContextof(LevelAccessor level) intseaLevel()
-
Field Details
-
minY
private final int minY -
height
private final int height -
seaLevel
private final int seaLevel
-
-
Constructor Details
-
WorldGenerationContext
-
WorldGenerationContext
-
-
Method Details
-
of
-
getMinGenY
public int getMinGenY() -
getGenDepth
public int getGenDepth() -
seaLevel
public int seaLevel()
-