@MethodsReturnNonnullByDefault
public class VanillaIngredient
extends net.minecraft.item.crafting.Ingredient
Constructor and Description |
---|
VanillaIngredient(crafttweaker.api.item.IIngredient ingredient) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(net.minecraft.item.ItemStack itemStack) |
crafttweaker.api.item.IIngredient |
getIngredient() |
net.minecraft.item.ItemStack[] |
getMatchingStacks() |
it.unimi.dsi.fastutil.ints.IntList |
getValidItemStacksPacked() |
protected void |
invalidate() |
boolean |
isSimple() |
boolean |
test(net.minecraft.item.ItemStack input) |
fromItem, fromItems, fromStacks, invalidateAll, merge
public VanillaIngredient(@Nonnull crafttweaker.api.item.IIngredient ingredient)
public net.minecraft.item.ItemStack[] getMatchingStacks()
getMatchingStacks
in class net.minecraft.item.crafting.Ingredient
public boolean apply(@Nullable net.minecraft.item.ItemStack itemStack)
apply
in class net.minecraft.item.crafting.Ingredient
public it.unimi.dsi.fastutil.ints.IntList getValidItemStacksPacked()
getValidItemStacksPacked
in class net.minecraft.item.crafting.Ingredient
protected void invalidate()
invalidate
in class net.minecraft.item.crafting.Ingredient
public boolean isSimple()
isSimple
in class net.minecraft.item.crafting.Ingredient
public boolean test(@Nullable net.minecraft.item.ItemStack input)
public crafttweaker.api.item.IIngredient getIngredient()