net.minecraft.advancements.critereon

public record UsingItemTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

en$a
net.minecraft.advancements.critereon.UsingItemTrigger$TriggerInstance
net.minecraft.class_6409$class_6410
net.minecraft.advancement.criterion.UsingItemCriterion$Conditions
net.minecraft.advancements.critereon.UsingItemTrigger$a

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Criterion<UsingItemTrigger$TriggerInstance>
a(bx$a arg0, cv$a arg1)
lookingAt(EntityPredicate$Builder arg0, ItemPredicate$Builder arg1)
method_37265(class_2048$class_2049 arg0, class_2073$class_2074 arg1)
create(EntityPredicate$Builder player, ItemPredicate$Builder item)
public boolean
a(cwq arg0)
matches(ItemStack arg0)
method_37266(class_1799 arg0)
test(ItemStack stack)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
public Optional<ItemPredicate>
b()
item()
comp_2101()
item()