net.minecraft.advancements.critereon

public record TargetBlockTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

ei$a
net.minecraft.advancements.critereon.TargetBlockTrigger$TriggerInstance
net.minecraft.class_4851$class_4852
net.minecraft.advancement.criterion.TargetHitCriterion$Conditions
net.minecraft.advancements.critereon.CriterionTriggerTargetHit$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
player
private final MinMaxBounds$Ints
c
signalStrength
comp_2095
signalStrength
private final Optional<ContextAwarePredicate>
d
projectile
comp_2096
projectile
public static final com.mojang.serialization.Codec<TargetBlockTrigger$TriggerInstance>
a
CODEC
field_47345
CODEC

Constructor summary

ModifierConstructor
public (Optional<ContextAwarePredicate> playerPredicate, MinMaxBounds$Ints signalStrength, Optional<ContextAwarePredicate> projectile)

Method summary

Modifier and TypeMethod
public static Criterion<TargetBlockTrigger$TriggerInstance>
a(dj$d arg0, Optional<bh> arg1)
targetHit(MinMaxBounds$Ints arg0, Optional<ContextAwarePredicate> arg1)
method_24865(class_2096$class_2100 arg0, Optional<class_5258> arg1)
create(NumberRange$IntRange signalStrength, Optional<LootContextPredicate> projectile)
public boolean
a(ewp arg0, fby arg1, int arg2)
matches(LootContext arg0, Vec3 arg1, int arg2)
method_24952(class_47 arg0, class_243 arg1, int arg2)
test(LootContext projectile, Vec3d hitPos, int signalStrength)
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 MinMaxBounds$Ints
b()
signalStrength()
comp_2095()
signalStrength()
public Optional<ContextAwarePredicate>
c()
projectile()
comp_2096()
projectile()