net.minecraft.advancements.critereon

public record DamagePredicate

be
net.minecraft.advancements.critereon.DamagePredicate
net.minecraft.class_2019
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
dealt
f_24903_
private final MinMaxBounds$Doubles
b
takenDamage
comp_1736
taken
f_24904_
private final Optional<EntityPredicate>
c
sourceEntity
comp_1737
sourceEntity
f_24905_
private final Optional<Boolean>
d
blocked
comp_1738
blocked
f_24906_
private final Optional<DamageSourcePredicate>
e
type
comp_1739
source
f_24907_

Constructor summary

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

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)
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)
fromJson(com.google.gson.JsonElement json)
m_24923_(com.google.gson.JsonElement p_24924_)
public com.google.gson.JsonElement
a()
serializeToJson()
method_8840()
toJson()
m_24916_()
public MinMaxBounds$Doubles
b()
dealtDamage()
comp_1735()
dealt()
f_24903_()
public MinMaxBounds$Doubles
c()
takenDamage()
comp_1736()
taken()
f_24904_()
public Optional<EntityPredicate>
d()
sourceEntity()
comp_1737()
sourceEntity()
f_24905_()
public Optional<Boolean>
e()
blocked()
comp_1738()
blocked()
f_24906_()
public Optional<DamageSourcePredicate>
f()
type()
comp_1739()
source()
f_24907_()