DimensionTypeBuilder
Functions
Sets the ambientLight
property of this DimensionType.
Sets the coordinateScale
property of this DimensionType, which determines the multiplier applied to the coordinates when leaving the dimension. (e.g. 8.0 for the nether)
Sets the fixedTime
property of this DimensionType. If this is set the tick time of any level of this dimension type will be fixed to the given value. To revert it back to null
use noFixedTime.
Sets the hasCeiling
property of this DimensionType, which determines if this dimension type has a bedrock ceiling (like the nether). Please note that this property won't actually lead to a bedrock ceiling being generated. It's only used to handle other gameplay mechanics like mob spawning or maps.
Sets the hasSkyLight
property of this DimensionType, which determines if this dimension type has a sky light source.
Sets the infiniBurn
property of this DimensionType, which determines the tag of blocks that will burn infinitely. (For example netherrack and magma blocks in the overworld). Minecraft ships the following default tags:
Sets the logicalHeight
property of this DimensionType, which determines the max y level a player can be teleported to by chorus fruits and nether portals. Can't be higher than the height
property.
Sets the MonsterSettings of this DimensionType using a MonsterSettingsBuilder.
Sets the MonsterSettings of this DimensionType. For more information check out the MonsterSettingsBuilder
Sets the fixedTime
property of this DimensionType to null
and thus re-enables a normal day/light cycle.
Sets the respawnAnchorWorks
property of this DimensionType, which will lead to respawn anchors blowing up when trying to use them if set to false
.