跳到正文

MustJS

作者:maougaukken__

A KubeJS add-on that integrates Create mod recipes for seamless automation and customization.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

📘 MustJS

MustJS is a utility library designed to simplify the creation of Create recipes and recipe-related JSON objects using KubeJS.

Instead of manually writing complex recipe structures, MustJS provides simple helper functions for creating recipes involving items, fluids, and Create processing systems.

🚀 Documentation

Explore the available utilities and functions below.

⚙️ Create Functions

Functions for creating recipes using machines and processes from Create.

View Create Functions →

Includes utilities for:


🔧 Create Utility Functions

Higher-level utilities for creating multiple or specialized Create recipes.

View Create Utility Functions →

Includes utilities for:


🔷 Applied Energistics 2 Functions

Functions for creating recipes using systems and machines from Applied Energistics 2 (AE2).

View AE2 Functions →

Includes utilities for:


🟩 Minecraft Functions

Functions for creating recipes using Minecraft’s native recipe systems and modifying item tags through KubeJS.

View Minecraft Functions →

Includes utilities for:


📦 Item Utilities

Helper functions for creating JSON objects representing item inputs and outputs.

View Item Utilities →

Includes:


💧 Fluid Utilities

Helper functions for creating JSON objects representing fluid inputs and outputs.

View Fluid Utilities →

Includes:


🛠️ Recipe Management Functions

Functions for removing and modifying existing recipes using KubeJS.

View Recipe Management Functions →

Includes utilities for:


📚 Quick Start

A typical MustJS recipe can be created using the provided utility functions:

compacting(
  itemOutput("minecraft:iron_ingot"),
  [
    itemInput("minecraft:iron_nugget"),
    itemInput("minecraft:iron_nugget"),
    itemInput("minecraft:iron_nugget")
  ],
  "heated"
);

The utility functions can be combined to create more complex recipes while keeping the recipe definitions simple and readable.

🛠️ Designed for KubeJS

MustJS is intended to be used alongside KubeJS and provides helper functions specifically designed to simplify recipe creation.

ServerEvents.recipes(e => {
  // Your recipes here
});

Tip: Start with the Create Functions section if you want to create a new Create recipe, or check the Item and Fluid Utilities sections when you need to construct recipe inputs and outputs.

常见问题

MustJS 支持哪些 Minecraft 版本?

MustJS 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

MustJS 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

maougaukken__ 的其他作品

查看全部 →