net.minecraft.entity.damage

public class DamageSource

ur
net.minecraft.class_856
net.minecraft.entity.damage.DamageSource
net.minecraft.util.DamageSource
net.minecraft.util.DamageSource

Field summary

Modifier and TypeField
public static final DamageSource
a
field_3128
FIRE
field_76372_a
IN_FIRE
public static final DamageSource
b
field_11888
LIGHTNING_BOLT
field_180137_b
LIGHTNING_BOLT
public static final DamageSource
c
field_3129
ON_FIRE
field_76370_b
ON_FIRE
public static final DamageSource
d
field_3130
LAVA
field_76371_c
LAVA
public static final DamageSource
e
field_15025
HOT_FLOOR
field_190095_e
HOT_FLOOR
public static final DamageSource
f
field_3131
IN_WALL
field_76368_d
IN_WALL
public static final DamageSource
g
field_15441
CRAMMING
field_191291_g
CRAMMING
public static final DamageSource
h
field_3132
DROWN
field_76369_e
DROWN
public static final DamageSource
i
field_3133
STARVE
field_76366_f
STARVE
public static final DamageSource
j
field_3134
CACTUS
field_76367_g
CACTUS
public static final DamageSource
k
field_3135
FALL
field_76379_h
FALL
public static final DamageSource
l
field_14445
FLY_INTO_WALL
field_188406_j
FLY_INTO_WALL
public static final DamageSource
m
field_3136
OUT_OF_WORLD
field_76380_i
OUT_OF_WORLD
public static final DamageSource
n
field_3137
GENERIC
field_76377_j
GENERIC
public static final DamageSource
o
field_3140
MAGIC
field_76376_m
MAGIC
public static final DamageSource
p
field_5312
WITHER
field_82727_n
WITHER
public static final DamageSource
q
field_5313
ANVIL
field_82728_o
ANVIL
public static final DamageSource
r
field_5314
FALLING_BLOCK
field_82729_p
FALLING_BLOCK
public static final DamageSource
s
field_14446
DRAGON_BREATH
field_188407_q
DRAGON_BREATH
public static final DamageSource
t
field_15442
FIREWORKS
field_191552_t
FIREWORKS
private boolean
v
field_3142
bypassesArmor
field_76374_o
isUnblockable
private boolean
w
field_3143
outOfWorld
field_76385_p
isDamageAllowedInCreativeMode
private boolean
x
field_9079
unblockable
field_151520_r
damageIsAbsolute
private float
y
field_3144
exhaustion
field_76384_q
hungerDamage
private boolean
z
field_3145
fire
field_76383_r
fireDamage
private boolean
A
field_3146
isProjectile
field_76382_s
projectile
private boolean
B
field_3147
scaledWithDifficulty
field_76381_t
difficultyScaled
private boolean
C
field_5315
magic
field_82730_x
magicDamage
private boolean
D
field_6112
explosive
field_76378_k
explosion
public String
u
field_3141
name
field_76373_n
damageType

Constructor summary

ModifierConstructor
protected (String name)

Method summary

