net.minecraft.world.damagesource

public class DamageSources

beo
net.minecraft.world.damagesource.DamageSources
net.minecraft.class_8109
net.minecraft.entity.damage.DamageSources
net.minecraft.src.C_268407_
net.minecraft.world.damagesource.DamageSources

Field summary

Modifier and TypeField
private final Registry<DamageType>
a
damageTypes
field_42296
registry
f_268645_
private final DamageSource
b
inFire
field_42297
inFire
f_268567_
private final DamageSource
c
lightningBolt
field_42298
lightningBolt
f_268551_
private final DamageSource
d
onFire
field_42299
onFire
f_268475_
private final DamageSource
e
lava
field_42300
lava
f_268418_
private final DamageSource
f
hotFloor
field_42301
hotFloor
f_268602_
private final DamageSource
g
inWall
field_42302
inWall
f_268605_
private final DamageSource
h
cramming
field_42303
cramming
f_268691_
private final DamageSource
i
drown
field_42304
drown
f_268611_
private final DamageSource
j
starve
field_42305
starve
f_268742_
private final DamageSource
k
cactus
field_42306
cactus
f_268499_
private final DamageSource
l
fall
field_42307
fall
f_268729_
private final DamageSource
m
flyIntoWall
field_42308
flyIntoWall
f_268623_
private final DamageSource
n
fellOutOfWorld
field_42309
outOfWorld
f_268726_
private final DamageSource
o
generic
field_42310
generic
f_268521_
private final DamageSource
p
magic
field_42311
magic
f_268591_
private final DamageSource
q
wither
field_42312
wither
f_268438_
private final DamageSource
r
dragonBreath
field_42313
dragonBreath
f_268582_
private final DamageSource
s
dryOut
field_42314
dryOut
f_268426_
private final DamageSource
t
sweetBerryBush
field_42315
sweetBerryBush
f_268561_
private final DamageSource
u
freeze
field_42316
freeze
f_268733_
private final DamageSource
v
stalagmite
field_42317
stalagmite
f_268610_
private final DamageSource
w
outsideBorder
field_44866
outsideBorder
f_287008_
private final DamageSource
x
genericKill
field_44867
genericKill
f_286964_

Constructor summary

ModifierConstructor
public (RegistryAccess registryManager)

Method summary

