Class WorldMetadata
Stores persistent metadata for a world.
public sealed class WorldMetadata
- Inheritance
-
WorldMetadata
- Inherited Members
Properties
BoundsMode
Gets the world bounds interpretation mode used by higher-level systems.
public WorldBoundsMode BoundsMode { get; init; }
Property Value
ChunkFormatVersion
Gets the version number of the chunk payload format expected by this world.
public int ChunkFormatVersion { get; init; }
Property Value
ChunkHeight
Gets the chunk height that persisted content was authored against.
public int ChunkHeight { get; init; }
Property Value
ChunkWidth
Gets the chunk width that persisted content was authored against.
public int ChunkWidth { get; init; }
Property Value
GeneratorId
Gets the generator identifier associated with this world's terrain layout.
public string GeneratorId { get; init; }
Property Value
GeneratorVersion
Gets the version number of the generator implementation associated with this world.
public int GeneratorVersion { get; init; }
Property Value
MaxTileY
Gets the optional inclusive maximum tile Y coordinate allowed by the world.
public int? MaxTileY { get; init; }
Property Value
- int?
Remarks
When null, the world has no enforced lower vertical boundary.
MinTileY
Gets the optional inclusive minimum tile Y coordinate allowed by the world.
public int? MinTileY { get; init; }
Property Value
- int?
Remarks
When null, the world has no enforced upper vertical boundary.
Name
Gets the display name of the world.
public string Name { get; init; }
Property Value
Seed
Gets the seed value associated with world generation.
public int Seed { get; init; }
Property Value
SpawnTile
Gets the default spawn tile coordinate for new players or tools.
public Int2 SpawnTile { get; init; }
Property Value
WorldFormatVersion
Gets the version number of the world metadata format.
public int WorldFormatVersion { get; init; }
Property Value
WorldId
Gets the stable identifier used to associate persisted data with this world.
public string WorldId { get; init; }
Property Value
WorldTime
Gets the persisted world time counter.
public long WorldTime { get; init; }