net.minecraft.advancements.critereon

public record KilledByArrowTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

db$a
net.minecraft.advancements.critereon.KilledByArrowTrigger$TriggerInstance
net.minecraft.class_2076$class_2078
net.minecraft.advancement.criterion.KilledByArrowCriterion$Conditions
net.minecraft.advancements.critereon.KilledByArrowTrigger$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
player
private final List<ContextAwarePredicate>
c
victims
comp_2066
victims
private final MinMaxBounds$Ints
d
uniqueEntityTypes
comp_2067
uniqueEntityTypes
private final Optional<ItemPredicate>
e
firedFromWeapon
comp_3212
firedFromWeapon
public static final com.mojang.serialization.Codec<KilledByArrowTrigger$TriggerInstance>
a
CODEC
field_47268
CODEC

Constructor summary

ModifierConstructor
public (Optional<ContextAwarePredicate> playerPredicate, List<ContextAwarePredicate> victims, MinMaxBounds$Ints uniqueEntityTypes, Optional<ItemPredicate> arg3)

Method summary

Modifier and TypeMethod
public static Criterion<KilledByArrowTrigger$TriggerInstance>
a(jr<cxl> arg0, bw$a... arg1)
crossbowKilled(HolderGetter<Item> arg0, EntityPredicate$Builder... arg1)
method_8986(class_7871<class_1792> arg0, class_2048$class_2049... arg1)
createCrossbow(RegistryEntryLookup<Item> itemRegistry, EntityPredicate$Builder... victims)
public static Criterion<KilledByArrowTrigger$TriggerInstance>
a(jr<cxl> arg0, dj$d arg1)
crossbowKilled(HolderGetter<Item> arg0, MinMaxBounds$Ints arg1)
method_8987(class_7871<class_1792> arg0, class_2096$class_2100 arg1)
createCrossbow(RegistryEntryLookup<Item> itemRegistry, NumberRange$IntRange uniqueEntityTypeCount)
public boolean
a(Collection<ewp> arg0, int arg1, cxp arg2)
matches(Collection<LootContext> arg0, int arg1, ItemStack arg2)
method_8988(Collection<class_47> arg0, int arg1, class_1799 arg2)
matches(Collection<LootContext> victimContexts, int uniqueEntityTypeCount, ItemStack weapon)
public void
a(bi arg0)
validate(CriterionValidator arg0)
method_54938(class_8944 arg0)
validate(LootContextPredicateValidator arg0)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
public List<ContextAwarePredicate>
b()
victims()
comp_2066()
victims()
public MinMaxBounds$Ints
c()
uniqueEntityTypes()
comp_2067()
uniqueEntityTypes()
public Optional<ItemPredicate>
d()
firedFromWeapon()
comp_3212()
firedFromWeapon()