net.minecraft.advancements.critereon

public class DamageSourcePredicate

as
net.minecraft.advancements.critereon.DamageSourcePredicate
net.minecraft.class_2022
net.minecraft.predicate.entity.DamageSourcePredicate
net.minecraft.advancements.criterion.DamageSourcePredicate
net.minecraft.server.v1_15_R1.CriterionConditionDamageSource

Field summary

Modifier and TypeField
public static final DamageSourcePredicate
a
ANY
field_9533
EMPTY
field_192449_a
private final Boolean
b
isProjectile
field_9535
isProjectile
field_192450_b
private final Boolean
c
isExplosion
field_9536
isExplosion
field_192451_c
private final Boolean
d
bypassesArmor
field_9532
bypassesArmor
field_192452_d
private final Boolean
e
bypassesInvulnerability
field_9531
bypassesInvulnerability
field_192453_e
private final Boolean
f
bypassesMagic
field_9537
bypassesMagic
field_192454_f
private final Boolean
g
isFire
field_9540
isFire
field_192455_g
private final Boolean
h
isMagic
field_9541
isMagic
field_192456_h
private final Boolean
i
isLightning
field_9538
isLightning
field_217953_i
private final EntityPredicate
j
directEntity
field_9534
directEntity
field_193419_i
private final EntityPredicate
k
sourceEntity
field_9539
sourceEntity
field_193420_j

Constructor summary

ModifierConstructor
public (Boolean arg0, Boolean arg1, Boolean arg2, Boolean arg3, Boolean arg4, Boolean arg5, Boolean arg6, Boolean arg7, EntityPredicate arg8, EntityPredicate arg9)

Method summary

Modifier and TypeMethod
public boolean
a(xe arg0, ajz arg1)
matches(ServerPlayer arg0, DamageSource arg1)
method_8847(class_3222 arg0, class_1282 arg1)
test(ServerPlayerEntity player, DamageSource arg1)
func_193418_a(ServerPlayerEntity arg0, DamageSource arg1)
public boolean
a(xd arg0, cvl arg1, ajz arg2)
matches(ServerLevel arg0, Vec3 arg1, DamageSource arg2)
method_8845(class_3218 arg0, class_243 arg1, class_1282 arg2)
test(ServerWorld world, Vec3d pos, DamageSource arg2)
func_217952_a(ServerWorld arg0, Vec3d arg1, DamageSource arg2)
public static DamageSourcePredicate
a(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement arg0)
method_8846(com.google.gson.JsonElement arg0)
deserialize(com.google.gson.JsonElement element)
func_192447_a(com.google.gson.JsonElement arg0)
private static Boolean
a(com.google.gson.JsonObject arg0, String arg1)
getOptionalBoolean(com.google.gson.JsonObject arg0, String arg1)
method_8849(com.google.gson.JsonObject arg0, String arg1)
getBoolean(com.google.gson.JsonObject obj, String name)
func_192448_a(com.google.gson.JsonObject arg0, String arg1)
public com.google.gson.JsonElement
a()
serializeToJson()
method_8848()
serialize()
func_203991_a()
private void
a(com.google.gson.JsonObject arg0, String arg1, Boolean arg2)
addOptionally(com.google.gson.JsonObject arg0, String arg1, Boolean arg2)
method_8850(com.google.gson.JsonObject arg0, String arg1, Boolean arg2)
addProperty(com.google.gson.JsonObject json, String key, Boolean arg2)
func_203992_a(com.google.gson.JsonObject arg0, String arg1, Boolean arg2)