net.minecraft.advancements.critereon

public record BrewedPotionTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

ay$a
net.minecraft.advancements.critereon.BrewedPotionTrigger$TriggerInstance
net.minecraft.class_1996$class_1998
net.minecraft.advancement.criterion.BrewedPotionCriterion$Conditions
net.minecraft.src.C_477_$C_478_
net.minecraft.advancements.critereon.CriterionTriggerBrewedPotion$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
player
f_303062_
private final Optional<Holder<Potion>>
c
potion
comp_2036
potion
f_19137_
public static final com.mojang.serialization.Codec<BrewedPotionTrigger$TriggerInstance>
a
CODEC
field_47229
CODEC
f_303483_

Constructor summary

ModifierConstructor
public (Optional<ContextAwarePredicate> playerPredicate, Optional<Holder<Potion>> arg1)

Method summary

Modifier and TypeMethod
public static Criterion<BrewedPotionTrigger$TriggerInstance>
b()
brewedPotion()
method_8791()
any()
m_19145_()
public boolean
a(jm<cws> arg0)
matches(Holder<Potion> arg0)
method_8790(class_6880<class_1842> arg0)
matches(RegistryEntry<Potion> potion)
m_19141_(C_203228_<C_1440_> arg0)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
m_295156_()
public Optional<Holder<Potion>>
c()
potion()
comp_2036()
potion()
f_19137_()