aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/mixin/interfaces/accessors/IRecipeMutableAccess.java
blob: 778e021205dc5a23c910540e9f7b7a513686c142 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package gregtech.mixin.interfaces.accessors;

import net.minecraft.item.ItemStack;

/**
 * Mixed-in interface for recipe classes in Forge and Vanilla that allows mutating the input and output items.
 */
public interface IRecipeMutableAccess {

    /** @return Gets the current output item of the recipe */
    ItemStack gt5u$getRecipeOutputItem();

    /** Sets a new output item on the recipe */
    void gt5u$setRecipeOutputItem(ItemStack newItem);

    /** @return The raw list or array of recipe inputs, the exact type depends on the underlying recipe type. */
    Object gt5u$getRecipeInputs();
}