1
0
Fork
You've already forked classic-lazuli-api
0
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%
2024年11月10日 16:53:15 +08:00
lang feat:开放了task模块 2024年10月03日 11:25:33 +08:00
src feat:优化文档 2024年11月10日 16:21:08 +08:00
.gitignore feat:安装typedoc 2024年11月10日 11:42:39 +08:00
.npmrc feat:添加Weapon(atk/use)Skill API 2024年10月27日 20:30:21 +08:00
LICENSE init 2024年10月02日 17:31:07 +08:00
package.json chore:更新依赖 2024年11月10日 16:53:15 +08:00
pnpm-lock.yaml chore:更新依赖 2024年11月10日 16:53:15 +08:00
README.md v2.0.0-b1 2024年10月12日 18:22:10 +08:00
tsconfig.json init 2024年10月02日 17:31:07 +08:00
typedoc.json feat:安装typedoc 2024年11月10日 11:42:39 +08:00

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。