net.minecraft.advancements.critereon

public record UsedTotemTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

em$a
net.minecraft.advancements.critereon.UsedTotemTrigger$TriggerInstance
net.minecraft.class_2148$class_2150
net.minecraft.advancement.criterion.UsedTotemCriterion$Conditions
net.minecraft.advancements.critereon.CriterionTriggerUsedTotem$a

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Criterion<UsedTotemTrigger$TriggerInstance>
a(cv arg0)
usedTotem(ItemPredicate arg0)
method_35399(class_2073 arg0)
create(ItemPredicate itemPredicate)
public static Criterion<UsedTotemTrigger$TriggerInstance>
a(js<cwm> arg0, dgi arg1)
usedTotem(HolderGetter<Item> arg0, ItemLike arg1)
method_9170(class_7871<class_1792> arg0, class_1935 arg1)
create(RegistryEntryLookup<Item> itemRegistry, ItemConvertible item)
public boolean
a(cwq arg0)
matches(ItemStack arg0)
method_9171(class_1799 arg0)
matches(ItemStack stack)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
public Optional<ItemPredicate>
b()
item()
comp_2100()
item()