net.minecraft.world.damagesource

public class DamageSource

ajw
net.minecraft.world.damagesource.DamageSource
net.minecraft.class_1282
net.minecraft.entity.damage.DamageSource
net.minecraft.util.DamageSource
net.minecraft.server.v1_15_R1.DamageSource

Field summary

Modifier and TypeField
public static final DamageSource
a
IN_FIRE
field_5867
IN_FIRE
field_76372_a
FIRE
public static final DamageSource
b
LIGHTNING_BOLT
field_5861
LIGHTNING_BOLT
field_180137_b
LIGHTNING
public static final DamageSource
c
ON_FIRE
field_5854
ON_FIRE
field_76370_b
BURN
public static final DamageSource
d
LAVA
field_5863
LAVA
field_76371_c
LAVA
public static final DamageSource
e
HOT_FLOOR
field_5858
HOT_FLOOR
field_190095_e
HOT_FLOOR
public static final DamageSource
f
IN_WALL
field_5855
IN_WALL
field_76368_d
STUCK
public static final DamageSource
g
CRAMMING
field_5844
CRAMMING
field_191291_g
CRAMMING
public static final DamageSource
h
DROWN
field_5859
DROWN
field_76369_e
DROWN
public static final DamageSource
i
STARVE
field_5852
STARVE
field_76366_f
STARVE
public static final DamageSource
j
CACTUS
field_5848
CACTUS
field_76367_g
CACTUS
public static final DamageSource
k
FALL
field_5868
FALL
field_76379_h
FALL
public static final DamageSource
l
FLY_INTO_WALL
field_5843
FLY_INTO_WALL
field_188406_j
FLY_INTO_WALL
public static final DamageSource
m
OUT_OF_WORLD
field_5849
OUT_OF_WORLD
field_76380_i
OUT_OF_WORLD
public static final DamageSource
n
GENERIC
field_5869
GENERIC
field_76377_j
GENERIC
public static final DamageSource
o
MAGIC
field_5846
MAGIC
field_76376_m
MAGIC
public static final DamageSource
p
WITHER
field_5850
WITHER
field_82727_n
WITHER
public static final DamageSource
q
ANVIL
field_5865
ANVIL
field_82728_o
ANVIL
public static final DamageSource
r
FALLING_BLOCK
field_5847
FALLING_BLOCK
field_82729_p
FALLING_BLOCK
public static final DamageSource
s
DRAGON_BREATH
field_5856
DRAGON_BREATH
field_188407_q
DRAGON_BREATH
public static final DamageSource
t
FIREWORKS
field_5860
FIREWORKS
field_191552_t
FIREWORKS
public static final DamageSource
u
DRY_OUT
field_5842
DRYOUT
field_205132_u
DRYOUT
public static final DamageSource
v
SWEET_BERRY_BUSH
field_16992
SWEET_BERRY_BUSH
field_220302_v
SWEET_BERRY_BUSH
private boolean
x
bypassArmor
field_5840
bypassesArmor
field_76374_o
private boolean
y
bypassInvul
field_5857
outOfWorld
field_76385_p
private boolean
z
bypassMagic
field_5839
unblockable
field_151520_r
private float
A
exhaustion
field_5845
exhaustion
field_76384_q
private boolean
B
isFireSource
field_5866
fire
field_76383_r
private boolean
C
isProjectile
field_5853
projectile
field_76382_s
private boolean
D
scalesWithDifficulty
field_5864
scaleWithDifficulty
field_76381_t
private boolean
E
isMagic
field_5851
magic
field_82730_x
private boolean
F
isExplosion
field_5862
explosive
field_76378_k
public final String
w
msgId
field_5841
name
field_76373_n
translationIndex

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)
func_226252_a_(LivingEntity arg0)
public static DamageSource
b(akw arg0)
mobAttack(LivingEntity arg0)
method_5511(class_1309 arg0)
mob(LivingEntity attacker)
func_76358_a(LivingEntity arg0)
mobAttack(EntityLiving arg0)
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)
func_188403_a(Entity arg0, LivingEntity arg1)
public static DamageSource
a(ayg arg0)
playerAttack(Player arg0)
method_5532(class_1657 arg0)
player(PlayerEntity attacker)
func_76365_a(PlayerEntity arg0)
playerAttack(EntityHuman arg0)
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)
func_76353_a(AbstractArrowEntity arg0, Entity arg1)
arrow(EntityArrow arg0, Entity arg1)
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)
func_203096_a(Entity arg0, Entity arg1)
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)
func_76362_a(DamagingProjectileEntity arg0, Entity arg1)
fireball(EntityFireball arg0, Entity arg1)
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)
func_76356_a(Entity arg0, Entity arg1)
projectile(Entity arg0, Entity arg1)
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)
func_76354_b(Entity arg0, Entity arg1)
public static DamageSource
a(akn arg0)
thorns(Entity arg0)
method_5513(class_1297 arg0)
thorns(Entity attacker)
func_92087_a(Entity arg0)
public static DamageSource
a(bjm arg0)
explosion(Explosion arg0)
method_5531(class_1927 arg0)
explosion(Explosion explosion)
func_94539_a(Explosion arg0)
explosion(Explosion arg0)
public static DamageSource
c(akw arg0)
explosion(LivingEntity arg0)
method_5512(class_1309 arg0)
explosion(LivingEntity attacker)
func_188405_b(LivingEntity arg0)
public static DamageSource
a()
netherBedExplosion()
method_5523()
netherBed()
func_199683_a()
public boolean
b()
isProjectile()
method_5533()
isProjectile()
func_76352_a()
public DamageSource
c()
setProjectile()
method_5517()
setProjectile()
func_76349_b()
public boolean
d()
isExplosion()
method_5535()
isExplosive()
func_94541_c()
isExplosion()
public DamageSource
e()
setExplosion()
method_5518()
setExplosive()
func_94540_d()
setExplosion()
public boolean
f()
isBypassArmor()
method_5537()
bypassesArmor()
func_76363_c()
ignoresArmor()
public float
g()
getFoodExhaustion()
method_5528()
getExhaustion()
func_76345_d()
getExhaustionCost()
public boolean
h()
isBypassInvul()
method_5538()
isOutOfWorld()
func_76357_e()
ignoresInvulnerability()
public boolean
i()
isBypassMagic()
method_5504()
isUnblockable()
func_151517_h()
isStarvation()
public Entity
j()
getDirectEntity()
method_5526()
getSource()
func_76364_f()
public Entity
k()
getEntity()
method_5529()
getAttacker()
func_76346_g()
getEntity()
protected DamageSource
l()
bypassArmor()
method_5508()
setBypassesArmor()
func_76348_h()
setIgnoreArmor()
protected DamageSource
m()
bypassInvul()
method_5505()
setOutOfWorld()
func_76359_i()
setIgnoresInvulnerability()
protected DamageSource
n()
bypassMagic()
method_5509()
setUnblockable()
func_151518_m()
setStarvation()
protected DamageSource
o()
setIsFire()
method_5507()
setFire()
func_76361_j()
setFire()
public Component
d(akw arg0)
getLocalizedDeathMessage(LivingEntity arg0)
method_5506(class_1309 arg0)
getDeathMessage(LivingEntity arg0)
func_151519_b(LivingEntity arg0)
getLocalizedDeathMessage(EntityLiving arg0)
public boolean
p()
isFire()
method_5534()
isFire()
func_76347_k()
isFire()
public String
q()
getMsgId()
method_5525()
getName()
func_76355_l()
public DamageSource
r()
setScalesWithDifficulty()
method_5516()
setScaledWithDifficulty()
func_76351_m()
public boolean
s()
scalesWithDifficulty()
method_5514()
isScaledWithDifficulty()
func_76350_n()
public boolean
t()
isMagic()
method_5527()
getMagic()
func_82725_o()
isMagic()
public DamageSource
u()
setMagic()
method_5515()
setUsesMagic()
func_82726_p()
setMagic()
public boolean
v()
isCreativePlayer()
method_5530()
isSourceCreativePlayer()
func_180136_u()
public Vec3
w()
getSourcePosition()
method_5510()
getPosition()
func_188404_v()