public class InfuserRecipes
extends java.lang.Object
Constructor and Description |
---|
InfuserRecipes() |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.lang3.tuple.Pair<net.minecraft.util.Tuple<net.minecraft.item.ItemStack,net.minecraft.item.ItemStack>,net.minecraft.util.Tuple<net.minecraft.item.ItemStack,java.lang.Integer>> |
getRecipe(net.minecraft.item.ItemStack stack1,
net.minecraft.item.ItemStack stack2)
Returns the first matching recipe.
|
static InfuserRecipes |
instance()
Returns an instance of InfuserRecipes.
|
boolean |
isValidEssence(net.minecraft.item.ItemStack stack)
Helper function, checks if an itemstack is of a type used as an essence (top slot) in an infusion.
|
boolean |
isValidSolvent(net.minecraft.item.ItemStack stack)
Helper function, checks if an itemstack is of a type used as an solvent (bottom slot) in an infusion.
|
public static InfuserRecipes instance()
public org.apache.commons.lang3.tuple.Pair<net.minecraft.util.Tuple<net.minecraft.item.ItemStack,net.minecraft.item.ItemStack>,net.minecraft.util.Tuple<net.minecraft.item.ItemStack,java.lang.Integer>> getRecipe(net.minecraft.item.ItemStack stack1, net.minecraft.item.ItemStack stack2)
public boolean isValidEssence(net.minecraft.item.ItemStack stack)
public boolean isValidSolvent(net.minecraft.item.ItemStack stack)