Class WrappedIngredient
java.lang.Object
team.lodestar.lodestone.systems.recipe.WrappedIngredient
- All Implemented Interfaces:
IRecipeComponent
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface team.lodestar.lodestone.systems.recipe.IRecipeComponent
isValid
-
Field Details
-
ingredient
public final net.minecraft.world.item.crafting.Ingredient ingredient
-
-
Constructor Details
-
WrappedIngredient
public WrappedIngredient(net.minecraft.world.item.crafting.Ingredient ingredient)
-
-
Method Details
-
getStack
public net.minecraft.world.item.ItemStack getStack()- Specified by:
getStackin interfaceIRecipeComponent
-
getStacks
- Specified by:
getStacksin interfaceIRecipeComponent
-
getItem
public net.minecraft.world.item.Item getItem()- Specified by:
getItemin interfaceIRecipeComponent
-
getCount
public int getCount()- Specified by:
getCountin interfaceIRecipeComponent
-
matches
public boolean matches(net.minecraft.world.item.ItemStack stack) - Specified by:
matchesin interfaceIRecipeComponent
-