JSPrismarine
    Preparing search index...

    The world manager is responsible level loading, unloading, and general level management.

    Implements

    Index

    Constructors

    Methods

    • Add a provider to the internal providers map.

      Parameters

      • name: string

        the name of the provider CASE SENSITIVE

      • provider: any

        the provider

      Returns void

    • Load a world

      Parameters

      • worldData: WorldData

        the world data including provider key, generator

      • folderName: string

        the name of the folder containing the world

      Returns Promise<World>

    Lifecycle