Script API - v1.26.0.29
    Preparing search index...
    Index

    Constructors

    Methods

    • Parameters

      • entityTypeIdentifier: string
      • armorSlot: number
      • armorName: string
      • armorData: number
      • blockLocation: Vector3
      • OptionalhasArmor: boolean

        Defaults to: true

      Returns void

      This function can't be called in read-only mode.

      This function can throw errors.

      GameTestCompletedError

      GameTestError

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

    • Parameters

      • entityTypeIdentifier: string
      • componentIdentifier: string
      • blockLocation: Vector3
      • OptionalhasComponent: boolean

        Defaults to: true

      Returns void

      This function can't be called in read-only mode.

      This function can throw errors.

      GameTestCompletedError

      GameTestError

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

    • Parameters

      • entityTypeIdentifier: string
      • blockLocation: Vector3
      • OptionalsearchDistance: number
      • OptionalisPresent: boolean

        Defaults to: true

      Returns void

      This function can't be called in read-only mode.

      This function can throw errors.

      GameTestCompletedError

      GameTestError

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

    • Parameters

      • entityTypeIdentifier: string
      • OptionalisPresent: boolean

        Defaults to: true

      Returns void

      This function can't be called in read-only mode.

      This function can throw errors.

      GameTestCompletedError

      GameTestError

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

    • Parameters

      • entityTypeIdentifier: string
      • location: Vector3
      • OptionalisTouching: boolean

        Defaults to: true

      Returns void

      This function can't be called in read-only mode.

      This function can throw errors.

      GameTestCompletedError

      GameTestError

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

    • Parameters

      • itemType: string | ItemType
      • blockLocation: Vector3
      • OptionalsearchDistance: number
      • OptionalisPresent: boolean

        Defaults to: true

      Returns void

      This function can't be called in read-only mode.

      This function can throw errors.

      GameTestCompletedError

      GameTestError

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

    • Parameters

      • errorMessage: string

      Returns void

      This function can't be called in read-only mode.

      This function can throw errors.

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

    • Parameters

      • callback: () => void

      Returns void

      This function can't be called in read-only mode.

      This function can throw errors.

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

    • Parameters

      • tickDelay: number

      Returns Promise<void>

      This function can't be called in read-only mode.

      This function can throw errors.

      GameTestCompletedError

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

    • Returns boolean

      This function can't be called in read-only mode.

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

    • Returns boolean

      This function can't be called in read-only mode.

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

    • Parameters

      • delayTicks: number
      • callback: () => void

      Returns void

      This function can't be called in read-only mode.

      This function can throw errors.

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

    • Parameters

      • tick: number
      • callback: () => void

      Returns void

      This function can't be called in read-only mode.

      This function can throw errors.

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

    • Returns void

      This function can't be called in read-only mode.

      This function can throw errors.

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

    • Parameters

      • callback: () => void

      Returns void

      This function can't be called in read-only mode.

      This function can throw errors.

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

    • Parameters

      • tick: number

      Returns void

      This function can't be called in read-only mode.

      This function can throw errors.

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

    • Parameters

      • tick: number
      • callback: () => void

      Returns void

      This function can't be called in read-only mode.

      This function can throw errors.

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

    • Parameters

      • callback: () => void

      Returns void

      This function can't be called in read-only mode.

      This function can throw errors.

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

    • Parameters

      • entityTypeIdentifier: string
      • componentIdentifier: string
      • blockLocation: Vector3
      • hasComponent: boolean

      Returns void

      This function can't be called in read-only mode.

      This function can throw errors.

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

    • Parameters

      • entityTypeIdentifier: string
      • blockLocation: Vector3
      • OptionalisPresent: boolean

        Defaults to: true

      Returns void

      This function can't be called in read-only mode.

      This function can throw errors.

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

    • Parameters

      • blockLocation: Vector3
      • event: string
      • OptionaleventParameters: number[]

      Returns void

      This function can't be called in read-only mode.

      This function can throw errors.

      GameTestCompletedError

      GameTestError

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

    • Parameters

      • callback: () => void

      Returns Promise<void>

      This function can't be called in read-only mode.

      This function can throw errors.

      GameTestCompletedError

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