TeamOccultus/StarTenonAPI
Occultus SDK-星隼接口
- TypeScript 57.5%
- JavaScript 42.5%
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.