Skip to content

Conversation

@Luligabi1
Copy link
Contributor

Allows registered conditions to be explicitly passed onto recipes without helper methods. Example:

ServerEvents.recipes(event => {
    event.recipes.modern_industrialization.blast_furnace(128, 100)
        // add all the inputs and outputs:
        .itemIn("64x #minecraft:logs_that_burn")
        .itemOut("64x minecraft:charcoal")
        .fluidIn("1000x modern_industrialization:oxygen")
        .fluidOut("5000x modern_industrialization:creosote")
        .registeredCondition({
            "modern_industrialization:dimension": {
                "dimension": "minecraft:the_nether"
            }
        })          
})

Have a recipe type in my upcoming addon that almost always includes a process condition and it'd be a bummer to maintain KJS support just for that 😅

@Technici4n Technici4n merged commit fcbcb15 into AztechMC:1.21.x Aug 7, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants