net.minecraft.world.damagesource

public class DamageSources

bub
net.minecraft.world.damagesource.DamageSources
net.minecraft.class_8109
net.minecraft.entity.damage.DamageSources
net.minecraft.world.damagesource.DamageSources

Field summary

Modifier and TypeField
private final Registry<DamageType>
a
damageTypes
field_42296
registry
private final DamageSource
b
inFire
field_42297
inFire
private final DamageSource
c
campfire
field_51564
campfire
private final DamageSource
d
lightningBolt
field_42298
lightningBolt
private final DamageSource
e
onFire
field_42299
onFire
private final DamageSource
f
lava
field_42300
lava
private final DamageSource
g
hotFloor
field_42301
hotFloor
private final DamageSource
h
inWall
field_42302
inWall
private final DamageSource
i
cramming
field_42303
cramming
private final DamageSource
j
drown
field_42304
drown
private final DamageSource
k
starve
field_42305
starve
private final DamageSource
l
cactus
field_42306
cactus
private final DamageSource
m
fall
field_42307
fall
private final DamageSource
n
enderPearl
field_52430
enderPearl
private final DamageSource
o
flyIntoWall
field_42308
flyIntoWall
private final DamageSource
p
fellOutOfWorld
field_42309
outOfWorld
private final DamageSource
q
generic
field_42310
generic
private final DamageSource
r
magic
field_42311
magic
private final DamageSource
s
wither
field_42312
wither
private final DamageSource
t
dragonBreath
field_42313
dragonBreath
private final DamageSource
u
dryOut
field_42314
dryOut
private final DamageSource
v
sweetBerryBush
field_42315
sweetBerryBush
private final DamageSource
w
freeze
field_42316
freeze
private final DamageSource
x
stalagmite
field_42317
stalagmite
private final DamageSource
y
outsideBorder
field_44866
outsideBorder
private final DamageSource
z
genericKill
field_44867
genericKill

Constructor summary

ModifierConstructor
public (RegistryAccess registryManager)

Method summary

