Dimension 5.46.0
The vanilla dimension a world is presented as to the client. It decides the sky, fog and light the client renders, the vertical range of chunks sent and the build height of the world.
Cases
END
case ENDNETHER
case NETHEROVERWORLD
case OVERWORLDMethods
fromNetworkId()
public static function fromNetworkId(int $id) : ?selffromString()
public static function fromString(string $name) : ?selfgetCoordinateScale()
public function getCoordinateScale() : intHorizontal coordinate scale relative to the Overworld (1 block in the Nether = 8 blocks in the Overworld).
getDefaultGeneratorName()
public function getDefaultGeneratorName() : stringName of the built-in generator used to create a new world of this dimension.
getMaxY()
public function getMaxY() : intY coordinate above the highest block that may be placed in this dimension (exclusive), same convention as World::Y_MAX.
getMinY()
public function getMinY() : intLowest Y coordinate blocks may be placed at in this dimension (inclusive).
getNetworkId()
public function getNetworkId() : intgetWorldNameSuffix()
public function getWorldNameSuffix() : stringSuffix added to the name of an Overworld world to name its linked world of this dimension, like the vanilla Java server ("world_nether", "world_the_end").
hasSkyLight()
public function hasSkyLight() : boolWhether the dimension receives light from the sky. The Nether and the End don't: their light comes only from blocks.
