net.minecraft.advancements.critereon

public record ShotCrossbowTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

dx$a
net.minecraft.advancements.critereon.ShotCrossbowTrigger$TriggerInstance
net.minecraft.class_2123$class_2125
net.minecraft.advancement.criterion.ShotCrossbowCriterion$Conditions
net.minecraft.advancements.critereon.CriterionTriggerShotCrossbow$a

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Criterion<ShotCrossbowTrigger$TriggerInstance>
a(Optional<cu> arg0)
shotCrossbow(Optional<ItemPredicate> arg0)
method_35323(Optional<class_2073> arg0)
create(Optional<ItemPredicate> item)
public static Criterion<ShotCrossbowTrigger$TriggerInstance>
a(jr<cxl> arg0, dhh arg1)
shotCrossbow(HolderGetter<Item> arg0, ItemLike arg1)
method_9120(class_7871<class_1792> arg0, class_1935 arg1)
create(RegistryEntryLookup<Item> itemRegistry, ItemConvertible item)
public boolean
a(cxp arg0)
matches(ItemStack arg0)
method_9121(class_1799 arg0)
matches(ItemStack stack)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
public Optional<ItemPredicate>
b()
item()
comp_2090()
item()