Add-On Documentation
  • Preparing search index...
  • The search index is not available
8Crafter's Server Utilities API
  • 8Crafter's Server Utilities API
  • @minecraft/server-gametest
  • setAfterBatchCallback

Function setAfterBatchCallback

  • setAfterBatchCallback(batchName: string, batchCallback: () => void): void
    Beta

    Parameters

    • batchName: string

      Name of the batch of tests the callback will run after.

    • batchCallback: () => void

    Returns void

    Remarks

    Sets a callback that is called after the batch gets called. This will overwrite previously set callbacks for this batch.

    This function can't be called in restricted-execution mode.

    This function can be called in early-execution mode.

    Throws

    This function can throw errors.

    GameTestError

    • Defined in ../../../../AppData/Roaming/.minecraft_bedrock/installations/Main Release/packageData/development_behavior_packs/DebugSticksAndScreens/node_modules/@minecraft/server-gametest/index.d.ts:2865

Settings

Member Visibility
Add-On Documentation
8Crafter's Server Utilities API
  • Loading...

Generated using TypeDoc