net.minecraft.advancements.critereon

public record UsedTotemTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

ei$a
net.minecraft.advancements.critereon.UsedTotemTrigger$TriggerInstance
net.minecraft.class_2148$class_2150
net.minecraft.advancement.criterion.UsedTotemCriterion$Conditions
net.minecraft.src.C_2631_$C_2632_
net.minecraft.advancements.critereon.CriterionTriggerUsedTotem$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
player
f_302542_
private final Optional<ItemPredicate>
c
item
comp_2100
item
f_74446_
public static final com.mojang.serialization.Codec<UsedTotemTrigger$TriggerInstance>
a
CODEC
field_47351
CODEC
f_303672_

Constructor summary

ModifierConstructor
public (Optional<ContextAwarePredicate> playerPredicate, Optional<ItemPredicate> item)

Method summary

Modifier and TypeMethod
public static Criterion<UsedTotemTrigger$TriggerInstance>
a(cs arg0)
usedTotem(ItemPredicate arg0)
method_35399(class_2073 arg0)
create(ItemPredicate itemPredicate)
m_74452_(C_1529_ p_298404_)
public static Criterion<UsedTotemTrigger$TriggerInstance>
a(dcv arg0)
usedTotem(ItemLike arg0)
method_9170(class_1935 arg0)
create(ItemConvertible item)
m_163724_(C_1595_ p_300178_)
public boolean
a(cuq arg0)
matches(ItemStack arg0)
method_9171(class_1799 arg0)
matches(ItemStack stack)
m_74450_(C_1391_ arg0)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
m_295156_()
public Optional<ItemPredicate>
b()
item()
comp_2100()
item()
f_74446_()