Interface: ScriptEventReceiveEvent
Data delivered for one received /scriptevent message.
Properties
dimension
readonlydimension:Dimension
Dimension in which the message source was resolved.
id
readonlyid:string
Explicit author-chosen <namespace>:<path> message ID.
message
readonlymessage:string
Payload text; the command supplies an empty string when it is omitted.
position
readonlyposition:Vector3
World-space source position.
sourceBlock
readonlysourceBlock:Block|null
Live sending block, or null for other or unavailable sources.
sourceEntity
readonlysourceEntity:Entity|null
Live sending entity, or null for other or unavailable sources.
sourceEntityId
readonlysourceEntityId:string|null
Stable UUID of the sending entity, even when its live facade is unavailable.
sourceKey
readonlysourceKey:string|null
Stable source key when available.
sourceType
readonlysourceType:ScriptEventSource
Kind of Minecraft source that sent the message.