Skip to content

Dev coolfish#40

Merged
ifishcool merged 2 commits into
mainfrom
dev_coolfish
May 13, 2026
Merged

Dev coolfish#40
ifishcool merged 2 commits into
mainfrom
dev_coolfish

Conversation

@ifishcool
Copy link
Copy Markdown
Contributor

No description provided.

ifishcool added 2 commits May 13, 2026 16:02
- 移除 README.md 和 README_en.md API 表格中的 "✅ Box3" 和 "🆕 MC Extension" 标识
- 将文档表格中的扩展标识改为客户端 API 使用 "Client",服务端 API 使用 "Server"
- 新增 gui API 文档,包含 openGUI 方法及 GuiController 相关方法
- 新增客户端 API 方法:getFPS、getPlayer、getLookingAt、getServerInfo
- 新增输入 API 方法:getMouseX、getMouseY、onMouseClick
- 新增 UI API 方法:getScreenSize、drawText、removeDrawText、clearDrawTexts
- 移除所有客户端 API 方法描述中的 "🆕 MC Extension" 前缀
- 更新 BOX3_API_COMPARISON.md 中的图例说明,移除 MC 相关引用
- 移除关于 setTimeout/setInterval 的 Box3 平台扩展说明
- 更新多个 API 属性描述,移除 Box3 API 标识
- 将 `world.projectName` 从属性改为方法 `world.projectName()`,返回当前脚本项目名称;使用 `world.serverId` 获取服务器 MOTD
- 将 `world.currentTick` 从属性改为方法 `world.currentTick()`,返回服务器启动以来的总 tick 数
- 在 README 中新增服务端概述文档章节
- 在客户端 API 文档中增加 `gui` 全局对象
- 明确所有 API 对象的运行时环境(服务端/客户端/共享)
- 按运行时环境拆分文档结构
- 添加文档风格规范与指南
- 将类型声明按服务端/客户端整理到对应目录
- 明确说明客户端脚本无法直接修改服务端世界
- 更新数据库、HTTP 及存储 API 文档,补充运行时信息
- 修正示例路径,使用 `src/server/app.ts` 替代 `src/app.ts`
- 更新完整的 API 对比表
@ifishcool ifishcool merged commit b8f8dd2 into main May 13, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant