HomeJavaModsMantleJS
MantleJS

MantleJS

A KubeJS addon for Mantle things.

Current contents

Bug report

Report bugs on GitHub.

Tutorials

See GitHub.

An example to create a Mantle book.

// Script type: STARTUP
MantleJSEvents.bookRegistry(event => {
    // Create the book here
    event.create("test")
        // Specify the book repository
        .addBookRepository("kubejs:book/test");
});
StartupEvents.registry('item', event => {
    // Create a book item
    event.create("test_book", "mantle:book")
        // Set the book data
        .setBookData("test");
});
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more