net.minecraft.entity.damage

public class DamageSource

ajw
net.minecraft.world.damagesource.DamageSource
net.minecraft.class_1282
net.minecraft.entity.damage.DamageSource
net.minecraft.unmapped.C_sbxfkpyv
net.minecraft.util.DamageSource
net.minecraft.util.DamageSource

Field summary

Modifier and TypeField
public static final DamageSource
a
IN_FIRE
field_5867
IN_FIRE
f_zchwdsol
field_76372_a
IN_FIRE
public static final DamageSource
b
LIGHTNING_BOLT
field_5861
LIGHTNING_BOLT
f_vfcbizbp
field_180137_b
LIGHTNING_BOLT
public static final DamageSource
c
ON_FIRE
field_5854
ON_FIRE
f_iqwyoabj
field_76370_b
ON_FIRE
public static final DamageSource
d
LAVA
field_5863
LAVA
f_mhscijch
field_76371_c
LAVA
public static final DamageSource
e
HOT_FLOOR
field_5858
HOT_FLOOR
f_frdxyriv
field_190095_e
HOT_FLOOR
public static final DamageSource
f
IN_WALL
field_5855
IN_WALL
f_bnbhyfbm
field_76368_d
IN_WALL
public static final DamageSource
g
CRAMMING
field_5844
CRAMMING
f_nyvyutvi
field_191291_g
CRAMMING
public static final DamageSource
h
DROWN
field_5859
DROWN
f_ufcbgsmg
field_76369_e
DROWN
public static final DamageSource
i
STARVE
field_5852
STARVE
f_yfoatwjw
field_76366_f
STARVE
public static final DamageSource
j
CACTUS
field_5848
CACTUS
f_acagufxr
field_76367_g
CACTUS
public static final DamageSource
k
FALL
field_5868
FALL
f_asnflmdq
field_76379_h
FALL
public static final DamageSource
l
FLY_INTO_WALL
field_5843
FLY_INTO_WALL
f_pudawlyo
field_188406_j
FLY_INTO_WALL
public static final DamageSource
m
OUT_OF_WORLD
field_5849
OUT_OF_WORLD
f_hhdsnpxp
field_76380_i
OUT_OF_WORLD
public static final DamageSource
n
GENERIC
field_5869
GENERIC
f_kityaujk
field_76377_j
GENERIC
public static final DamageSource
o
MAGIC
field_5846
MAGIC
f_lhdwllwo
field_76376_m
MAGIC
public static final DamageSource
p
WITHER
field_5850
WITHER
f_dvouymrx
field_82727_n
WITHER
public static final DamageSource
q
ANVIL
field_5865
ANVIL
f_bhbwfumo
field_82728_o
ANVIL
public static final DamageSource
r
FALLING_BLOCK
field_5847
FALLING_BLOCK
f_eajhjlvj
field_82729_p
FALLING_BLOCK
public static final DamageSource
s
DRAGON_BREATH
field_5856
DRAGON_BREATH
f_beyxzsip
field_188407_q
DRAGON_BREATH
public static final DamageSource
t
FIREWORKS
field_5860
FIREWORKS
f_cdsfjswx
field_191552_t
FIREWORKS
public static final DamageSource
u
DRY_OUT
field_5842
DRYOUT
f_xrjapufb
field_205132_u
DRYOUT
public static final DamageSource
v
SWEET_BERRY_BUSH
field_16992
SWEET_BERRY_BUSH
f_ytjryffp
field_220302_v
SWEET_BERRY_BUSH
private boolean
x
bypassArmor
field_5840
bypassesArmor
f_ibpeyvzi
field_76374_o
isUnblockable
private boolean
y
bypassInvul
field_5857
outOfWorld
f_bnyjcdak
field_76385_p
isDamageAllowedInCreativeMode
private boolean
z
bypassMagic
field_5839
unblockable
f_wybfmsxl
field_151520_r
damageIsAbsolute
private float
A
exhaustion
field_5845
exhaustion
f_euqippln
field_76384_q
hungerDamage
private boolean
B
isFireSource
field_5866
fire
f_sqanizke
field_76383_r
fireDamage
private boolean
C
isProjectile
field_5853
projectile
f_kjlwqhiw
field_76382_s
projectile
private boolean
D
scalesWithDifficulty
field_5864
scaleWithDifficulty
f_mzfrtjuv
field_76381_t
difficultyScaled
private boolean
E
isMagic
field_5851
magic
f_yuptrztl
field_82730_x
magicDamage
private boolean
F
isExplosion
field_5862
explosive
f_nvckrvvi
field_76378_k
explosion
public final String
w
msgId
field_5841
name
f_gavgxibe
field_76373_n
damageType

