Mekanism

Mekanism

111M Downloads

Oredict machine recipe support

tomelfring opened this issue ยท 1 comments

commented

The current machine recipes do not allow usage of oredict recipes.
As a modpack creator/customizer I would love to add recipes which accept oredict entries as input for:

  • ItemStackInput
  • AdvancedMachineInput (itemStack)
  • PressurizedInput (theSolid)

Places this would (possibly) be used are:

  • Mekanism's own recipes (some might require glass or sand sometime)
  • IMC messages for new recipes added through other mods
  • CraftTweaker for adding through it's zenscript system

Current implementation does not have much flexibility as everything is indexed on one specific input (hashmap).

Desired result:
A implementation that has default support for oredict and wildcards (current check for that is also quite "hacky").
Even better would be a type safe implementation as currently there are a lot of unchecked casts happening throughout the code (RecipeHandler, CraftTweaker handlers, MekanismJEI).

Ideas on how to implement this (or even working implementations) are always welcome! Please share them here!

commented

This request has been added to the master list at #5320

In order to keep issue numbers under control this issue will be closed and used as future reference.