net.minecraft.core.component.predicates

public record PotionsPredicate

implements SingleComponentItemPredicate<PotionContents>

ky
net.minecraft.core.component.predicates.PotionsPredicate
net.minecraft.class_9359
net.minecraft.unmapped.C_oornzxib
net.minecraft.predicate.item.PotionContentsPredicate
net.minecraft.unmapped.C_oornzxib

Field summary

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

Constructor summary

ModifierConstructor
public (HolderSet<Potion> potions)

Method summary

Modifier and TypeMethod
public DataComponentType<PotionContents>
a()
componentType()
method_58163()
m_rbcgkvlq()
getComponentType()
public boolean
a(daz arg0)
matches(PotionContents arg0)
method_58177(class_1844 arg0)
m_ejfgblab(C_xpqegwnr arg0)
test(PotionContentsComponent arg0)
m_fowfonja(PotionContentsComponent arg0)
public static DataComponentPredicate
a(ji<dax> arg0)
potions(HolderSet<Potion> arg0)
method_58178(class_6885<class_1842> arg0)
m_eulucbgw(C_odfnijdo<C_vdaqizos> arg0)
potionContents(RegistryEntryList<Potion> potions)
m_eulucbgw(HolderSet<Potion> potions)
public HolderSet<Potion>
b()
potions()
comp_2461()
m_mghktmwo()
potions()
potions()