net.minecraft.advancements.critereon

public class DamagePredicate

bc
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
public static final DamagePredicate
a
ANY
field_9520
ANY
f_24902_
private final MinMaxBounds$Doubles
b
dealtDamage
field_9523
dealt
f_24903_
private final MinMaxBounds$Doubles
c
takenDamage
field_9524
taken
f_24904_
private final EntityPredicate
d
sourceEntity
field_9521
sourceEntity
f_24905_
private final Boolean
e
blocked
field_9522
blocked
f_24906_
private final DamageSourcePredicate
f
type
field_9525
type
f_24907_

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(aig arg0, ben 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 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_()