net.minecraft.crafting.recipe

public final class Ingredient

implements Predicate<ItemStack>

beg
net.minecraft.class_1856
net.minecraft.crafting.recipe.Ingredient
net.minecraft.item.crafting.Ingredient
net.minecraft.item.crafting.Ingredient

Field summary

Modifier and TypeField
private static final Predicate<? super Ingredient$Value>
b
field_9020
NOT_ALL_EMPTY
field_209362_b
field_209362_b
public static final Ingredient
a
field_9017
EMPTY
field_193370_a
field_193370_a
private final Ingredient$Value[]
c
field_9019
values
field_199807_b
field_199807_b
private ItemStack[]
d
field_9018
items
field_193371_b
field_193371_b
private it.unimi.dsi.fastutil.ints.IntList
e
field_9016
ids
field_194140_c
field_194140_c

Constructor summary

ModifierConstructor
private (Stream<? extends Ingredient$Value> values)

Method summary

Modifier and TypeMethod
private void
f()
method_8096()
dissolve()
func_199806_d()
determineMatchingStacks()
public boolean
a(bcb arg0)
method_8093(class_1799 arg0)
test(ItemStack arg0)
test(ItemStack arg0)
test(ItemStack arg0)
public it.unimi.dsi.fastutil.ints.IntList
b()
method_8100()
getIds()
func_194139_b()
getValidItemStacksPacked()
public void
a(jc arg0)
method_8088(class_2540 arg0)
serialize(PacketByteBuf buffer)
func_199564_a(PacketBuffer arg0)
write(PacketBuffer buffer)
public com.google.gson.JsonElement
c()
method_8089()
toJson()
func_200304_c()
serialize()
public boolean
d()
method_8103()
isEmpty()
func_203189_d()
hasNoMatchingItems()
private static Ingredient
a(Stream<? extends beg$c> arg0)
method_8092(Stream<? extends class_1856$class_1859> arg0)
fromValues(Stream<? extends Ingredient$Value> values)
func_209357_a(Stream<? extends Ingredient$IItemList> arg0)
fromItemListStream(Stream<? extends Ingredient$IItemList> stream)
public static Ingredient
a(bhh... arg0)
method_8091(class_1935... arg0)
of(ItemLike... items)
func_199804_a(IItemProvider... arg0)
fromItems(IItemProvider... itemsIn)
public static Ingredient
a(zb<bbw> arg0)
method_8106(class_3494<class_1792> arg0)
of(Tag<Item> tag)
func_199805_a(Tag<Item> arg0)
fromTag(Tag<Item> tagIn)
public static Ingredient
b(jc arg0)
method_8086(class_2540 arg0)
deserialize(PacketByteBuf buffer)
func_199566_b(PacketBuffer arg0)
read(PacketBuffer buffer)
public static Ingredient
a(com.google.gson.JsonElement arg0)
method_8102(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement json)
func_199802_a(com.google.gson.JsonElement arg0)
deserialize(com.google.gson.JsonElement json)
public static Ingredient$Value
a(com.google.gson.JsonObject arg0)
method_8107(com.google.gson.JsonObject arg0)
valueFromJson(com.google.gson.JsonObject json)
func_199803_a(com.google.gson.JsonObject arg0)
deserializeItemList(com.google.gson.JsonObject json)
public ItemStack[]
a()
method_8105()
getItems()
func_193365_a()
getMatchingStacks()
public static Ingredient
a(bcb... arg0)
method_8101(class_1799... arg0)
of(ItemStack... items)
func_193369_a(ItemStack... arg0)
fromStacks(ItemStack... stacks)