MantleJS

模组

· 作者 Pelemenguin

一个用于 Mantle 的 KubeJS 插件

0 本站下载 0 关注 更新于 1 年前

需要前置:Architectury API、Rhino、Mantle、KubeJS

最新 0.1-alpha.3 · 1.20.1 · Forge

一键开服(送7天)

MantleJS

一个用于 Mantle 的 KubeJS 附加模组。

当前内容

  • 自定义 Mantle 书籍

错误报告

在 GitHub 上报告错误。

教程

请参阅 GitHub。

创建 Mantle 书籍的示例。

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

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源