Package net.minestom.server.world
Interface DimensionType
- All Superinterfaces:
net.minestom.server.registry.ProtocolObject
public sealed interface DimensionType
extends net.minestom.server.registry.ProtocolObject
https://minecraft.wiki/w/Custom_dimension
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DynamicRegistry.Key<DimensionType> static final DynamicRegistry.Key<DimensionType> static final DynamicRegistry.Key<DimensionType> static final DynamicRegistry.Key<DimensionType> static final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionfloatbooleanbedWorks()static @NotNull DimensionType.Builderbuilder()doublestatic @NotNull DynamicRegistry<DimensionType> Creates a new registry for dimension types, loading the vanilla dimension types.@NotNull Stringeffects()@Nullable LongbooleanbooleanhasRaids()booleanintheight()@NotNull Stringintdefault intmaxY()intminY()booleannatural()booleanbooleandefault intbooleanMethods inherited from interface net.minestom.server.registry.ProtocolObject
registry
-
Field Details
-
VANILLA_MIN_Y
static final int VANILLA_MIN_Y- See Also:
-
VANILLA_MAX_Y
static final int VANILLA_MAX_Y- See Also:
-
THE_END
-
OVERWORLD_CAVES
-
THE_NETHER
-
OVERWORLD
-
-
Method Details
-
builder
-
createDefaultRegistry
Creates a new registry for dimension types, loading the vanilla dimension types.
- See Also:
-
ultrawarm
boolean ultrawarm() -
natural
boolean natural() -
coordinateScale
double coordinateScale() -
hasSkylight
boolean hasSkylight() -
hasCeiling
boolean hasCeiling() -
ambientLight
float ambientLight() -
fixedTime
-
piglinSafe
boolean piglinSafe() -
bedWorks
boolean bedWorks() -
respawnAnchorWorks
boolean respawnAnchorWorks() -
hasRaids
boolean hasRaids() -
logicalHeight
int logicalHeight() -
minY
int minY() -
maxY
default int maxY() -
height
int height() -
infiniburn
-
effects
-
totalHeight
default int totalHeight()
-