SerenityJS
    Preparing search index...

    Interface WorldProperties

    interface WorldProperties {
        difficulty: "normal" | Difficulty | "peaceful" | "easy" | "hard";
        dimensions: Partial<DimensionProperties>[];
        gamemode: Gamemode | "survival" | "creative" | "adventure" | "spectator";
        gamerules: Partial<Record<GameRule, number | boolean>>;
        identifier: string;
        saveInterval: number;
        seed: number;
    }
    Index

    Properties

    difficulty: "normal" | Difficulty | "peaceful" | "easy" | "hard"

    The difficulty of the world.

    dimensions: Partial<DimensionProperties>[]

    The dimension properties of the world.

    gamemode: Gamemode | "survival" | "creative" | "adventure" | "spectator"

    The gamemode of the world.

    gamerules: Partial<Record<GameRule, number | boolean>>

    The gamerules of the world.

    identifier: string

    The identifier of the world.

    saveInterval: number

    The amount of minutes between each save.

    seed: number

    The generation seed of the world.