Class DimensionInfo
Namespace: Void.Minecraft.World
Assembly: Void.Minecraft.dll
Describes dimension fields carried by Java Edition join-game and respawn packets.
public record DimensionInfo : IEquatable<DimensionInfo>Inheritance
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
DimensionInfo(string, string?, bool, bool)
Describes dimension fields carried by Java Edition join-game and respawn packets.
public DimensionInfo(string RegistryIdentifier, string? LevelName, bool IsFlat, bool IsDebugType)Parameters
RegistryIdentifier string
The namespaced identifier of the dimension or dimension type, according to the packet version.
LevelName string?
The optional world or level identifier used by protocol versions that transmit it.
IsFlat bool
Whether the dimension uses flat world generation.
IsDebugType bool
Whether the dimension is a debug world.
Properties
IsDebugType
Whether the dimension is a debug world.
public bool IsDebugType { get; init; }Property Value
IsFlat
Whether the dimension uses flat world generation.
public bool IsFlat { get; init; }Property Value
LevelName
The optional world or level identifier used by protocol versions that transmit it.
public string? LevelName { get; init; }Property Value
RegistryIdentifier
The namespaced identifier of the dimension or dimension type, according to the packet version.
public string RegistryIdentifier { get; init; }