net.minecraft.core.component.predicates

public record PotionsPredicate

implements SingleComponentItemPredicate<PotionContents>

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

Field summary

Modifier and TypeField
private final HolderSet<Potion>
c
potions
comp_2461
potions
public static final com.mojang.serialization.Codec<PotionsPredicate>
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(dao arg0)
matches(PotionContents arg0)
method_58177(class_1844 arg0)
test(PotionContentsComponent arg0)
public static DataComponentPredicate
a(ji<dam> arg0)
potions(HolderSet<Potion> arg0)
method_58178(class_6885<class_1842> arg0)
potionContents(RegistryEntryList<Potion> potions)
public HolderSet<Potion>
b()
potions()
comp_2461()
potions()