net.minecraft.entity.damage

public class DamageSource

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

Constructor summary

ModifierConstructor
protected (String name)

Method summary

Modifier and TypeMethod
public static DamageSource
a(sv arg0)
method_6078(class_1699 arg0)
mob(LivingEntity mob)
causeMobDamage(EntityLivingBase arg0)
public static DamageSource
a(yz arg0)
method_2415(class_988 arg0)
player(PlayerEntity player)
causePlayerDamage(EntityPlayer arg0)
public static DamageSource
a(zc arg0, sa arg1)
method_2416(class_990 arg0, class_864 arg1)
arrow(ArrowEntity arrow, Entity shooter)
causeArrowDamage(EntityArrow arg0, Entity arg1)
public static DamageSource
a(ze arg0, sa arg1)
method_2417(class_992 arg0, class_864 arg1)
fireball(ProjectileEntity fireball, Entity shooter)
causeFireballDamage(EntityFireball arg0, Entity arg1)
public static DamageSource
a(sa arg0, sa arg1)
method_2413(class_864 arg0, class_864 arg1)
thrown(Entity thrown, Entity thrower)
causeThrownDamage(Entity arg0, Entity arg1)
public static DamageSource
b(sa arg0, sa arg1)
method_2419(class_864 arg0, class_864 arg1)
magic(Entity potion, Entity thrower)
causeIndirectMagicDamage(Entity arg0, Entity arg1)
public static DamageSource
a(sa arg0)
method_4433(class_864 arg0)
thorns(Entity attacker)
causeThornsDamage(Entity arg0)
public static DamageSource
a(agw arg0)
method_5370(class_1147 arg0)
explosion(Explosion explosion)
setExplosionSource(Explosion arg0)
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(sv arg0)
method_6079(class_1699 arg0)
getDeathMessage(LivingEntity entity)
getDeathMessage(EntityLivingBase arg0)
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()