net.minecraft.crafting.recipe

public final class Ingredient

implements Predicate<ItemStack>

avh
net.minecraft.class_3193
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_17439
NOT_ALL_EMPTY
field_209362_b
IS_EMPTY
public static final Ingredient
a
field_15680
EMPTY
field_193370_a
EMPTY
private final Ingredient$Value[]
c
field_17440
values
field_199807_b
acceptedItems
private ItemStack[]
d
field_15681
items
field_193371_b
matchingStacks
private it.unimi.dsi.fastutil.ints.IntList
e
field_15682
ids
field_194140_c
matchingStacksPacked

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
f()
method_16197()
dissolve()
func_199806_d()
determineMatchingStacks()
public boolean
a(ate arg0)
method_16180(class_1071 arg0)
test(ItemStack arg0)
test(ItemStack arg0)
test(ItemStack arg0)
public it.unimi.dsi.fastutil.ints.IntList
b()
method_14249()
getIds()
func_194139_b()
getValidItemStacksPacked()
public void
a(hy arg0)
method_16185(class_1967 arg0)
serialize(PacketByteBuf buffer)
func_199564_a(PacketBuffer arg0)
write(PacketBuffer buffer)
public com.google.gson.JsonElement
c()
method_16194()
toJson()
func_200304_c()
serialize()
public boolean
d()
method_16196()
isEmpty()
func_203189_d()
hasNoMatchingItems()
private static Ingredient
a(Stream<? extends avh$c> arg0)
method_16186(Stream<? extends class_3193$class_3577> 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(axx... arg0)
method_16188(class_3597... arg0)
of(ItemLike... items)
func_199804_a(IItemProvider... arg0)
fromItems(IItemProvider... itemsIn)
public static Ingredient
a(wz<ata> arg0)
method_16187(class_4482<class_1069> arg0)
of(Tag<Item> tag)
func_199805_a(Tag<Item> arg0)
fromTag(Tag<Item> tagIn)
public static Ingredient
b(hy arg0)
method_16193(class_1967 arg0)
deserialize(PacketByteBuf buffer)
func_199566_b(PacketBuffer arg0)
read(PacketBuffer buffer)
public static Ingredient
a(com.google.gson.JsonElement arg0)
method_16183(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_16184(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_14244()
getItems()
func_193365_a()
getMatchingStacks()
public static Ingredient
a(ate... arg0)
method_14248(class_1071... arg0)
of(ItemStack... items)
func_193369_a(ItemStack... arg0)
fromStacks(ItemStack... stacks)