Files
netease-modsdk-wiki/docs/mcdocs/1-ModAPI/枚举值/PxEventMask.md
小坤 1d963e8307
Some checks failed
Deploy VitePress to AliYun OSS / build-and-deploy (push) Has been cancelled
补充3.7版本文档:物理系统API/事件/枚举值、游戏设置事件、物品ID变更、物理使用指南
2026-03-02 00:17:03 +08:00

23 lines
546 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.

# PxEventMask
class in mod.common.minecraftEnum
- 描述
碰撞事件枚举
```python
class PxEventMask(object):
Null = 0x0 # 不需要碰撞事件。若不为Null则Found或Lost必须有一个Server或Client必须有一个
Found = 0x1 # 需要接触开始事件
Found_Detail = 0x2 # 接触开始事件需要附带碰撞点与法线信息。性能消耗较大。
Lost = 0x4 # 需要接触结束事件
Server = 0x8 # 需要服务器事件
Client = 0x10 # 需要客户端事件
```