net.minecraft.advancements.critereon

public record ItemPotionsPredicate

implements SingleComponentItemPredicate<PotionContents>

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

Field summary

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

Constructor summary

ModifierConstructor
public (HolderSet<Potion> arg0)

Method summary

Modifier and TypeMethod
public DataComponentType<PotionContents>
a()
componentType()
method_58163()
getComponentType()
m_318698_()
public boolean
a(cuq arg0, cwu arg1)
matches(ItemStack arg0, PotionContents arg1)
method_58177(class_1799 arg0, class_1844 arg1)
test(ItemStack arg0, 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)
potionContents(RegistryEntryList<Potion> potions)
m_321367_(C_203233_<C_1440_> p_335554_)
public HolderSet<Potion>
b()
potions()
comp_2461()
potions()
f_314853_()