net.minecraft.advancements.critereon

public record UsingItemTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

ef$a
net.minecraft.advancements.critereon.UsingItemTrigger$TriggerInstance
net.minecraft.class_6409$class_6410
net.minecraft.advancement.criterion.UsingItemCriterion$Conditions
net.minecraft.src.C_141427_$C_141428_
net.minecraft.advancements.critereon.UsingItemTrigger$a

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Criterion<UsingItemTrigger$TriggerInstance>
a(bu$a arg0, cp$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)
m_163883_(C_1147_$C_1149_ p_163884_, C_1529_$C_1530_ p_163885_)
public boolean
a(cur arg0)
matches(ItemStack arg0)
method_37266(class_1799 arg0)
test(ItemStack stack)
m_163886_(C_1391_ arg0)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
m_295156_()
public Optional<ItemPredicate>
b()
item()
comp_2101()
item()
f_163879_()