Lazuli 2 API组件(迁移到Monorepo前)
This repository has been archived on 2024年11月23日 . You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
- TypeScript 100%
| lang | feat:开放了task模块 | |
| src | feat:优化文档 | |
| .gitignore | feat:安装typedoc | |
| .npmrc | feat:添加Weapon(atk/use)Skill API | |
| LICENSE | init | |
| package.json | chore:更新依赖 | |
| pnpm-lock.yaml | chore:更新依赖 | |
| README.md | v2.0.0-b1 | |
| tsconfig.json | init | |
| typedoc.json | feat:安装typedoc | |
LDK: Lazuli API
Add some useful instances for Minecraft Bedrock Edition.
Minecraft 基岩版脚本API的一些实用实例。
Usage
Add the following code in the .npmrc file:
在.npmrc文件中添加以下内容:
@lazuli:registry=https://codeberg.org/api/packages/lazuli/npm/
@minecraft:registry=https://registry.yarnpkg.com
Then run the following command:
接着运行以下命令:
npm install @lazuli/api
Pack
You need a bundler that supports inline dependencies into the output file (such as esbuild) for packaging.
你需要一个支持将依赖递归打包进输出文件的脚本打包器,例如Esbuild。