TeamOccultus/StarTenonAPI
6
1
Fork
You've already forked StarTenonAPI
0
Occultus SDK-星隼接口
  • TypeScript 57.5%
  • JavaScript 42.5%
Find a file
方琉璃 69d15f6229
All checks were successful
ci/woodpecker/push/build Pipeline was successful
v0.30.0
2026年07月13日 09:12:12 +08:00
.woodpecker fix:尝试修复构建失败的问题 2026年07月13日 09:07:06 +08:00
lang feat:启用了部分条件的智能提交功能 2026年02月22日 20:20:38 +08:00
packages feat:加入了Dialogue API 2026年07月13日 08:55:44 +08:00
starock v0.30.0 2026年07月13日 09:12:12 +08:00
.gitignore feat:向 cli 添加了 fastAssetIndex 命令 2025年03月16日 13:01:38 +08:00
.npmignore feat:添加core相关内容 2025年03月15日 14:22:19 +08:00
.npmrc fix:尝试修复构建失败的问题 2026年07月13日 09:07:06 +08:00
.pnpm-approvals.json fix:再次尝试修复构建失败的问题 2026年07月13日 09:01:15 +08:00
.prettierignore feat(condition): 在检查玩家物品时同时检查装备栏与副手 2026年01月24日 19:41:11 +08:00
.prettierrc.json feat(condition): 在检查玩家物品时同时检查装备栏与副手 2026年01月24日 19:41:11 +08:00
biome.json format: 使用biome格式化项目 2025年12月14日 16:08:24 +08:00
eslint.config.mts chore: 根据ESLint修改了部分代码 2026年02月04日 14:52:31 +08:00
LICENSE feat:添加core相关内容 2025年03月15日 14:22:19 +08:00
package.json v0.30.0 2026年07月13日 09:12:12 +08:00
pnpm-lock.yaml fix:尝试修复构建失败的问题 2026年07月13日 09:09:16 +08:00
pnpm-workspace.yaml feat:添加了编译好的依赖库 JS 文件 2026年03月22日 15:00:30 +08:00
README.md feat(condition): 在检查玩家物品时同时检查装备栏与副手 2026年01月24日 19:41:11 +08:00
tsconfig.json chore:将tsconfig中lib修改为es2021 2026年02月09日 18:54:14 +08:00
typedoc.json chore:优化文档 2026年02月22日 21:22:47 +08:00

Occultus SDK - Star Tenon API

Minecraft 基岩版 Script API 的一个开发工具包。

使用

.npmrc文件中添加以下内容:

@starock:registry=https://codeberg.org/api/packages/TeamOccultus/npm/

接着运行以下命令:

npm install @occultus/core
npm install @occultus/api

打包脚本时,你需要一个支持将依赖递归打包进输出文件的脚本打包器,例如 Esbuild。

支持版本

版本 Minecraft 版本
0.1.0 ~ 0.2.0 1.21.80
0.3.0 ~ 0.10.0 1.21.90
0.11.0 ~ 0.16.0 1.21.100
0.16.1 + 1.21.110

协议

本项目使用 MIT License 授权:

The MIT License (MIT)
Copyright © 2025 CTN Studios
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.