net.minecraft.advancements.critereon

public record TargetBlockTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

eb$a
net.minecraft.advancements.critereon.TargetBlockTrigger$TriggerInstance
net.minecraft.class_4851$class_4852
net.minecraft.advancement.criterion.TargetHitCriterion$Conditions
net.minecraft.src.C_2425_$C_2426_
net.minecraft.advancements.critereon.CriterionTriggerTargetHit$a

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Criterion<TargetBlockTrigger$TriggerInstance>
a(de$d arg0, Optional<bf> 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)
m_285906_(C_1863_$C_1867_ p_286700_, Optional<C_285556_> p_299065_)
public boolean
a(eqk arg0, evt 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)
m_70241_(C_2811_ p_70243_, C_3046_ p_70244_, int arg2)
public void
a(bg arg0)
validate(CriterionValidator arg0)
method_54938(class_8944 arg0)
validate(LootContextPredicateValidator arg0)
m_7683_(C_302068_ arg0)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
m_295156_()
public MinMaxBounds$Ints
b()
signalStrength()
comp_2095()
signalStrength()
f_70230_()
public Optional<ContextAwarePredicate>
c()
projectile()
comp_2096()
projectile()
f_70231_()