public interface Dimension extends ContextSource
World.| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsPlayerRespawns()
Returns whether players can respawn within
Dimension after death. |
boolean |
doesWaterEvaporate()
Returns whether water evaporates for
Dimension. |
int |
getBuildHeight()
Gets the maximum y-coordinate a non-air cuboid can exist at of
Worlds in this dimension. |
GeneratorType |
getGeneratorType()
Gets the generator type of dimension.
|
int |
getHeight()
Gets the highest naturally generated y-coordinate of
Worlds in
this dimension. |
int |
getMinimumSpawnHeight()
Returns the minimum spawn height for
Dimension. |
DimensionType |
getType()
Gets the type of dimension.
|
boolean |
hasSky()
Returns whether this
Dimension has a sky (lack of bedrock). |
getContextDimensionType getType()
GeneratorType getGeneratorType()
boolean allowsPlayerRespawns()
Dimension after death.int getMinimumSpawnHeight()
Dimension.boolean doesWaterEvaporate()
Dimension.boolean hasSky()
Dimension has a sky (lack of bedrock).int getHeight()
Worlds in
this dimension. Usually 128 (no sky) or 256 (sky).int getBuildHeight()
Worlds in this dimension. Usually 256.