net.minecraft.world.item.crafting

public final class Ingredient

implements Predicate<ItemStack>

bte
net.minecraft.world.item.crafting.Ingredient
net.minecraft.class_1856
net.minecraft.unmapped.C_tcpsydrv
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
f_43901_
private final Ingredient$Value[]
b
values
field_9019
f_kavmzocu
entries
f_43902_
private ItemStack[]
c
itemStacks
field_9018
f_bzhqpvut
matchingStacks
f_43903_
private it.unimi.dsi.fastutil.ints.IntList
d
stackingIds
field_9016
f_azuabtmh
ids
f_43904_

Constructor summary

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

Method summary

Modifier and TypeMethod
public ItemStack[]
a()
getItems()
method_8105()
m_zboalywg()
getMatchingStacksClient()
m_43908_()
private void
f()
dissolve()
method_8096()
m_synvykbm()
cacheMatchingStacks()
m_43948_()
buildChoices()
public boolean
a(bqp arg0)
test(ItemStack arg0)
method_8093(class_1799 arg0)
m_isfuqawg(C_sddaxwyk arg0)
test(ItemStack arg0)
test(C_1391_ arg0)
public it.unimi.dsi.fastutil.ints.IntList
b()
getStackingIds()
method_8100()
m_iekihikd()
getMatchingItemIds()
m_43931_()
public void
a(og arg0)
toNetwork(FriendlyByteBuf arg0)
method_8088(class_2540 arg0)
m_fckgmcfy(C_idfydwco arg0)
write(PacketByteBuf buf)
m_43923_(C_4983_ arg0)
public com.google.gson.JsonElement
c()
toJson()
method_8089()
m_hujuazoq()
toJson()
m_43942_()
public boolean
d()
isEmpty()
method_8103()
m_agyeivdy()
isEmpty()
m_43947_()
private static Ingredient
b(Stream<? extends bte$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)
m_43938_(Stream<? extends C_1462_$C_1466_> p_43939_)
public static Ingredient
e()
of()
method_35226()
m_lybytlkf()
empty()
m_151265_()
public static Ingredient
a(bwo... arg0)
of(ItemLike... arg0)
method_8091(class_1935... arg0)
m_mpihdccy(C_gmbqjnle... arg0)
ofItems(ItemConvertible... items)
m_43929_(C_1595_... p_43930_)
public static Ingredient
a(bqp... arg0)
of(ItemStack... arg0)
method_8101(class_1799... arg0)
m_lzozmzmr(C_sddaxwyk... arg0)
ofStacks(ItemStack... stacks)
m_43927_(C_1391_... p_43928_)
public static Ingredient
a(Stream<bqp> arg0)
of(Stream<ItemStack> arg0)
method_26964(Stream<class_1799> arg0)
m_ssxtwbyt(Stream<C_sddaxwyk> arg0)
ofStacks(Stream<ItemStack> stacks)
m_43921_(Stream<C_1391_> p_43922_)
public static Ingredient
a(aga<bql> arg0)
of(Tag<Item> arg0)
method_8106(class_3494<class_1792> arg0)
m_sitzorfl(C_mokekhxv<C_vorddnax> arg0)
fromTag(Tag<Item> tag)
m_43911_(C_147_<C_1381_> p_43912_)
public static Ingredient
b(og arg0)
fromNetwork(FriendlyByteBuf arg0)
method_8086(class_2540 arg0)
m_imjytiop(C_idfydwco arg0)
fromPacket(PacketByteBuf buf)
m_43940_(C_4983_ p_43941_)
public static Ingredient
a(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement arg0)
method_8102(com.google.gson.JsonElement arg0)
m_odcuyyyq(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement json)
m_43917_(com.google.gson.JsonElement p_43918_)
private static Ingredient$Value
a(com.google.gson.JsonObject arg0)
valueFromJson(com.google.gson.JsonObject arg0)
method_8107(com.google.gson.JsonObject arg0)
m_szfupxoq(com.google.gson.JsonObject arg0)
entryFromJson(com.google.gson.JsonObject json)
m_43919_(com.google.gson.JsonObject p_43920_)