public class Ingredient
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Ingredient |
EMPTY |
Modifier | Constructor and Description |
---|---|
protected |
Ingredient(int size) |
protected |
Ingredient(ItemStack... p_i47503_1_) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(ItemStack p_apply_1_) |
static Ingredient |
fromItem(Item p_193367_0_) |
static Ingredient |
fromItems(Item... items) |
static Ingredient |
fromStacks(ItemStack... stacks) |
ItemStack[] |
getMatchingStacks() |
IntList |
getValidItemStacksPacked() |
protected void |
invalidate() |
static void |
invalidateAll() |
boolean |
isSimple() |
static Ingredient |
merge(java.util.Collection<Ingredient> parts) |
public static final Ingredient EMPTY
protected Ingredient(int size)
protected Ingredient(ItemStack... p_i47503_1_)
public ItemStack[] getMatchingStacks()
public boolean apply(ItemStack p_apply_1_)
public IntList getValidItemStacksPacked()
public static void invalidateAll()
protected void invalidate()
public static Ingredient fromItem(Item p_193367_0_)
public static Ingredient fromItems(Item... items)
public static Ingredient fromStacks(ItemStack... stacks)
public static Ingredient merge(java.util.Collection<Ingredient> parts)
public boolean isSimple()