Bedrock Energistics Core
    Preparing search index...

    Class RegisteredStorageTypeBeta

    A registered storage type definition.

    Implements

    Index

    Accessors

    Methods

    • Beta

      Get all registered storage type IDs.

      Returns Promise<string[]>

      An array containing all registered storage type IDs.

    • Beta

      Get a storage type registered by this pack by its ID.

      Parameters

      • id: string

        The ID of the storage type to get.

      Returns RegisteredStorageType | undefined

      The registered storage type, or undefined if it does not exist.

      This will only include storage types that have been registered by this pack. If a storage type registered by this pack has been overriden by another pack, this will return the original version registered by this pack. Use RegisteredStorageType.get to get storage types registered by any pack.

    • Beta

      Get all storage type IDs registered by this pack.

      Returns string[]

      An array containing all local registered storage type IDs.

      This will only include storage types that have been registered by this pack. Use RegisteredStorageType.getAllIds to get storage types registered by any pack.