net.minecraft.world.damagesource

public class DamageSource

ben
net.minecraft.world.damagesource.DamageSource
net.minecraft.class_1282
net.minecraft.unmapped.C_sbxfkpyv
net.minecraft.entity.damage.DamageSource
net.minecraft.entity.damage.DamageSource
net.minecraft.src.C_489_
net.minecraft.world.damagesource.DamageSource

Field summary

Modifier and TypeField
private final Holder<DamageType>
a
type
field_42291
f_iocgindi
type
type
f_268495_
private final Entity
b
causingEntity
field_42292
f_xjfdycct
attacker
attacker
f_268569_
private final Entity
c
directEntity
field_42293
f_zdwdpjjh
source
source
f_268595_
private final Vec3
d
damageSourcePosition
field_42294
f_sgqsofcj
position
position
f_268454_

Constructor summary

ModifierConstructor
private (Holder<DamageType> type, Entity source, Entity attacker, Vec3 position)
public (Holder<DamageType> type, Entity source, Entity attacker)
public (Holder<DamageType> type, Vec3 position)
public (Holder<DamageType> type, Entity attacker)
public (Holder<DamageType> type)

Method summary

Modifier and TypeMethod
public float
a()
getFoodExhaustion()
method_5528()
m_gitjyyur()
getExhaustion()
getExhaustion()
m_19377_()
public boolean
b()
isIndirect()
method_48790()
m_nuqhdyod()
isIndirect()
isIndirect()
m_269014_()
public Entity
c()
getDirectEntity()
method_5526()
m_ahzghinx()
getSource()
getSource()
m_7640_()
public Entity
d()
getEntity()
method_5529()
m_qlknncwi()
getAttacker()
getAttacker()
m_7639_()
public Component
a(bfz arg0)
getLocalizedDeathMessage(LivingEntity arg0)
method_5506(class_1309 arg0)
m_ciovkfwb(C_usxaxydn arg0)
getDeathMessage(LivingEntity killed)
getDeathMessage(LivingEntity entity)
m_6157_(C_524_ arg0)
public String
e()
getMsgId()
method_5525()
m_plzuatal()
getName()
getName()
m_19385_()
public boolean
f()
scalesWithDifficulty()
method_5514()
m_znrzkbwp()
isScaledWithDifficulty()
isScaledWithDifficulty()
m_7986_()
public boolean
g()
isCreativePlayer()
method_5530()
m_tdwacpom()
isSourceCreativePlayer()
isSourceCreativePlayer()
m_19390_()
public Vec3
h()
getSourcePosition()
method_5510()
m_kfwdxrel()
getPosition()
getPosition()
m_7270_()
public Vec3
i()
sourcePositionRaw()
method_48791()
m_tjhbofzs()
getStoredPosition()
getRawPosition()
m_269181_()
public boolean
a(anl<bep> arg0)
is(TagKey<DamageType> arg0)
method_48789(class_6862<class_8110> arg0)
m_rduaupag(C_ednuhnnn<C_vkikwfla> arg0)
isIn(TagKey<DamageType> tag)
isTypeIn(TagKey<DamageType> tagKey)
m_269533_(C_203208_<C_268380_> arg0)
public boolean
a(acp<bep> arg0)
is(ResourceKey<DamageType> arg0)
method_49708(class_5321<class_8110> arg0)
m_axjnyfbm(C_xhhleach<C_vkikwfla> arg0)
isOf(RegistryKey<DamageType> typeKey)
isType(RegistryKey<DamageType> registryKey)
m_276093_(C_5264_<C_268380_> arg0)
public DamageType
j()
type()
method_48792()
m_ieywspxf()
getType()
getType()
m_269415_()
public Holder<DamageType>
k()
typeHolder()
method_48793()
m_uyagfncu()
getTypeRegistryEntry()
getTypeHolder()
m_269150_()