Modifier and TypeMethod
public static DamageSource
a(vp arg0)
method_6078(class_1699 arg0)
mob(LivingEntity mob)
func_76358_a(EntityLivingBase arg0)
causeMobDamage(EntityLivingBase mob)
public static DamageSource
a(vg arg0, vp arg1)
method_12939(class_864 arg0, class_1699 arg1)
projectile(Entity projectile, LivingEntity entity)
func_188403_a(Entity arg0, EntityLivingBase arg1)
causeIndirectDamage(Entity source, EntityLivingBase indirectEntityIn)
public static DamageSource
a(aed arg0)
method_2415(class_988 arg0)
player(PlayerEntity player)
func_76365_a(EntityPlayer arg0)
causePlayerDamage(EntityPlayer player)
public static DamageSource
a(aeh arg0, vg arg1)
method_2416(class_990 arg0, class_864 arg1)
arrow(AbstractArrowEntity arrow, Entity shooter)
func_76353_a(EntityArrow arg0, Entity arg1)
causeArrowDamage(EntityArrow arrow, Entity indirectEntityIn)
public static DamageSource
a(ael arg0, vg arg1)
method_2417(class_992 arg0, class_864 arg1)
fireball(ProjectileEntity fireball, Entity shooter)
func_76362_a(EntityFireball arg0, Entity arg1)
causeFireballDamage(EntityFireball fireball, Entity indirectEntityIn)
public static DamageSource
a(vg arg0, vg arg1)
method_2413(class_864 arg0, class_864 arg1)
thrown(Entity thrown, Entity thrower)
func_76356_a(Entity arg0, Entity arg1)
causeThrownDamage(Entity source, Entity indirectEntityIn)
public static DamageSource
b(vg arg0, vg arg1)
method_2419(class_864 arg0, class_864 arg1)
magic(Entity potion, Entity thrower)
func_76354_b(Entity arg0, Entity arg1)
causeIndirectMagicDamage(Entity source, Entity indirectEntityIn)
public static DamageSource
a(vg arg0)
method_4433(class_864 arg0)
thorns(Entity attacker)
func_92087_a(Entity arg0)
causeThornsDamage(Entity source)
public static DamageSource
a(amp arg0)
method_5370(class_1147 arg0)
explosion(Explosion explosion)
func_94539_a(Explosion arg0)
causeExplosionDamage(Explosion explosionIn)
public static DamageSource
b(vp arg0)
method_12940(class_1699 arg0)
explosion(LivingEntity source)
func_188405_b(EntityLivingBase arg0)
causeExplosionDamage(EntityLivingBase entityLivingBaseIn)
public boolean
a()
method_2412()
isProjectile()
func_76352_a()
isProjectile()
public DamageSource
b()
method_2418()
setProjectile()
func_76349_b()
setProjectile()
public boolean
c()
method_5372()
isExplosive()
func_94541_c()
isExplosion()
public DamageSource
d()
method_5373()
setExplosive()
func_94540_d()
setExplosion()
public boolean
e()
method_2421()
bypassesArmor()
func_76363_c()
isUnblockable()
public float
f()
method_2422()
getExhaustion()
func_76345_d()
getHungerDamage()
public boolean
g()
method_2423()
isOutOfWorld()
func_76357_e()
canHarmInCreative()
public boolean
h()
method_8358()
isUnblockable()
func_151517_h()
isDamageAbsolute()
public Entity
i()
method_2424()
getSource()
func_76364_f()
getImmediateSource()
public Entity
j()
method_2425()
getAttacker()
func_76346_g()
getTrueSource()
protected DamageSource
k()
method_2426()
setBypassesArmor()
func_76348_h()
setDamageBypassesArmor()
protected DamageSource
l()
method_2427()
setOutOfWorld()
func_76359_i()
setDamageAllowedInCreativeMode()
protected DamageSource
m()
method_8359()
setUnblockable()
func_151518_m()
setDamageIsAbsolute()
protected DamageSource
n()
method_2428()
setFire()
func_76361_j()
setFireDamage()
public Text
c(vp arg0)
method_6079(class_1699 arg0)
getDeathMessage(LivingEntity entity)
func_151519_b(EntityLivingBase arg0)
getDeathMessage(EntityLivingBase entityLivingBaseIn)
public boolean
o()
method_2429()
isFire()
func_76347_k()
isFireDamage()
public String
p()
method_2430()
getName()
func_76355_l()
getDamageType()
public DamageSource
q()
method_2431()
setScaledWithDifficulty()
func_76351_m()
setDifficultyScaled()
public boolean
r()
method_2432()
isScaledWithDifficulty()
func_76350_n()
isDifficultyScaled()
public boolean
s()
method_4434()
getMagic()
func_82725_o()
isMagicDamage()
public DamageSource
t()
method_4435()
isMagic()
func_82726_p()
setMagicDamage()
public boolean
u()
method_10918()
isCreativePlayer()
func_180136_u()
isCreativePlayer()
public Vec3d
v()
method_12941()
getPos()
func_188404_v()
getDamageLocation()