Bedrock Energistics Core
    Preparing search index...

    Function spawnMachineEntity

    • Spawns the machine entity for the machine at the specified location, if it doesn't already exist.

      Parameters

      • block: Block

        The machine.

      Returns Promise<Entity>

      The new entity or the one that was already there.

      Throws if the machine does not exist in the registry.