Skip to content

AsaJS is a Node.js framework for programmatically generating and managing JSON UI for Minecraft: Bedrock Edition.

License

Notifications You must be signed in to change notification settings

AsakiYuki/AsaJS

Repository files navigation

AsaJS - The Minecraft: Bedrock Edition JSON-UI Framework

asajs version asajs license asajs downloads

AsaJS is a NodeJS library designed to empower developers to create JSON-UI packages for Minecraft: Bedrock Edition using JavaScript or TypeScript.

Say goodbye to the tedious and repetitive nature of manual JSON editing. AsaJS streamlines your workflow by bringing the programmatic flexibility to Minecraft UI development.

🛠 Installation

To use AsaJS, ensure you have Node.js installed on your system.

Latest stable version:

npm install asajs

For our nightly builds:

npm install asajs@indev

📖 "Hello World!" Example

Creating a custom UI with AsaJS is straightforward. Here is how you can insert a custom label onto the Minecraft Start Screen:

import { Anchor, Label, Modify } from "asajs"

const label = Label({
	text: "Hello World from my Custom UI!",
	shadow: true,
	anchor: Anchor.TOP_MIDDLE,
	offset: [0, 10],
})

// This code injects the label into the top of the start screen
Modify("start", "start_screen_content").insertChild(label)

🤝 Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

About

AsaJS is a Node.js framework for programmatically generating and managing JSON UI for Minecraft: Bedrock Edition.

Topics

Resources

License

Stars

Watchers

Forks