Files
netease-bedrock-wiki/mcguide/20-玩法开发/13-模组SDK编程/2-Python脚本开发/4-系统简介.md
2025-08-25 18:36:29 +08:00

452 B
Raw Blame History

front, hard, time
front hard time
入门 分钟

系统简介

系统System是我们的核心类用于监听事件使用组件更新等。

获取自定义的System需要继承引擎的系统基类 ClientSystem/ServerSystem.

import client.extraClientApi as clientApi
ClientSystem = clientApi.GetClientSystemCls()
import server.extraServerApi as serverApi
ServerSystem = serverApi.GetServerSystemCls()