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
World s in this dimension. |
GeneratorType |
getGeneratorType()
Gets the generator type of dimension.
|
int |
getHeight()
Gets the highest naturally generated y-coordinate of
World s 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). |
getContext
DimensionType 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()
World
s in
this dimension. Usually 128 (no sky) or 256 (sky).int getBuildHeight()
World
s in this dimension. Usually 256.