net.minecraft.advancements.critereon

public class DamagePredicate

at
net.minecraft.advancements.critereon.DamagePredicate
net.minecraft.class_2019
net.minecraft.predicate.DamagePredicate
net.minecraft.advancements.criterion.DamagePredicate
net.minecraft.server.v1_16_R1.CriterionConditionDamage

Field summary

Modifier and TypeField
public static final DamagePredicate
a
ANY
field_9520
ANY
field_192366_a
private final MinMaxBounds$Floats
b
dealtDamage
field_9523
dealt
field_192367_b
private final MinMaxBounds$Floats
c
takenDamage
field_9524
taken
field_192368_c
private final EntityPredicate
d
sourceEntity
field_9521
sourceEntity
field_192369_d
private final Boolean
e
blocked
field_9522
blocked
field_192370_e
private final DamageSourcePredicate
f
type
field_9525
type
field_192371_f

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(ze arg0, anw 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)
func_192365_a(ServerPlayerEntity arg0, DamageSource arg1, float arg2, float arg3, 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)
func_192364_a(com.google.gson.JsonElement arg0)
public com.google.gson.JsonElement
a()
serializeToJson()
method_8840()
toJson()
func_203977_a()