Support CraftTweaker's IngredientOr
ChiriVulpes opened this issue ยท 3 comments
Using this in an Artisan Worktables recipe works, but doesn't appear in JEI. I believe this can be fixed by modifying mtlib in Athenaeum. https://github.com/codetaylor/athenaeum/blob/master/src/main/java/com/codetaylor/mc/athenaeum/integration/crafttweaker/mtlib/helpers/CTInputHelper.java#L376-L397
Let me know if I should open up an issue over there.
Verified working with:
import mods.artisanworktables.Worktable;
Worktable.createRecipeBuilder("basic")
.setShapeless([<minecraft:stick>.or(<minecraft:string>)])
.setSecondaryIngredients([<minecraft:stick>.or(<ore:plankWood>)])
.addTool(<ore:carpenters_handsaw>.or(<ore:engineers_driver>), 1)
.addOutput(<minecraft:diamond>)
.create();