net.minecraft.world.item.crafting

public final class Ingredient

implements Predicate<ItemStack>

bok
net.minecraft.world.item.crafting.Ingredient
net.minecraft.class_1856
net.minecraft.unmapped.C_tcpsydrv
net.minecraft.recipe.Ingredient
net.minecraft.item.crafting.Ingredient
net.minecraft.server.v1_16_R2.RecipeItemStack

Field summary

Modifier and TypeField
public static final Ingredient
a
EMPTY
field_9017
f_tqwftmab
EMPTY
field_193370_a
private final Ingredient$Value[]
b
values
field_9019
f_kavmzocu
entries
field_199807_b
private ItemStack[]
c
itemStacks
field_9018
f_bzhqpvut
matchingStacks
field_193371_b
choices
private it.unimi.dsi.fastutil.ints.IntList
d
stackingIds
field_9016
f_azuabtmh
ids
field_194140_c

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
f()
dissolve()
method_8096()
m_synvykbm()
cacheMatchingStacks()
func_199806_d()
buildChoices()
public boolean
a(bly arg0)
test(ItemStack arg0)
method_8093(class_1799 arg0)
m_isfuqawg(C_sddaxwyk arg0)
test(ItemStack arg0)
test(ItemStack arg0)
public it.unimi.dsi.fastutil.ints.IntList
b()
getStackingIds()
method_8100()
m_iekihikd()
getIds()
func_194139_b()
public void
a(nf arg0)
toNetwork(FriendlyByteBuf arg0)
method_8088(class_2540 arg0)
m_fckgmcfy(C_idfydwco arg0)
write(PacketByteBuf buf)
func_199564_a(PacketBuffer arg0)
public com.google.gson.JsonElement
c()
toJson()
method_8089()
m_hujuazoq()
toJson()
func_200304_c()
public boolean
d()
isEmpty()
method_8103()
m_agyeivdy()
isEmpty()
func_203189_d()
private static Ingredient
b(Stream<? extends bok$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)
func_209357_a(Stream<? extends Ingredient$IItemList> arg0)
public static Ingredient
a(brt... arg0)
of(ItemLike... arg0)
method_8091(class_1935... arg0)
m_mpihdccy(C_gmbqjnle... arg0)
ofItems(ItemConvertible... items)
func_199804_a(IItemProvider... arg0)
public static Ingredient
a(Stream<bly> arg0)
of(Stream<ItemStack> arg0)
method_26964(Stream<class_1799> arg0)
m_ssxtwbyt(Stream<C_sddaxwyk> arg0)
ofStacks(Stream<ItemStack> stacks)
func_234819_a_(Stream<ItemStack> arg0)
public static Ingredient
a(aej<blu> arg0)
of(Tag<Item> arg0)
method_8106(class_3494<class_1792> arg0)
m_sitzorfl(C_mokekhxv<C_vorddnax> arg0)
fromTag(Tag<Item> tag)
func_199805_a(ITag<Item> arg0)
public static Ingredient
b(nf arg0)
fromNetwork(FriendlyByteBuf arg0)
method_8086(class_2540 arg0)
m_imjytiop(C_idfydwco arg0)
fromPacket(PacketByteBuf buf)
func_199566_b(PacketBuffer arg0)
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)
func_199802_a(com.google.gson.JsonElement arg0)
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)
func_199803_a(com.google.gson.JsonObject arg0)
public ItemStack[]
a()
getItems()
method_8105()
m_zboalywg()
getMatchingStacksClient()
func_193365_a()
public static Ingredient
a(bly... arg0)
of(ItemStack... arg0)
method_8101(class_1799... arg0)
m_lzozmzmr(C_sddaxwyk... arg0)
ofStacks(ItemStack... stacks)
func_193369_a(ItemStack... arg0)