net.minecraft.world.item.crafting

public final class Ingredient

implements Predicate<ItemStack>

cyw
net.minecraft.world.item.crafting.Ingredient
net.minecraft.class_1856
net.minecraft.unmapped.C_tcpsydrv
net.minecraft.recipe.Ingredient
net.minecraft.recipe.Ingredient
net.minecraft.src.C_1462_
net.minecraft.world.item.crafting.RecipeItemStack

Field summary

Modifier and TypeField
public static final Ingredient
a
EMPTY
field_9017
f_tqwftmab
EMPTY
EMPTY
f_43901_
public static final StreamCodec<RegistryFriendlyByteBuf, Ingredient>
b
CONTENTS_STREAM_CODEC
field_48355
f_pjjkidpf
PACKET_CODEC
PACKET_CODEC
f_317040_
private final Ingredient$Value[]
e
values
field_9019
f_kavmzocu
entries
entries
f_43902_
private ItemStack[]
f
itemStacks
field_9018
f_bzhqpvut
matchingStacks
matchingStacks
f_43903_
private it.unimi.dsi.fastutil.ints.IntList
g
stackingIds
field_9016
f_azuabtmh
ids
ids
f_43904_
public static final com.mojang.serialization.Codec<Ingredient>
c
CODEC
field_46095
f_clxednmi
ALLOW_EMPTY_CODEC
ALLOW_EMPTY_CODEC
f_291570_
public static final com.mojang.serialization.Codec<Ingredient>
d
CODEC_NONEMPTY
field_46096
f_mbldvcwx
DISALLOW_EMPTY_CODEC
DISALLOW_EMPTY_CODEC
f_290991_

Constructor summary

ModifierConstructor
private (Stream<? extends Ingredient$Value> entries)
private (Ingredient$Value[] entries)

Method summary

Modifier and TypeMethod
public ItemStack[]
a()
getItems()
method_8105()
m_zboalywg()
getMatchingStacks()
getMatchingStacks()
m_43908_()
public boolean
a(cuq arg0)
test(ItemStack arg0)
method_8093(class_1799 arg0)
m_isfuqawg(C_sddaxwyk arg0)
test(ItemStack arg0)
test(ItemStack stack)
test(C_1391_ arg0)
public it.unimi.dsi.fastutil.ints.IntList
b()
getStackingIds()
method_8100()
m_iekihikd()
getMatchingItemIds()
getMatchingItemIds()
m_43931_()
public boolean
c()
isEmpty()
method_8103()
m_agyeivdy()
isEmpty()
isEmpty()
m_43947_()
private static Ingredient
b(Stream<? extends cyw$c> arg0)
fromValues(Stream<? extends Ingredient$Value> arg0)
method_8092(Stream<? extends class_1856$class_1859> arg0)
m_duacuvnu(Stream<? extends C_tcpsydrv$C_rnuwbmsd> arg0)
ofEntries(Stream<? extends Ingredient$Entry> entries)
ofEntries(Stream<? extends Ingredient$Entry> entries)
m_43938_(Stream<? extends C_1462_$C_1466_> p_43939_)
public static Ingredient
d()
of()
method_35226()
m_lybytlkf()
empty()
empty()
m_151265_()
public static Ingredient
a(dcv... arg0)
of(ItemLike... arg0)
method_8091(class_1935... arg0)
m_mpihdccy(C_gmbqjnle... arg0)
ofItems(ItemConvertible... items)
ofItems(ItemConvertible... items)
m_43929_(C_1595_... p_43930_)
public static Ingredient
a(cuq... arg0)
of(ItemStack... arg0)
method_8101(class_1799... arg0)
m_lzozmzmr(C_sddaxwyk... arg0)
ofStacks(ItemStack... stacks)
ofStacks(ItemStack... stacks)
m_43927_(C_1391_... p_43928_)
public static Ingredient
a(Stream<cuq> arg0)
of(Stream<ItemStack> arg0)
method_26964(Stream<class_1799> arg0)
m_ssxtwbyt(Stream<C_sddaxwyk> arg0)
ofStacks(Stream<ItemStack> stacks)
ofStacks(Stream<ItemStack> stacks)
m_43921_(Stream<C_1391_> p_43922_)
public static Ingredient
a(awu<cul> arg0)
of(TagKey<Item> arg0)
method_8106(class_6862<class_1792> arg0)
m_qnesnrqj(C_ednuhnnn<C_vorddnax> arg0)
fromTag(TagKey<Item> tag)
ofTag(TagKey<Item> tag)
m_204132_(C_203208_<C_1381_> p_204133_)
private static com.mojang.serialization.Codec<Ingredient>
a(boolean arg0)
codec(boolean arg0)
method_53725(boolean arg0)
m_lhlpdsji(boolean arg0)
createCodec(boolean allowEmpty)
createCodec(boolean allowEmpty)
m_294319_(boolean p_298496_)