Files
netease-modsdk-wiki/docs/mcdocs/1-ModAPI/枚举值/EntityTeleportCause.md
2025-03-17 13:24:39 +08:00

25 lines
667 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# EntityTeleportCause
class in mod.common.minecraftEnum
- 描述
传送理由枚举
```python
class EntityTeleportCause(object):
Unkown = "0" # 尚未具体分类,末影人自体传送目前归为此类
Projectile = "1" # 弹射物,类似末影珍珠
Command = "3" # op指令类似tp指令changedimension指令
ChorusFruit = "2" # 吃紫颂果传送
Behavior = "4" # 微软原生脚本组件
Agent = "agent" # 教育版指导传送
Client = "client" # 客户端发送的传送移动包
GateWay = "gateway" # 传送门
Script = "script" # python接口类似SetPosSetFootPosChangePlayerDimensionChangeEntityDimension
```