net.minecraft.advancements.critereon

public record ItemPotionsPredicate

implements SingleComponentItemPredicate<PotionContents>

cr
net.minecraft.advancements.critereon.ItemPotionsPredicate
net.minecraft.class_9359
net.minecraft.unmapped.C_cjwyqncr
net.minecraft.predicate.item.PotionContentsPredicate
net.minecraft.unmapped.C_cjwyqncr
net.minecraft.src.C_313667_
net.minecraft.advancements.critereon.ItemPotionsPredicate

Field summary

Modifier and TypeField
private final HolderSet<Potion>
c
potions
comp_2461
f_ifkhqjqg
potions
potions
f_314853_
public static final com.mojang.serialization.Codec<ItemPotionsPredicate>
a
CODEC
field_49802
f_khhbmlhr
CODEC
CODEC
f_316881_

Constructor summary

ModifierConstructor
public (HolderSet<Potion> potions)

Method summary

Modifier and TypeMethod
public DataComponentType<PotionContents>
a()
componentType()
method_58163()
m_rbcgkvlq()
getComponentType()
m_318698_()
public boolean
a(cuq arg0, cwu arg1)
matches(ItemStack arg0, PotionContents arg1)
method_58177(class_1799 arg0, class_1844 arg1)
m_ivamjtha(C_sddaxwyk arg0, C_xpqegwnr arg1)
test(ItemStack arg0, PotionContentsComponent arg1)
m_ukkbbchk(ItemStack stack, PotionContentsComponent arg1)
m_318913_(C_1391_ p_330228_, C_313529_ arg1)
public static ItemSubPredicate
a(jq<cws> arg0)
potions(HolderSet<Potion> arg0)
method_58178(class_6885<class_1842> arg0)
m_skputdly(C_odfnijdo<C_almkolgw> arg0)
potionContents(RegistryEntryList<Potion> potions)
m_skputdly(HolderSet<Potion> potions)
m_321367_(C_203233_<C_1440_> p_335554_)
public HolderSet<Potion>
b()
potions()
comp_2461()
m_uaynosgg()
potions()
potions()
f_314853_()