net.minecraft.advancements.critereon

public record ItemPotionsPredicate

implements SingleComponentItemPredicate<PotionContents>

cu
net.minecraft.advancements.critereon.ItemPotionsPredicate
net.minecraft.class_9359
net.minecraft.predicate.item.PotionContentsPredicate
net.minecraft.advancements.critereon.ItemPotionsPredicate

Field summary

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

Constructor summary

ModifierConstructor
public (HolderSet<Potion> arg0)

Method summary

Modifier and TypeMethod
public DataComponentType<PotionContents>
a()
componentType()
method_58163()
getComponentType()
public boolean
a(cwq arg0, cyp arg1)
matches(ItemStack arg0, PotionContents arg1)
method_58177(class_1799 arg0, class_1844 arg1)
test(ItemStack arg0, PotionContentsComponent arg1)
public static ItemSubPredicate
a(jv<cyn> arg0)
potions(HolderSet<Potion> arg0)
method_58178(class_6885<class_1842> arg0)
potionContents(RegistryEntryList<Potion> potions)
public HolderSet<Potion>
b()
potions()
comp_2461()
potions()