Bedrock Energistics Core
    Preparing search index...

    Class RegisteredMachineBeta

    Representation of a machine definition that has been registered.

    Index

    Properties

    uiElements: undefined | MachineUiElements

    The UI elements of this machine.

    Accessors

    • get maxStorage(): number
      Beta

      Returns number

      The max amount of each storage type in this machine.

    • get persistentEntity(): boolean
      Beta

      Returns boolean

      Whether this machine has a persistent entity or not

    Methods

    • Beta

      Get a registered machine by its ID or throw an error if it doesn't exist.

      Parameters

      • id: string

        The ID of the machine to get.

      Returns Promise<RegisteredMachine>

      The registered machine.

      Throws if the machine does not exist in the registry.