promotional bannermobile promotional banner

MustJS

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 Team

profile avatar
  • 1
    Followers
  • 2
    Projects
  • 335.3K
    Downloads
Donate

More from maougaukken__