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