(this api using minecraft 1.21.80 stable of 2.0.0-beta api)
A modular custom command system for Minecraft Bedrock Script API with full TypeScript support. it use minecraft's own api, the CustomCommandRegistry Class to register the command
See full implementations in:
📁 examples/tp.ts
Modify config.ts/config.js
:
export const CONFIG = {
prefix: "mynamespase",
files: ["myfile1", "myfile2"],
};
js
is on out
folderts
is on src
foldergit clone https://github.com/DZombies45/MCBE-CustomCommand.git
npm install
- just download its zip from code(top right, the green one),
- download zip,
- then move config and cc to your project
Pull requests are welcome. For major changes, please open an issue first.
MIT © 2023 Dzombies45
TypeScript library for creating custom commands in Minecraft Bedrock.