Modifier and TypeMethod
private DamageSource
a(acp<bep> arg0)
source(ResourceKey<DamageType> arg0)
method_48795(class_5321<class_8110> arg0)
create(RegistryKey<DamageType> key)
m_269079_(C_5264_<C_268380_> arg0)
private DamageSource
a(acp<bep> arg0, bfj arg1)
source(ResourceKey<DamageType> arg0, Entity arg1)
method_48796(class_5321<class_8110> arg0, class_1297 arg1)
create(RegistryKey<DamageType> key, Entity attacker)
m_269298_(C_5264_<C_268380_> p_270696_, C_507_ arg1)
private DamageSource
a(acp<bep> arg0, bfj arg1, bfj 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)
m_268998_(C_5264_<C_268380_> p_270656_, C_507_ p_270242_, C_507_ arg2)
public DamageSource
a()
inFire()
method_48794()
inFire()
m_269387_()
public DamageSource
b()
lightningBolt()
method_48809()
lightningBolt()
m_269548_()
public DamageSource
c()
onFire()
method_48813()
onFire()
m_269549_()
public DamageSource
d()
lava()
method_48817()
lava()
m_269233_()
public DamageSource
e()
hotFloor()
method_48820()
hotFloor()
m_269047_()
public DamageSource
f()
inWall()
method_48822()
inWall()
m_269318_()
public DamageSource
g()
cramming()
method_48823()
cramming()
m_269354_()
public DamageSource
h()
drown()
method_48824()
drown()
m_269063_()
public DamageSource
i()
starve()
method_48825()
starve()
m_269064_()
public DamageSource
j()
cactus()
method_48826()
cactus()
m_269325_()
public DamageSource
k()
fall()
method_48827()
fall()
m_268989_()
public DamageSource
l()
flyIntoWall()
method_48828()
flyIntoWall()
m_269515_()
public DamageSource
m()
fellOutOfWorld()
method_48829()
outOfWorld()
m_269341_()
public DamageSource
n()
generic()
method_48830()
generic()
m_269264_()
public DamageSource
o()
magic()
method_48831()
magic()
m_269425_()
public DamageSource
p()
wither()
method_48832()
wither()
m_269251_()
public DamageSource
q()
dragonBreath()
method_48833()
dragonBreath()
m_269254_()
public DamageSource
r()
dryOut()
method_48834()
dryOut()
m_269483_()
public DamageSource
s()
sweetBerryBush()
method_48835()
sweetBerryBush()
m_269555_()
public DamageSource
t()
freeze()
method_48836()
freeze()
m_269109_()
public DamageSource
u()
stalagmite()
method_48837()
stalagmite()
m_269571_()
public DamageSource
a(bfj arg0)
fallingBlock(Entity arg0)
method_48798(class_1297 arg0)
fallingBlock(Entity attacker)
m_269564_(C_507_ arg0)
public DamageSource
b(bfj arg0)
anvil(Entity arg0)
method_48810(class_1297 arg0)
fallingAnvil(Entity attacker)
m_269230_(C_507_ arg0)
public DamageSource
c(bfj arg0)
fallingStalactite(Entity arg0)
method_48814(class_1297 arg0)
fallingStalactite(Entity attacker)
m_269103_(C_507_ arg0)
public DamageSource
a(bfz arg0)
sting(LivingEntity arg0)
method_48801(class_1309 arg0)
sting(LivingEntity attacker)
m_269396_(C_524_ arg0)
public DamageSource
b(bfz arg0)
mobAttack(LivingEntity arg0)
method_48812(class_1309 arg0)
mobAttack(LivingEntity attacker)
m_269333_(C_524_ arg0)
public DamageSource
c(bfz arg0)
noAggroMobAttack(LivingEntity arg0)
method_48816(class_1309 arg0)
mobAttackNoAggro(LivingEntity attacker)
m_269364_(C_524_ arg0)
public DamageSource
a(byo arg0)
playerAttack(Player arg0)
method_48802(class_1657 arg0)
playerAttack(PlayerEntity attacker)
m_269075_(C_1141_ arg0)
public DamageSource
a(byu arg0, bfj arg1)
arrow(AbstractArrow arg0, Entity arg1)
method_48803(class_1665 arg0, class_1297 arg1)
arrow(PersistentProjectileEntity source, Entity attacker)
m_269418_(C_1151_ p_270857_, C_507_ arg1)
public DamageSource
a(bfj arg0, bfj arg1)
trident(Entity arg0, Entity arg1)
method_48799(class_1297 arg0, class_1297 arg1)
trident(Entity source, Entity attacker)
m_269525_(C_507_ p_270358_, C_507_ arg1)
public DamageSource
a(bfj arg0, bfz arg1)
mobProjectile(Entity arg0, LivingEntity arg1)
method_48800(class_1297 arg0, class_1309 arg1)
mobProjectile(Entity source, LivingEntity attacker)
m_269299_(C_507_ p_270757_, C_524_ arg1)
public DamageSource
a(bzb arg0, bfj arg1)
fireworks(FireworkRocketEntity arg0, Entity arg1)
method_48805(class_1671 arg0, class_1297 arg1)
fireworks(FireworkRocketEntity source, Entity attacker)
m_268994_(C_1159_ p_270768_, C_507_ arg1)
public DamageSource
a(bza arg0, bfj arg1)
fireball(Fireball arg0, Entity arg1)
method_48804(class_3855 arg0, class_1297 arg1)
fireball(AbstractFireballEntity source, Entity attacker)
m_269453_(C_1158_ p_270824_, C_507_ arg1)
public DamageSource
a(bzt arg0, bfj arg1)
witherSkull(WitherSkull arg0, Entity arg1)
method_48806(class_1687 arg0, class_1297 arg1)
witherSkull(WitherSkullEntity source, Entity attacker)
m_269383_(C_1180_ p_270887_, C_507_ arg1)
public DamageSource
b(bfj arg0, bfj arg1)
thrown(Entity arg0, Entity arg1)
method_48811(class_1297 arg0, class_1297 arg1)
thrown(Entity source, Entity attacker)
m_269390_(C_507_ p_270485_, C_507_ arg1)
public DamageSource
c(bfj arg0, bfj arg1)
indirectMagic(Entity arg0, Entity arg1)
method_48815(class_1297 arg0, class_1297 arg1)
indirectMagic(Entity source, Entity attacker)
m_269104_(C_507_ p_270646_, C_507_ arg1)
public DamageSource
d(bfj arg0)
thorns(Entity arg0)
method_48818(class_1297 arg0)
thorns(Entity attacker)
m_269374_(C_507_ arg0)
public DamageSource
a(cme arg0)
explosion(Explosion arg0)
method_48807(class_1927 arg0)
explosion(Explosion explosion)
m_269093_(C_1578_ arg0)
public DamageSource
d(bfj arg0, bfj arg1)
explosion(Entity arg0, Entity arg1)
method_48819(class_1297 arg0, class_1297 arg1)
explosion(Entity source, Entity attacker)
m_269036_(C_507_ p_270814_, C_507_ arg1)
public DamageSource
e(bfj arg0)
sonicBoom(Entity arg0)
method_48821(class_1297 arg0)
sonicBoom(Entity attacker)
m_269285_(C_507_ arg0)
public DamageSource
a(eei arg0)
badRespawnPointExplosion(Vec3 arg0)
method_48808(class_243 arg0)
badRespawnPoint(Vec3d position)
m_269488_(C_3046_ arg0)
public DamageSource
v()
outOfBorder()
method_51846()
outsideBorder()
m_287287_()
public DamageSource
w()
genericKill()
method_51847()
genericKill()
m_287172_()