Script API - v1.19.70
    Preparing search index...

    Class ScriptEventCommandMessageEventBeta

    Returns additional data about a /scriptevent command invocation.

    Index

    Constructors

    Properties

    id: string

    Identifier of this ScriptEvent command message.

    initiator: Entity

    If this command was initiated via an NPC, returns the entity that initiated the NPC dialogue.

    message: string

    Optional additional data passed in with the script event command.

    sourceBlock: Block

    Source block if this command was triggered via a block (e.g., a commandblock.)

    sourceEntity: Entity

    Source entity if this command was triggered by an entity (e.g., a NPC).

    sourceType: MessageSourceType

    Returns the type of source that fired this command.