MantleJS

A KubeJS addon for Mantle things

MantleJS

A KubeJS addon for Mantle things.

Current contents

  • Custom Mantle books

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");
});

The MantleJS Team

profile avatar
  • 3
    Projects
  • 3.5K
    Downloads

Pelemenguin stands for Penguin🐧 and Element.🤪 Modrinth: https://modrinth.com/user/Pelemenguin Bilibili: https://space.bilibili.com/1767053710 (I cannot find these platforms in My Links 🐧)

More from Pelemenguin