net.minecraft.advancements.critereon

public record DamagePredicate

bk
net.minecraft.advancements.critereon.DamagePredicate
net.minecraft.class_2019
net.minecraft.predicate.DamagePredicate
net.minecraft.advancements.critereon.CriterionConditionDamage

Field summary

Modifier and TypeField
private final MinMaxBounds$Doubles
b
dealtDamage
comp_1735
dealt
private final MinMaxBounds$Doubles
c
takenDamage
comp_1736
taken
private final Optional<EntityPredicate>
d
sourceEntity
comp_1737
sourceEntity
private final Optional<Boolean>
e
blocked
comp_1738
blocked
private final Optional<DamageSourcePredicate>
f
type
comp_1739
type
public static final com.mojang.serialization.Codec<DamagePredicate>
a
CODEC
field_47238
CODEC

Constructor summary

ModifierConstructor
public (MinMaxBounds$Doubles dealt, MinMaxBounds$Doubles taken, Optional<EntityPredicate> arg2, Optional<Boolean> arg3, Optional<DamageSourcePredicate> arg4)

Method summary

Modifier and TypeMethod
public boolean
a(asi arg0, bua arg1, float arg2, float arg3, boolean arg4)
matches(ServerPlayer arg0, DamageSource arg1, float arg2, float arg3, boolean arg4)
method_8838(class_3222 arg0, class_1282 arg1, float arg2, float arg3, boolean arg4)
test(ServerPlayerEntity player, DamageSource source, float dealt, float taken, boolean blocked)
public MinMaxBounds$Doubles
a()
dealtDamage()
comp_1735()
dealt()
public MinMaxBounds$Doubles
b()
takenDamage()
comp_1736()
taken()
public Optional<EntityPredicate>
c()
sourceEntity()
comp_1737()
sourceEntity()
public Optional<Boolean>
d()
blocked()
comp_1738()
blocked()
public Optional<DamageSourcePredicate>
e()
type()
comp_1739()
type()