Artisan Worktables 1.12

Artisan Worktables 1.12

3M Downloads

Support CraftTweaker's IngredientOr

ChiriVulpes opened this issue ยท 3 comments

commented

CraftTweaker supports an "or" construct for providing multiple valid items without using the ore dictionary.

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.

commented

Just one issue here is fine, thanks.

commented

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();
commented

Available in the alpha snapshot 1.12.2-1.15.25-10-gcce9f8f

Will be available in the beta 1.12.2-1.16.x