Class Dimension
java.lang.Object
eu.sculkpowered.server.world.dimension.Dimension
- All Implemented Interfaces:
Registry.Entry
,Keyed
Represents a dimension.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull CompoundBinaryTag
asNBT()
Gets the entry as aCompoundBinaryTag
.static @NotNull Dimension.Builder
int
id()
Gets the id of the entry@NotNull Key
key()
int
int
@NotNull String
name()
Gets the name of the entry.@NotNull Dimension.Builder
-
Field Details
-
OVERWORLD
-
-
Method Details
-
builder
-
toBuilder
-
key
-
name
Description copied from interface:Registry.Entry
Gets the name of the entry.- Specified by:
name
in interfaceRegistry.Entry
- Returns:
- the name of the entry
-
id
public int id()Description copied from interface:Registry.Entry
Gets the id of the entry- Specified by:
id
in interfaceRegistry.Entry
- Returns:
- the id of the entry
-
asNBT
Description copied from interface:Registry.Entry
Gets the entry as aCompoundBinaryTag
.- Specified by:
asNBT
in interfaceRegistry.Entry
- Returns:
- the entry as a
CompoundBinaryTag
-
minimumSections
public int minimumSections() -
maximumSections
public int maximumSections()
-