Constructor summary

ModifierConstructor
protected (String name)

Method summary

Modifier and TypeMethod
public static DamageSource
a(akw arg0)
sting(LivingEntity arg0)
method_21748(class_1309 arg0)
sting(LivingEntity attacker)
m_iqixryso(C_usxaxydn arg0)
func_226252_a_(LivingEntity arg0)
causeBeeStingDamage(LivingEntity bee)
public static DamageSource
b(akw arg0)
mobAttack(LivingEntity arg0)
method_5511(class_1309 arg0)
mob(LivingEntity attacker)
m_hekgwbew(C_usxaxydn arg0)
func_76358_a(LivingEntity arg0)
causeMobDamage(LivingEntity mob)
public static DamageSource
a(akn arg0, akw arg1)
indirectMobAttack(Entity arg0, LivingEntity arg1)
method_5519(class_1297 arg0, class_1309 arg1)
mobProjectile(Entity projectile, LivingEntity attacker)
m_xginmroq(C_astfners arg0, C_usxaxydn arg1)
func_188403_a(Entity arg0, LivingEntity arg1)
causeIndirectDamage(Entity source, LivingEntity indirectEntityIn)
public static DamageSource
a(ayg arg0)
playerAttack(Player arg0)
method_5532(class_1657 arg0)
player(PlayerEntity attacker)
m_sdlvgcih(C_jzrpycqo arg0)
func_76365_a(PlayerEntity arg0)
causePlayerDamage(PlayerEntity player)
public static DamageSource
a(ayk arg0, akn arg1)
arrow(AbstractArrow arg0, Entity arg1)
method_5522(class_1665 arg0, class_1297 arg1)
arrow(ProjectileEntity projectile, Entity attacker)
m_sumgwknl(C_gstiksvs arg0, C_astfners arg1)
func_76353_a(AbstractArrowEntity arg0, Entity arg1)
causeArrowDamage(AbstractArrowEntity arrow, Entity indirectEntityIn)
public static DamageSource
a(akn arg0, akn arg1)
trident(Entity arg0, Entity arg1)
method_5520(class_1297 arg0, class_1297 arg1)
trident(Entity arg0, Entity arg1)
m_dvpnxcpz(C_astfners arg0, C_astfners arg1)
func_203096_a(Entity arg0, Entity arg1)
causeTridentDamage(Entity source, Entity indirectEntityIn)
public static DamageSource
a(ayl arg0, akn arg1)
fireball(AbstractHurtingProjectile arg0, Entity arg1)
method_5521(class_1668 arg0, class_1297 arg1)
explosiveProjectile(ExplosiveProjectileEntity projectile, Entity attacker)
m_teehknqb(C_rhioaoru arg0, C_astfners arg1)
func_76362_a(DamagingProjectileEntity arg0, Entity arg1)
causeFireballDamage(DamagingProjectileEntity fireball, Entity indirectEntityIn)
public static DamageSource
b(akn arg0, akn arg1)
thrown(Entity arg0, Entity arg1)
method_5524(class_1297 arg0, class_1297 arg1)
thrownProjectile(Entity projectile, Entity attacker)
m_rsmfdudq(C_astfners arg0, C_astfners arg1)
func_76356_a(Entity arg0, Entity arg1)
causeThrownDamage(Entity source, Entity indirectEntityIn)
public static DamageSource
c(akn arg0, akn arg1)
indirectMagic(Entity arg0, Entity arg1)
method_5536(class_1297 arg0, class_1297 arg1)
magic(Entity magic, Entity attacker)
m_nzzjkqtj(C_astfners arg0, C_astfners arg1)
func_76354_b(Entity arg0, Entity arg1)
causeIndirectMagicDamage(Entity source, Entity indirectEntityIn)
public static DamageSource
a(akn arg0)
thorns(Entity arg0)
method_5513(class_1297 arg0)
thorns(Entity attacker)
m_ozakegci(C_astfners arg0)
func_92087_a(Entity arg0)
causeThornsDamage(Entity source)
public static DamageSource
a(bjm arg0)
explosion(Explosion arg0)
method_5531(class_1927 arg0)
explosion(Explosion explosion)
m_ygucvxej(C_aahhrzpf arg0)
func_94539_a(Explosion arg0)
causeExplosionDamage(Explosion explosionIn)
public static DamageSource
c(akw arg0)
explosion(LivingEntity arg0)
method_5512(class_1309 arg0)
explosion(LivingEntity attacker)
m_gywgjvyd(C_usxaxydn arg0)
func_188405_b(LivingEntity arg0)
causeExplosionDamage(LivingEntity entityLivingBaseIn)
public static DamageSource
a()
netherBedExplosion()
method_5523()
netherBed()
m_kkaadpme()
func_199683_a()
netherBedExplosion()
public boolean
b()
isProjectile()
method_5533()
isProjectile()
m_ohwgevas()
func_76352_a()
isProjectile()
public DamageSource
c()
setProjectile()
method_5517()
setProjectile()
m_yuyxpprq()
func_76349_b()
setProjectile()
public boolean
d()
isExplosion()
method_5535()
isExplosive()
m_drhtvqyw()
func_94541_c()
isExplosion()
public DamageSource
e()
setExplosion()
method_5518()
setExplosive()
m_sjzucmif()
func_94540_d()
setExplosion()
public boolean
f()
isBypassArmor()
method_5537()
bypassesArmor()
m_vabctkze()
func_76363_c()
isUnblockable()
public float
g()
getFoodExhaustion()
method_5528()
getExhaustion()
m_gitjyyur()
func_76345_d()
getHungerDamage()
public boolean
h()
isBypassInvul()
method_5538()
isOutOfWorld()
m_bsoksvtv()
func_76357_e()
canHarmInCreative()
public boolean
i()
isBypassMagic()
method_5504()
isUnblockable()
m_dqrxdxud()
func_151517_h()
isDamageAbsolute()
public Entity
j()
getDirectEntity()
method_5526()
getSource()
m_ahzghinx()
func_76364_f()
getImmediateSource()
public Entity
k()
getEntity()
method_5529()
getAttacker()
m_qlknncwi()
func_76346_g()
getTrueSource()
protected DamageSource
l()
bypassArmor()
method_5508()
setBypassesArmor()
m_gbxedcoz()
func_76348_h()
setDamageBypassesArmor()
protected DamageSource
m()
bypassInvul()
method_5505()
setOutOfWorld()
m_ekarqkhq()
func_76359_i()
setDamageAllowedInCreativeMode()
protected DamageSource
n()
bypassMagic()
method_5509()
setUnblockable()
m_sglommlx()
func_151518_m()
setDamageIsAbsolute()
protected DamageSource
o()
setIsFire()
method_5507()
setFire()
m_vbtifkwg()
func_76361_j()
setFireDamage()
public Text
d(akw arg0)
getLocalizedDeathMessage(LivingEntity arg0)
method_5506(class_1309 arg0)
getDeathMessage(LivingEntity arg0)
m_ciovkfwb(C_usxaxydn arg0)
func_151519_b(LivingEntity arg0)
getDeathMessage(LivingEntity entityLivingBaseIn)
public boolean
p()
isFire()
method_5534()
isFire()
m_kunhooiu()
func_76347_k()
isFireDamage()
public String
q()
getMsgId()
method_5525()
getName()
m_plzuatal()
func_76355_l()
getDamageType()
public DamageSource
r()
setScalesWithDifficulty()
method_5516()
setScaledWithDifficulty()
m_bnxaxpzx()
func_76351_m()
setDifficultyScaled()
public boolean
s()
scalesWithDifficulty()
method_5514()
isScaledWithDifficulty()
m_znrzkbwp()
func_76350_n()
isDifficultyScaled()
public boolean
t()
isMagic()
method_5527()
getMagic()
m_ydpojizq()
func_82725_o()
isMagicDamage()
public DamageSource
u()
setMagic()
method_5515()
setUsesMagic()
m_hzcbboyy()
func_82726_p()
setMagicDamage()
public boolean
v()
isCreativePlayer()
method_5530()
isSourceCreativePlayer()
m_tdwacpom()
func_180136_u()
isCreativePlayer()
public Vec3d
w()
getSourcePosition()
method_5510()
getPosition()
m_kfwdxrel()
func_188404_v()
getDamageLocation()