版本:Beta ⚠️(未翻译)
Npc Interact Event
弃用警告
此 入口 已被标记为弃用,并将在未来的版本中移除。
建议的解决方案: Use the EntityAdapter instead
The NPC Interact Event
is fired when a player interacts with an NPC.
How could this be used?
This can be used to create a variety of interactions that can occur between an NPC and a player. For example, you could create an NPC that gives the player an item when they interact with it.
Fields
Triggers
必填列表Identifier
必填The NPC that needs to be interacted with.