Bedrock Energistics Core
    Preparing search index...

    Function destroyMachine

    • Beta

      Destroys the machine at the specified location, removing all data, dropping items stored in the machine, and removing the block and entity.

      Parameters

      • loc: DimensionLocation

        The machine block location.

      Returns Promise<void>

      This will destroy the block and remove the machine entity. If you only want to remove data, use removeMachineData instead.