Modifier and TypeMethod
private DamageSource
a(aly<buc> arg0)
source(ResourceKey<DamageType> arg0)
method_48795(class_5321<class_8110> arg0)
create(RegistryKey<DamageType> key)
private DamageSource
a(aly<buc> arg0, bvk arg1)
source(ResourceKey<DamageType> arg0, Entity arg1)
method_48796(class_5321<class_8110> arg0, class_1297 arg1)
create(RegistryKey<DamageType> key, Entity attacker)
private DamageSource
a(aly<buc> arg0, bvk arg1, bvk arg2)
source(ResourceKey<DamageType> arg0, Entity arg1, Entity arg2)
method_48797(class_5321<class_8110> arg0, class_1297 arg1, class_1297 arg2)
create(RegistryKey<DamageType> key, Entity source, Entity attacker)
public DamageSource
a()
inFire()
method_48794()
inFire()
public DamageSource
b()
campfire()
method_59917()
campfire()
public DamageSource
c()
lightningBolt()
method_48809()
lightningBolt()
public DamageSource
d()
onFire()
method_48813()
onFire()
public DamageSource
e()
lava()
method_48817()
lava()
public DamageSource
f()
hotFloor()
method_48820()
hotFloor()
public DamageSource
g()
inWall()
method_48822()
inWall()
public DamageSource
h()
cramming()
method_48823()
cramming()
public DamageSource
i()
drown()
method_48824()
drown()
public DamageSource
j()
starve()
method_48825()
starve()
public DamageSource
k()
cactus()
method_48826()
cactus()
public DamageSource
l()
fall()
method_48827()
fall()
public DamageSource
m()
enderPearl()
method_61399()
enderPearl()
public DamageSource
n()
flyIntoWall()
method_48828()
flyIntoWall()
public DamageSource
o()
fellOutOfWorld()
method_48829()
outOfWorld()
public DamageSource
p()
generic()
method_48830()
generic()
public DamageSource
q()
magic()
method_48831()
magic()
public DamageSource
r()
wither()
method_48832()
wither()
public DamageSource
s()
dragonBreath()
method_48833()
dragonBreath()
public DamageSource
t()
dryOut()
method_48834()
dryOut()
public DamageSource
u()
sweetBerryBush()
method_48835()
sweetBerryBush()
public DamageSource
v()
freeze()
method_48836()
freeze()
public DamageSource
w()
stalagmite()
method_48837()
stalagmite()
public DamageSource
a(bvk arg0)
fallingBlock(Entity arg0)
method_48798(class_1297 arg0)
fallingBlock(Entity attacker)
public DamageSource
b(bvk arg0)
anvil(Entity arg0)
method_48810(class_1297 arg0)
fallingAnvil(Entity attacker)
public DamageSource
c(bvk arg0)
fallingStalactite(Entity arg0)
method_48814(class_1297 arg0)
fallingStalactite(Entity attacker)
public DamageSource
a(bwg arg0)
sting(LivingEntity arg0)
method_48801(class_1309 arg0)
sting(LivingEntity attacker)
public DamageSource
b(bwg arg0)
mobAttack(LivingEntity arg0)
method_48812(class_1309 arg0)
mobAttack(LivingEntity attacker)
public DamageSource
c(bwg arg0)
noAggroMobAttack(LivingEntity arg0)
method_48816(class_1309 arg0)
mobAttackNoAggro(LivingEntity attacker)
public DamageSource
a(cpx arg0)
playerAttack(Player arg0)
method_48802(class_1657 arg0)
playerAttack(PlayerEntity attacker)
public DamageSource
a(cqe arg0, bvk arg1)
arrow(AbstractArrow arg0, Entity arg1)
method_48803(class_1665 arg0, class_1297 arg1)
arrow(PersistentProjectileEntity source, Entity attacker)
public DamageSource
a(bvk arg0, bvk arg1)
trident(Entity arg0, Entity arg1)
method_48799(class_1297 arg0, class_1297 arg1)
trident(Entity source, Entity attacker)
public DamageSource
a(bvk arg0, bwg arg1)
mobProjectile(Entity arg0, LivingEntity arg1)
method_48800(class_1297 arg0, class_1309 arg1)
mobProjectile(Entity source, LivingEntity attacker)
public DamageSource
b(bvk arg0, bwg arg1)
spit(Entity arg0, LivingEntity arg1)
method_55647(class_1297 arg0, class_1309 arg1)
spit(Entity source, LivingEntity attacker)
public DamageSource
c(bvk arg0, bwg arg1)
windCharge(Entity arg0, LivingEntity arg1)
method_55648(class_1297 arg0, class_1309 arg1)
windCharge(Entity source, LivingEntity attacker)
public DamageSource
a(cql arg0, bvk arg1)
fireworks(FireworkRocketEntity arg0, Entity arg1)
method_48805(class_1671 arg0, class_1297 arg1)
fireworks(FireworkRocketEntity source, Entity attacker)
public DamageSource
a(cqk arg0, bvk arg1)
fireball(Fireball arg0, Entity arg1)
method_48804(class_3855 arg0, class_1297 arg1)
fireball(AbstractFireballEntity source, Entity attacker)
public DamageSource
a(cre arg0, bvk arg1)
witherSkull(WitherSkull arg0, Entity arg1)
method_48806(class_1687 arg0, class_1297 arg1)
witherSkull(WitherSkullEntity source, Entity attacker)
public DamageSource
b(bvk arg0, bvk arg1)
thrown(Entity arg0, Entity arg1)
method_48811(class_1297 arg0, class_1297 arg1)
thrown(Entity source, Entity attacker)
public DamageSource
c(bvk arg0, bvk arg1)
indirectMagic(Entity arg0, Entity arg1)
method_48815(class_1297 arg0, class_1297 arg1)
indirectMagic(Entity source, Entity attacker)
public DamageSource
d(bvk arg0)
thorns(Entity arg0)
method_48818(class_1297 arg0)
thorns(Entity attacker)
public DamageSource
a(dha arg0)
explosion(Explosion arg0)
method_48807(class_1927 arg0)
explosion(Explosion explosion)
public DamageSource
d(bvk arg0, bvk arg1)
explosion(Entity arg0, Entity arg1)
method_48819(class_1297 arg0, class_1297 arg1)
explosion(Entity source, Entity attacker)
public DamageSource
e(bvk arg0)
sonicBoom(Entity arg0)
method_48821(class_1297 arg0)
sonicBoom(Entity attacker)
public DamageSource
a(fby arg0)
badRespawnPointExplosion(Vec3 arg0)
method_48808(class_243 arg0)
badRespawnPoint(Vec3d position)
public DamageSource
x()
outOfBorder()
method_51846()
outsideBorder()
public DamageSource
y()
genericKill()
method_51847()
genericKill()
public DamageSource
f(bvk arg0)
mace(Entity arg0)
method_61398(class_1297 arg0)
maceSmash(Entity attacker)