net.minecraft.advancements.critereon

public record DamageSourcePredicate

bl
net.minecraft.advancements.critereon.DamageSourcePredicate
net.minecraft.class_2022
net.minecraft.unmapped.C_pbkrjvwn
net.minecraft.predicate.entity.DamageSourcePredicate
net.minecraft.predicate.entity.DamageSourcePredicate
net.minecraft.src.C_696_
net.minecraft.advancements.critereon.CriterionConditionDamageSource

Field summary

Modifier and TypeField
private final List<TagPredicate<DamageType>>
b
tags
comp_1740
f_lutnusdz
tags
tags
f_268608_
private final Optional<EntityPredicate>
c
directEntity
comp_1741
f_lmuwnwvu
directEntity
directEntity
f_25429_
private final Optional<EntityPredicate>
d
sourceEntity
comp_1742
f_bwswqydl
sourceEntity
sourceEntity
f_25430_
private final Optional<Boolean>
e
isDirect
comp_2793
f_qviqdmyl
isDirect
isDirect
f_337324_
public static final com.mojang.serialization.Codec<DamageSourcePredicate>
a
CODEC
field_45727
f_nmldipdq
CODEC
CODEC
f_290670_

Constructor summary

ModifierConstructor
public (List<TagPredicate<DamageType>> tagPredicates, Optional<EntityPredicate> directEntity, Optional<EntityPredicate> sourceEntity, Optional<Boolean> isDirect)

Method summary

Modifier and TypeMethod
public boolean
a(asi arg0, bua arg1)
matches(ServerPlayer arg0, DamageSource arg1)
method_8847(class_3222 arg0, class_1282 arg1)
m_tupxouxz(C_mxrobsgg arg0, C_sbxfkpyv arg1)
test(ServerPlayerEntity player, DamageSource damageSource)
test(ServerPlayerEntity player, DamageSource damageSource)
m_25448_(C_13_ p_25450_, C_489_ arg1)
public boolean
a(ash arg0, fby arg1, bua arg2)
matches(ServerLevel arg0, Vec3 arg1, DamageSource arg2)
method_8845(class_3218 arg0, class_243 arg1, class_1282 arg2)
m_ppkkwrwq(C_bdwnwhiu arg0, C_vgpupfxx arg1, C_sbxfkpyv arg2)
test(ServerWorld world, Vec3d pos, DamageSource damageSource)
test(ServerWorld world, Vec3d pos, DamageSource damageSource)
m_25444_(C_12_ p_25446_, C_3046_ p_25447_, C_489_ arg2)
public List<TagPredicate<DamageType>>
a()
tags()
comp_1740()
m_byplynbe()
tags()
tags()
f_268608_()
public Optional<EntityPredicate>
b()
directEntity()
comp_1741()
m_vwdaqpcm()
directEntity()
directEntity()
f_25429_()
public Optional<EntityPredicate>
c()
sourceEntity()
comp_1742()
m_sbiilykq()
sourceEntity()
sourceEntity()
f_25430_()
public Optional<Boolean>
d()
isDirect()
comp_2793()
m_ycycpqrb()
isDirect()
isDirect()
f_337324_()