@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, mergepublic VanillaIngredient(@Nonnull
crafttweaker.api.item.IIngredient ingredient)
public net.minecraft.item.ItemStack[] getMatchingStacks()
getMatchingStacks in class net.minecraft.item.crafting.Ingredientpublic boolean apply(@Nullable
net.minecraft.item.ItemStack itemStack)
apply in class net.minecraft.item.crafting.Ingredientpublic it.unimi.dsi.fastutil.ints.IntList getValidItemStacksPacked()
getValidItemStacksPacked in class net.minecraft.item.crafting.Ingredientprotected void invalidate()
invalidate in class net.minecraft.item.crafting.Ingredientpublic boolean isSimple()
isSimple in class net.minecraft.item.crafting.Ingredientpublic boolean test(@Nullable
net.minecraft.item.ItemStack input)
public crafttweaker.api.item.IIngredient getIngredient()