I - The type of the item (e.g. Integer)S - The type of the item stack (e.g. LegacyItemStack)public class VillagerRecipe<I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>>
extends java.lang.Object
| Constructor and Description |
|---|
VillagerRecipe(S input1,
S input2,
S output,
boolean enabled) |
| Modifier and Type | Method and Description |
|---|---|
S |
getInput1() |
S |
getInput2() |
S |
getOutput() |
boolean |
hasInput2() |
boolean |
isEnabled() |
public S getInput1()
@Nullable public S getInput2()
public boolean hasInput2()
public S getOutput()
public boolean isEnabled()