@minecraft/server
    Preparing search index...

    Class EntityLoadAfterEventSignalBeta

    Registers a script-based event handler for handling what happens when an entity loads.

    Index

    Methods

    • Beta

      Parameters

      Returns (arg0: EntityLoadAfterEvent) => void

      Method to register an event handler for what happens when an entity loads.

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

      This function can be called in early-execution mode.

    • Beta

      Parameters

      • callback: (arg0: EntityLoadAfterEvent) => void

        Original function that was passed into the subscribe event, that is to be unregistered.

      Returns void

      Unregisters a method that was previously subscribed to the subscription event.

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

      This function can be called in early-execution mode.