net.minecraft.world.damagesource

public class DamageSource

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

Field summary

Modifier and TypeField
public static final DamageSource
a
IN_FIRE
field_5867
f_zchwdsol
IN_FIRE
f_19305_
public static final DamageSource
b
LIGHTNING_BOLT
field_5861
f_vfcbizbp
LIGHTNING_BOLT
f_19306_
public static final DamageSource
c
ON_FIRE
field_5854
f_iqwyoabj
ON_FIRE
f_19307_
public static final DamageSource
d
LAVA
field_5863
f_mhscijch
LAVA
f_19308_
public static final DamageSource
e
HOT_FLOOR
field_5858
f_frdxyriv
HOT_FLOOR
f_19309_
public static final DamageSource
f
IN_WALL
field_5855
f_bnbhyfbm
IN_WALL
f_19310_
public static final DamageSource
g
CRAMMING
field_5844
f_nyvyutvi
CRAMMING
f_19311_
public static final DamageSource
h
DROWN
field_5859
f_ufcbgsmg
DROWN
f_19312_
public static final DamageSource
i
STARVE
field_5852
f_yfoatwjw
STARVE
f_19313_
public static final DamageSource
j
CACTUS
field_5848
f_acagufxr
CACTUS
f_19314_
public static final DamageSource
k
FALL
field_5868
f_asnflmdq
FALL
f_19315_
public static final DamageSource
l
FLY_INTO_WALL
field_5843
f_pudawlyo
FLY_INTO_WALL
f_19316_
public static final DamageSource
m
OUT_OF_WORLD
field_5849
f_hhdsnpxp
OUT_OF_WORLD
f_19317_
public static final DamageSource
n
GENERIC
field_5869
f_kityaujk
GENERIC
f_19318_
public static final DamageSource
o
MAGIC
field_5846
f_lhdwllwo
MAGIC
f_19319_
public static final DamageSource
p
WITHER
field_5850
f_dvouymrx
WITHER
f_19320_
public static final DamageSource
q
ANVIL
field_5865
f_bhbwfumo
ANVIL
f_19321_
public static final DamageSource
r
FALLING_BLOCK
field_5847
f_eajhjlvj
FALLING_BLOCK
f_19322_
public static final DamageSource
s
DRAGON_BREATH
field_5856
f_beyxzsip
DRAGON_BREATH
f_19323_
public static final DamageSource
t
DRY_OUT
field_5842
f_xrjapufb
DRYOUT
f_19324_
public static final DamageSource
u
SWEET_BERRY_BUSH
field_16992
f_ytjryffp
SWEET_BERRY_BUSH
f_19325_
public static final DamageSource
v
FREEZE
field_27856
f_pbglpmpx
FREEZE
f_146701_
public static final DamageSource
w
FALLING_STALACTITE
field_28099
f_jemgoxee
FALLING_STALACTITE
f_146702_
public static final DamageSource
x
STALAGMITE
field_28400
f_fpdzppwb
STALAGMITE
f_146703_
private boolean
z
damageHelmet
field_28100
f_spwvhdnd
fallingBlock
f_146704_
private boolean
A
bypassArmor
field_5840
f_ibpeyvzi
bypassesArmor
f_19327_
private boolean
B
bypassInvul
field_5857
f_bnyjcdak
outOfWorld
f_19328_
private boolean
C
bypassMagic
field_5839
f_wybfmsxl
unblockable
f_19329_
private float
D
exhaustion
field_5845
f_euqippln
exhaustion
f_19330_
private boolean
E
isFireSource
field_5866
f_sqanizke
fire
f_19300_
private boolean
F
isProjectile
field_5853
f_kjlwqhiw
projectile
f_19301_
private boolean
G
scalesWithDifficulty
field_5864
f_mzfrtjuv
scaleWithDifficulty
f_19302_
private boolean
H
isMagic
field_5851
f_yuptrztl
magic
f_19303_
private boolean
I
isExplosion
field_5862
f_nvckrvvi
explosive
f_19304_
private boolean
J
isFall
field_28399
f_xasmgxdc
fromFalling
f_146700_
private boolean
K
noAggro
field_34004
f_tiarojgc
neutral
f_181119_
public final String
y
msgId
field_5841
f_gavgxibe
name
f_19326_

