Oredict machine recipe support
tomelfring opened this issue ยท 1 comments
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!