Skip to content

Issue with Condition overlab with RecipeCapability in JEI/EMI #12

Description

@GalaxyOfZero

using the .addCondition() on a custome recipe in KJS Overlabs the Condition text over the RecipeCapability use with .input() in JEI/EMI.
from what the GTCEU Discorde tellt me its a issue with the mod

const RPMCondition = Java.loadClass('com.mo_guang.ctpp.common.condition.RPMCondition')
const StressRecipeCapability = Java.loadClass('com.mo_guang.ctpp.api.StressRecipeCapability')

ServerEvents.recipes(event =>{
    const mechanical_sifter = event.recipes.gtceu.mechanical_sifter

    mechanical_sifter('gravle_sive')
        .itemInputs(Item.of("minecraft:gravel",256))
        .itemOutputs(Item.of('gtceu:crushed_iron_ore', 64))
        .itemOutputs(Item.of('gtceu:crushed_magnetite_ore', 64))
        .itemOutputs(Item.of('gtceu:crushed_copper_ore', 64))
        .itemOutputs(Item.of('gtceu:crushed_tin_ore', 64))
        .itemOutputs(Item.of('gtceu:crushed_sphalerite_ore', 64))
        .perTick(true)
        .input(StressRecipeCapability.CAP, 256)
        .inputFluids(Fluid.of('minecraft:water', 250))
        .perTick(false)
        .addCondition(new RPMCondition(64))
        .duration(1200);
})
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions