net.minecraft.advancements.critereon

public record DamagePredicate

be
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
a
dealtDamage
comp_1735
f_gdximifc
dealt
dealt
f_24903_
private final MinMaxBounds$Doubles
b
takenDamage
comp_1736
f_wyqqlrop
taken
taken
f_24904_
private final Optional<EntityPredicate>
c
sourceEntity
comp_1737
f_lytxqikq
sourceEntity
sourceEntity
f_24905_
private final Optional<Boolean>
d
blocked
comp_1738
f_zfsizhjq
blocked
blocked
f_24906_
private final Optional<DamageSourcePredicate>
e
type
comp_1739
f_sgomicfi
source
type
f_24907_

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(akr arg0, bho 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 static Optional<DamagePredicate>
a(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement arg0)
method_8839(com.google.gson.JsonElement arg0)
m_ycystaet(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement json)
fromJson(com.google.gson.JsonElement json)
m_24923_(com.google.gson.JsonElement p_24924_)
public com.google.gson.JsonElement
a()
serializeToJson()
method_8840()
m_rflgkteu()
toJson()
toJson()
m_24916_()
public MinMaxBounds$Doubles
b()
dealtDamage()
comp_1735()
m_sxirudqs()
dealt()
dealtDamage()
f_24903_()
public MinMaxBounds$Doubles
c()
takenDamage()
comp_1736()
m_luguclbj()
taken()
takenDamage()
f_24904_()
public Optional<EntityPredicate>
d()
sourceEntity()
comp_1737()
m_cpkporoh()
sourceEntity()
sourceEntity()
f_24905_()
public Optional<Boolean>
e()
blocked()
comp_1738()
m_cpiugugu()
blocked()
blocked()
f_24906_()
public Optional<DamageSourcePredicate>
f()
type()
comp_1739()
m_fkekngtn()
source()
type()
f_24907_()