For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/enums/ScriptEventSource.md.

Enumeration: ScriptEventSource

event

Beta

描述脚本事件的来源。

Describes where the script event originated from.

Enumeration Members

Block

Block: "Block"

Beta

Remarks

脚本事件源自方块,例如命令方块。

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


Entity

Entity: "Entity"

Beta

Remarks

脚本事件源自实体,例如玩家、命令方块矿车或动画控制器。

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


NPCDialogue

NPCDialogue: "NPCDialogue"

Beta

Remarks

脚本事件源自 NPC 对话。

The script event originated from an NPC dialogue.


Server

Server: "Server"

Beta

Remarks

脚本事件源自服务器,例如来自 runCommand API 调用或专用服务器控制台。

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

同领域相关