use of betterwithaddons.util.IngredientCraftTweaker in project BetterWithAddons by DaedalusGame.
the class SoakingBox method add.
@ZenMethod
public static void add(IItemStack output, IItemStack input) {
CherryBoxRecipe recipe = new CherryBoxRecipe(BlockCherryBox.CherryBoxType.SOAKING, new IngredientCraftTweaker(input), CraftTweakerMC.getItemStack(output));
CraftTweaker.LATE_ACTIONS.add(new Add(recipe));
}
use of betterwithaddons.util.IngredientCraftTweaker in project BetterWithAddons by DaedalusGame.
the class Spindle method add.
@ZenMethod
public static void add(IItemStack[] outputs, @NotNull IIngredient input, boolean consumesSpindle) {
SpindleRecipe r = new SpindleRecipe(consumesSpindle, new IngredientCraftTweaker(input), CraftTweakerMC.getItemStacks(outputs));
CraftTweaker.LATE_ACTIONS.add(new Add(r));
}
use of betterwithaddons.util.IngredientCraftTweaker in project BetterWithAddons by DaedalusGame.
the class Tatara method add.
@ZenMethod
public static void add(IItemStack output, IItemStack input) {
SmeltingRecipe recipe = new SmeltingRecipe(new IngredientCraftTweaker(input), CraftTweakerMC.getItemStack(output));
CraftTweaker.LATE_ACTIONS.add(new Add(recipe));
}
Aggregations