zh_cn:documentation:entrypoint
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
zh_cn:documentation:entrypoint [2021/09/01 13:19] – created not completed solidblock | zh_cn:documentation:entrypoint [2024/01/02 10:32] (current) – solidblock | ||
---|---|---|---|
Line 30: | Line 30: | ||
==== 内置入口点协议类型 ==== | ==== 内置入口点协议类型 ==== | ||
- | Fabric | + | Fabric |
- | * **main**: The first normal initialization entrypoint to run. Uses the type '' | + | * **main**:第一个要运行的正常初始化入口点。使用 |
- | * **client**: Will run after main only in a physical client. Uses the type '' | + | * **client**:仅在物理客户端的 |
- | * **server**: Will run after main only in a physical server. Uses the type '' | + | * **server**:仅在物理服务器的 |
- | * **preLaunch | + | * **preLaunch(一般不建议使用)**:可能的最早期的入口点,在游戏启动之前调用。使用时注意不要干预游戏初始化。使用类 |
- | + | ||
- | All main entrypoints are called before all client/ | + | |
+ | 所有的 main 入口点都是在 client/ | ||
==== 代码引用类型 ==== | ==== 代码引用类型 ==== | ||
zh_cn/documentation/entrypoint.1630502376.txt.gz · Last modified: 2021/09/01 13:19 by solidblock