net.minecraft.advancements.critereon

public record DamagePredicate

bi
net.minecraft.advancements.critereon.DamagePredicate
net.minecraft.class_2019
net.minecraft.unmapped.C_mzdoirue
net.minecraft.predicate.DamagePredicate
net.minecraft.predicate.DamagePredicate
net.minecraft.src.C_665_
net.minecraft.advancements.critereon.CriterionConditionDamage

Field summary

Modifier and TypeField
private final MinMaxBounds$Doubles
b
dealtDamage
comp_1735
f_gdximifc
dealt
dealt
f_24903_
private final MinMaxBounds$Doubles
c
takenDamage
comp_1736
f_wyqqlrop
taken
taken
f_24904_
private final Optional<EntityPredicate>
d
sourceEntity
comp_1737
f_lytxqikq
sourceEntity
sourceEntity
f_24905_
private final Optional<Boolean>
e
blocked
comp_1738
f_zfsizhjq
blocked
blocked
f_24906_
private final Optional<DamageSourcePredicate>
f
type
comp_1739
f_sgomicfi
type
type
f_24907_
public static final com.mojang.serialization.Codec<DamagePredicate>
a
CODEC
field_47238
f_gqhugtqe
CODEC
CODEC
f_303816_

Constructor summary

ModifierConstructor
public (MinMaxBounds$Doubles dealt, MinMaxBounds$Doubles taken, Optional<EntityPredicate> sourceEntity, Optional<Boolean> blocked, Optional<DamageSourcePredicate> type)

Method summary

Modifier and TypeMethod
public boolean
a(arg arg0, brp 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)
m_soqfuhzz(C_mxrobsgg arg0, C_sbxfkpyv arg1, float arg2, float arg3, boolean arg4)
test(ServerPlayerEntity player, DamageSource source, float dealt, float taken, boolean blocked)
test(ServerPlayerEntity player, DamageSource source, float dealt, float taken, boolean blocked)
m_24917_(C_13_ p_24919_, C_489_ p_24920_, float p_24921_, float p_24922_, boolean arg4)
public MinMaxBounds$Doubles
a()
dealtDamage()
comp_1735()
m_sxirudqs()
dealt()
dealtDamage()
f_24903_()
public MinMaxBounds$Doubles
b()
takenDamage()
comp_1736()
m_luguclbj()
taken()
takenDamage()
f_24904_()
public Optional<EntityPredicate>
c()
sourceEntity()
comp_1737()
m_cpkporoh()
sourceEntity()
sourceEntity()
f_24905_()
public Optional<Boolean>
d()
blocked()
comp_1738()
m_cpiugugu()
blocked()
blocked()
f_24906_()
public Optional<DamageSourcePredicate>
e()
type()
comp_1739()
m_fkekngtn()
type()
type()
f_24907_()