-
Notifications
You must be signed in to change notification settings - Fork 0
Home
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.
Explore the available utilities and functions below.
Functions for creating recipes using machines and processes from Create.
Includes utilities for:
- Compacting
- Crushing
- Cutting
- Deploying
- Emptying
- Filling
- Haunting
- Item Application
- Mechanical Crafting
- Milling
- Mixing
- Pressing
- Polishing
- Splashing
- Sequenced Assembly
Higher-level utilities for creating multiple or specialized Create recipes.
View Create Utility Functions β
Includes utilities for:
Functions for creating recipes using systems and machines from Applied Energistics 2 (AE2).
Includes utilities for:
Functions for creating recipes using Minecraft's native recipe systems and modifying item tags through KubeJS.
Includes utilities for:
Helper functions for creating JSON objects representing item inputs and outputs.
Includes:
- Item outputs
- Item outputs with stack sizes
- Item outputs with chances
- Item inputs
- Item inputs using tags
- Mechanical crafting input keys
Helper functions for creating JSON objects representing fluid inputs and outputs.
Includes:
- Fluid inputs
- Fluid outputs
- Millibucket-based quantities
Functions for removing and modifying existing recipes using KubeJS.
View Recipe Management Functions β
Includes utilities for:
- Remove Output
- Remove Input
- Remove Mod
- Remove Type
- Remove ID
- Replace Input
- Replace Output
- Replace Item
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.
MustJS is intended to be used alongside KubeJS and provides helper functions specifically designed to simplify recipe creation.
ServerEvents.recipes(e => {
// Your recipes here
});Section
Description
βοΈ Create Functions
Create processing and crafting recipes
π¦ Item Utilities
Item inputs and outputs
π§ Fluid Utilities
Fluid inputs and outputs
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.