net.minecraft.entity.damage

public class DamageSource

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

Field summary

Modifier and TypeField
public static DamageSource
a
field_3128
FIRE
inFire
public static DamageSource
b
field_11888
LIGHTNING_BOLT
lightningBolt
public static DamageSource
c
field_3129
ON_FIRE
onFire
public static DamageSource
d
field_3130
LAVA
lava
public static DamageSource
e
field_3131
IN_WALL
inWall
public static DamageSource
f
field_3132
DROWN
drown
public static DamageSource
g
field_3133
STARVE
starve
public static DamageSource
h
field_3134
CACTUS
cactus
public static DamageSource
i
field_3135
FALL
fall
public static DamageSource
j
field_3136
OUT_OF_WORLD
outOfWorld
public static DamageSource
k
field_3137
GENERIC
generic
public static DamageSource
l
field_3140
MAGIC
magic
public static DamageSource
m
field_5312
WITHER
wither
public static DamageSource
n
field_5313
ANVIL
anvil
public static DamageSource
o
field_5314
FALLING_BLOCK
fallingBlock
private boolean
q
field_3142
bypassesArmor
isUnblockable
private boolean
r
field_3143
outOfWorld
isDamageAllowedInCreativeMode
private boolean
s
field_9079
unblockable
damageIsAbsolute
private float
t
field_3144
exhaustion
hungerDamage
private boolean
u
field_3145
fire
fireDamage
private boolean
v
field_3146
isProjectile
projectile
private boolean
w
field_3147
scaledWithDifficulty
difficultyScaled
private boolean
x
field_5315
magic
magicDamage
private boolean
y
field_6112
explosive
explosion
public String
p
field_3141
name
damageType

Constructor summary

ModifierConstructor
protected (String name)

Method summary

Modifier and TypeMethod
public static DamageSource
a(pr arg0)
method_6078(class_1699 arg0)
mob(LivingEntity mob)
causeMobDamage(EntityLivingBase mob)
public static DamageSource
a(wn arg0)
method_2415(class_988 arg0)
player(PlayerEntity player)
causePlayerDamage(EntityPlayer player)
public static DamageSource
a(wq arg0, pk arg1)
method_2416(class_990 arg0, class_864 arg1)
arrow(ArrowEntity arrow, Entity shooter)
causeArrowDamage(EntityArrow arrow, Entity indirectEntityIn)
public static DamageSource
a(ws arg0, pk arg1)
method_2417(class_992 arg0, class_864 arg1)
fireball(ProjectileEntity fireball, Entity shooter)
causeFireballDamage(EntityFireball fireball, Entity indirectEntityIn)
public static DamageSource
a(pk arg0, pk arg1)
method_2413(class_864 arg0, class_864 arg1)
thrown(Entity thrown, Entity thrower)
causeThrownDamage(Entity source, Entity indirectEntityIn)
public static DamageSource
b(pk arg0, pk arg1)
method_2419(class_864 arg0, class_864 arg1)
magic(Entity potion, Entity thrower)
causeIndirectMagicDamage(Entity source, Entity indirectEntityIn)
public static DamageSource
a(pk arg0)
method_4433(class_864 arg0)
thorns(Entity attacker)
causeThornsDamage(Entity source)
public static DamageSource
a(adi arg0)
method_5370(class_1147 arg0)
explosion(Explosion explosion)
setExplosionSource(Explosion explosionIn)
public boolean
a()
method_2412()
isProjectile()
isProjectile()
public DamageSource
b()
method_2418()
setProjectile()
setProjectile()
public boolean
c()
method_5372()
isExplosive()
isExplosion()
public DamageSource
d()
method_5373()
setExplosive()
setExplosion()
public boolean
e()
method_2421()
bypassesArmor()
isUnblockable()
public float
f()
method_2422()
getExhaustion()
getHungerDamage()
public boolean
g()
method_2423()
isOutOfWorld()
canHarmInCreative()
public boolean
h()
method_8358()
isUnblockable()
isDamageAbsolute()
public Entity
i()
method_2424()
getSource()
getSourceOfDamage()
public Entity
j()
method_2425()
getAttacker()
getEntity()
protected DamageSource
k()
method_2426()
setBypassesArmor()
setDamageBypassesArmor()
protected DamageSource
l()
method_2427()
setOutOfWorld()
setDamageAllowedInCreativeMode()
protected DamageSource
m()
method_8359()
setUnblockable()
setDamageIsAbsolute()
protected DamageSource
n()
method_2428()
setFire()
setFireDamage()
public Text
b(pr arg0)
method_6079(class_1699 arg0)
getDeathMessage(LivingEntity entity)
getDeathMessage(EntityLivingBase entityLivingBaseIn)
public boolean
o()
method_2429()
isFire()
isFireDamage()
public String
p()
method_2430()
getName()
getDamageType()
public DamageSource
q()
method_2431()
setScaledWithDifficulty()
setDifficultyScaled()
public boolean
r()
method_2432()
isScaledWithDifficulty()
isDifficultyScaled()
public boolean
s()
method_4434()
getMagic()
isMagicDamage()
public DamageSource
t()
method_4435()
isMagic()
setMagicDamage()
public boolean
u()
method_10918()
isCreativePlayer()
isCreativePlayer()