Describes where the script event originated from.

Enumeration Members

Enumeration Members

Block: "Block"

Remarks

The script event originated from a Block such as a Command Block.

Entity: "Entity"

Remarks

The script event originated from an Entity such as a Player, Command Block Minecart or Animation Controller.

NPCDialogue: "NPCDialogue"

Remarks

The script event originated from an NPC dialogue.

Server: "Server"

Remarks

The script event originated from the server, such as from a runCommand API call or a dedicated server console.