LevelInfo

Informations about a level (world) usually found in level.dat in NBT format.

Members

Structs

GameRule
struct GameRule
Undocumented in source.

Variables

commandsAllowed
bool commandsAllowed;
Undocumented in source.
dayTime
ulong dayTime;
Undocumented in source.
difficulty
ubyte difficulty;

Current difficulty of the world. 0 for peacefully, 1 for easy, 2 for normal and 3 for hard.

gamemode
ubyte gamemode;

Gamemode currently used in the world. 0 for survival, 1 for creative, 2 for adventure and 3 for spectator.

gamerules
GameRule[string] gamerules;
Undocumented in source.
hardcore
bool hardcore;

Indicates whether the world is deleted when the player dies.

name
string name;

Name of the world.

rainTime
uint rainTime;
Undocumented in source.
raining
bool raining;
Undocumented in source.
seed
long seed;

Seed of the world.

spawn
Vector3!int spawn;
Undocumented in source.
thunderTime
uint thunderTime;
Undocumented in source.
thundering
bool thundering;
Undocumented in source.
time
ulong time;
Undocumented in source.

Meta