Artisan Worktables 1.12

Artisan Worktables 1.12

3M Downloads

OreDict for the table?

Nitess opened this issue ยท 3 comments

commented

Hi, I'm doing modpack, and I did not find OreDict for the table. There are levels, but no oredict. I would like players to use any table to create. Can this be realized?
RecipeBuilder.get("basic") may be RecipeBuilder.get("all")

but without displaying all kinds of workbenches in jei
2018-04-28 18-29-14 minecraft 1 12 2 2

commented

I can probably implement RecipeBuilder.get("all"), but it will display all the workbenches in JEI; that's just how it works.

commented

then it is not possible to do so that the recipes would work on all workbenches?

commented

Not right now, no.

You could write a function in CrT to do it though, something like this (pseudocode):

var tables = [
  "blacksmith",
  "tanner",
  ...
]

function setShaped(output, recipe, tool, damage) {
  for table in tables {
    RecipeBuilder.get(table)
      .setShaped(recipe)
      .addTool(tool, damage)
      .addOutput(output)
      .create();
  }
}