KubeJS (Old)

KubeJS (Old)

3M Downloads

Enhancement: add a parameter for ‘replaceInput’

jlTY-2008 opened this issue · 3 comments

commented

Could you please add a parameter about a tag for ‘replaceInput’.So only the recipes of the items or blocks in this tag will change.

commented

You can already filter replaceInput, and replaceOutput with filters at the beginning of the method call.

public int replaceInput(RecipeFilter filter, IngredientJS ingredient, IngredientJS with, boolean exact)

public int replaceOutput(RecipeFilter filter, IngredientJS ingredient, ItemStackJS with, boolean exact)

commented

Thank you.I'm sorry for causing you trouble

commented

All is well. There is the discord server that might be able to answer these questions faster if you have them in the future. https://discord.gg/bPFfH6P