Bedrock Energistics Core
    Preparing search index...

    Function getMachineEntity

    • Beta

      Gets the machine entity for the specified block, if it exists.

      Parameters

      • block: Block

        The machine.

      Returns Promise<Entity | undefined>

      The machine entity, or undefined if it doesn't exist.

      Throws if the machine does not exist in the registry.