Constructor summary

ModifierConstructor
protected (String name)

Method summary

Modifier and TypeMethod
public static DamageSource
b(axh arg0)
sting(LivingEntity arg0)
method_21748(class_1309 arg0)
m_iqixryso(C_usxaxydn arg0)
sting(LivingEntity attacker)
m_19364_(C_524_ p_19365_)
public static DamageSource
c(axh arg0)
mobAttack(LivingEntity arg0)
method_5511(class_1309 arg0)
m_hekgwbew(C_usxaxydn arg0)
mob(LivingEntity attacker)
m_19370_(C_524_ p_19371_)
public static DamageSource
a(awt arg0, axh arg1)
indirectMobAttack(Entity arg0, LivingEntity arg1)
method_5519(class_1297 arg0, class_1309 arg1)
m_xginmroq(C_astfners arg0, C_usxaxydn arg1)
mobProjectile(Entity projectile, LivingEntity attacker)
m_19340_(C_507_ p_19341_, C_524_ p_19342_)
public static DamageSource
a(bnr arg0)
playerAttack(Player arg0)
method_5532(class_1657 arg0)
m_sdlvgcih(C_jzrpycqo arg0)
player(PlayerEntity attacker)
m_19344_(C_1141_ p_19345_)
public static DamageSource
a(bnv arg0, awt arg1)
arrow(AbstractArrow arg0, Entity arg1)
method_5522(class_1665 arg0, class_1297 arg1)
m_sumgwknl(C_gstiksvs arg0, C_astfners arg1)
arrow(PersistentProjectileEntity projectile, Entity attacker)
m_19346_(C_1151_ p_19347_, C_507_ p_19348_)
public static DamageSource
a(awt arg0, awt arg1)
trident(Entity arg0, Entity arg1)
method_5520(class_1297 arg0, class_1297 arg1)
m_dvpnxcpz(C_astfners arg0, C_astfners arg1)
trident(Entity trident, Entity attacker)
m_19337_(C_507_ p_19338_, C_507_ p_19339_)
public static DamageSource
a(boc arg0, awt arg1)
fireworks(FireworkRocketEntity arg0, Entity arg1)
method_24907(class_1671 arg0, class_1297 arg1)
m_rdrwvsuv(C_huldsolp arg0, C_astfners arg1)
firework(FireworkRocketEntity firework, Entity attacker)
m_19352_(C_1159_ p_19353_, C_507_ p_19354_)
public static DamageSource
a(bob arg0, awt arg1)
fireball(Fireball arg0, Entity arg1)
method_5521(class_3855 arg0, class_1297 arg1)
m_teehknqb(C_hgilnbps arg0, C_astfners arg1)
fireball(AbstractFireballEntity fireball, Entity attacker)
m_19349_(C_1158_ p_19350_, C_507_ p_19351_)
public static DamageSource
a(bou arg0, awt arg1)
witherSkull(WitherSkull arg0, Entity arg1)
method_29238(class_1687 arg0, class_1297 arg1)
m_thuwabxf(C_vzureqzt arg0, C_astfners arg1)
witherSkull(WitherSkullEntity witherSkull, Entity attacker)
m_19355_(C_1180_ p_19356_, C_507_ p_19357_)
public static DamageSource
b(awt arg0, awt arg1)
thrown(Entity arg0, Entity arg1)
method_5524(class_1297 arg0, class_1297 arg1)
m_rsmfdudq(C_astfners arg0, C_astfners arg1)
thrownProjectile(Entity projectile, Entity attacker)
m_19361_(C_507_ p_19362_, C_507_ p_19363_)
public static DamageSource
c(awt arg0, awt arg1)
indirectMagic(Entity arg0, Entity arg1)
method_5536(class_1297 arg0, class_1297 arg1)
m_nzzjkqtj(C_astfners arg0, C_astfners arg1)
magic(Entity magic, Entity attacker)
m_19367_(C_507_ p_19368_, C_507_ p_19369_)
public static DamageSource
a(awt arg0)
thorns(Entity arg0)
method_5513(class_1297 arg0)
m_ozakegci(C_astfners arg0)
thorns(Entity attacker)
m_19335_(C_507_ p_19336_)
public static DamageSource
a(bzv arg0)
explosion(Explosion arg0)
method_5531(class_1927 arg0)
m_ygucvxej(C_aahhrzpf arg0)
explosion(Explosion explosion)
m_19358_(C_1578_ p_19359_)
public static DamageSource
d(axh arg0)
explosion(LivingEntity arg0)
method_5512(class_1309 arg0)
m_gywgjvyd(C_usxaxydn arg0)
explosion(LivingEntity attacker)
m_19373_(C_524_ p_19374_)
public static DamageSource
a()
badRespawnPointExplosion()
method_5523()
m_qchoewsw()
badRespawnPoint()
m_19334_()
public boolean
b()
isProjectile()
method_5533()
m_ohwgevas()
isProjectile()
m_19360_()
public DamageSource
c()
setProjectile()
method_5517()
m_yuyxpprq()
setProjectile()
m_19366_()
public boolean
d()
isExplosion()
method_5535()
m_drhtvqyw()
isExplosive()
m_19372_()
public DamageSource
e()
setExplosion()
method_5518()
m_sjzucmif()
setExplosive()
m_19375_()
public boolean
f()
isBypassArmor()
method_5537()
m_vabctkze()
bypassesArmor()
m_19376_()
public boolean
g()
isDamageHelmet()
method_32872()
m_ppchabei()
isFallingBlock()
m_146705_()
public float
h()
getFoodExhaustion()
method_5528()
m_gitjyyur()
getExhaustion()
m_19377_()
public boolean
i()
isBypassInvul()
method_5538()
m_bsoksvtv()
isOutOfWorld()
m_19378_()
public boolean
j()
isBypassMagic()
method_5504()
m_dqrxdxud()
isUnblockable()
m_19379_()
public Entity
k()
getDirectEntity()
method_5526()
m_ahzghinx()
getSource()
m_7640_()
public Entity
l()
getEntity()
method_5529()
m_qlknncwi()
getAttacker()
m_7639_()
protected DamageSource
m()
bypassArmor()
method_5508()
m_gbxedcoz()
setBypassesArmor()
m_19380_()
protected DamageSource
n()
damageHelmet()
method_32873()
m_ovzwttcb()
setFallingBlock()
m_146706_()
protected DamageSource
o()
bypassInvul()
method_5505()
m_ekarqkhq()
setOutOfWorld()
m_19381_()
protected DamageSource
p()
bypassMagic()
method_5509()
m_sglommlx()
setUnblockable()
m_19382_()
protected DamageSource
q()
setIsFire()
method_5507()
m_vbtifkwg()
setFire()
m_19383_()
public DamageSource
r()
setNoAggro()
method_37353()
m_ztilcozj()
setNeutral()
m_181120_()
public Component
a(axh arg0)
getLocalizedDeathMessage(LivingEntity arg0)
method_5506(class_1309 arg0)
m_ciovkfwb(C_usxaxydn arg0)
getDeathMessage(LivingEntity entity)
m_6157_(C_524_ arg0)
public boolean
s()
isFire()
method_5534()
m_kunhooiu()
isFire()
m_19384_()
public boolean
t()
isNoAggro()
method_37354()
m_fauskiwn()
isNeutral()
m_181121_()
public String
u()
getMsgId()
method_5525()
m_plzuatal()
getName()
m_19385_()
public DamageSource
v()
setScalesWithDifficulty()
method_5516()
m_bnxaxpzx()
setScaledWithDifficulty()
m_19386_()
public boolean
w()
scalesWithDifficulty()
method_5514()
m_znrzkbwp()
isScaledWithDifficulty()
m_7986_()
public boolean
x()
isMagic()
method_5527()
m_ydpojizq()
isMagic()
m_19387_()
public DamageSource
y()
setMagic()
method_5515()
m_hzcbboyy()
setUsesMagic()
m_19389_()
public boolean
z()
isFall()
method_33329()
m_ptucnpmv()
isFromFalling()
m_146707_()
public DamageSource
A()
setIsFall()
method_33330()
m_ocrstvvu()
setFromFalling()
m_146708_()
public boolean
B()
isCreativePlayer()
method_5530()
m_tdwacpom()
isSourceCreativePlayer()
m_19390_()
public Vec3
C()
getSourcePosition()
method_5510()
m_kfwdxrel()
getPosition()
m_7270_()