net.minecraft.advancements.critereon

public record ShotCrossbowTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

dq$a
net.minecraft.advancements.critereon.ShotCrossbowTrigger$TriggerInstance
net.minecraft.class_2123$class_2125
net.minecraft.advancement.criterion.ShotCrossbowCriterion$Conditions
net.minecraft.src.C_2232_$C_2233_
net.minecraft.advancements.critereon.CriterionTriggerShotCrossbow$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
player
f_303408_
private final Optional<ItemPredicate>
c
item
comp_2090
item
f_65477_
public static final com.mojang.serialization.Codec<ShotCrossbowTrigger$TriggerInstance>
a
CODEC
field_47334
CODEC
f_303851_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Criterion<ShotCrossbowTrigger$TriggerInstance>
a(Optional<cp> arg0)
shotCrossbow(Optional<ItemPredicate> arg0)
method_35323(Optional<class_2073> arg0)
create(Optional<ItemPredicate> item)
m_159431_(Optional<C_1529_> p_299474_)
public static Criterion<ShotCrossbowTrigger$TriggerInstance>
a(dbz arg0)
shotCrossbow(ItemLike arg0)
method_9120(class_1935 arg0)
create(ItemConvertible item)
m_65483_(C_1595_ p_65484_)
public boolean
a(cur arg0)
matches(ItemStack arg0)
method_9121(class_1799 arg0)
matches(ItemStack stack)
m_65481_(C_1391_ arg0)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
m_295156_()
public Optional<ItemPredicate>
b()
item()
comp_2090()
item()
f_65477_()