net.minecraft.world.damagesource

public class DamageSources

brl
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
campfire
field_51564
campfire
f_337500_
private final DamageSource
d
lightningBolt
field_42298
lightningBolt
f_268551_
private final DamageSource
e
onFire
field_42299
onFire
f_268475_
private final DamageSource
f
lava
field_42300
lava
f_268418_
private final DamageSource
g
hotFloor
field_42301
hotFloor
f_268602_
private final DamageSource
h
inWall
field_42302
inWall
f_268605_
private final DamageSource
i
cramming
field_42303
cramming
f_268691_
private final DamageSource
j
drown
field_42304
drown
f_268611_
private final DamageSource
k
starve
field_42305
starve
f_268742_
private final DamageSource
l
cactus
field_42306
cactus
f_268499_
private final DamageSource
m
fall
field_42307
fall
f_268729_
private final DamageSource
n
flyIntoWall
field_42308
flyIntoWall
f_268623_
private final DamageSource
o
fellOutOfWorld
field_42309
outOfWorld
f_268726_
private final DamageSource
p
generic
field_42310
generic
f_268521_
private final DamageSource
q
magic
field_42311
magic
f_268591_
private final DamageSource
r
wither
field_42312
wither
f_268438_
private final DamageSource
s
dragonBreath
field_42313
dragonBreath
f_268582_
private final DamageSource
t
dryOut
field_42314
dryOut
f_268426_
private final DamageSource
u
sweetBerryBush
field_42315
sweetBerryBush
f_268561_
private final DamageSource
v
freeze
field_42316
freeze
f_268733_
private final DamageSource
w
stalagmite
field_42317
stalagmite
f_268610_
private final DamageSource
x
outsideBorder
field_44866
outsideBorder
f_287008_
private final DamageSource
y
genericKill
field_44867
genericKill
f_286964_

Constructor summary

ModifierConstructor
public (RegistryAccess registryManager)

Method summary

Modifier and TypeMethod
private DamageSource
a(akq<brm> 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(akq<brm> arg0, bsr 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(akq<brm> arg0, bsr arg1, bsr 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()
campfire()
method_59917()
campfire()
m_338417_()
public DamageSource
c()
lightningBolt()
method_48809()
lightningBolt()
m_269548_()
public DamageSource
d()
onFire()
method_48813()
onFire()
m_269549_()
public DamageSource
e()
lava()
method_48817()
lava()
m_269233_()
public DamageSource
f()
hotFloor()
method_48820()
hotFloor()
m_269047_()
public DamageSource
g()
inWall()
method_48822()
inWall()
m_269318_()
public DamageSource
h()
cramming()
method_48823()
cramming()
m_269354_()
public DamageSource
i()
drown()
method_48824()
drown()
m_269063_()
public DamageSource
j()
starve()
method_48825()
starve()
m_269064_()
public DamageSource
k()
cactus()
method_48826()
cactus()
m_269325_()
public DamageSource
l()
fall()
method_48827()
fall()
m_268989_()
public DamageSource
m()
flyIntoWall()
method_48828()
flyIntoWall()
m_269515_()
public DamageSource
n()
fellOutOfWorld()
method_48829()
outOfWorld()
m_269341_()
public DamageSource
o()
generic()
method_48830()
generic()
m_269264_()
public DamageSource
p()
magic()
method_48831()
magic()
m_269425_()
public DamageSource
q()
wither()
method_48832()
wither()
m_269251_()
public DamageSource
r()
dragonBreath()
method_48833()
dragonBreath()
m_269254_()
public DamageSource
s()
dryOut()
method_48834()
dryOut()
m_269483_()
public DamageSource
t()
sweetBerryBush()
method_48835()
sweetBerryBush()
m_269555_()
public DamageSource
u()
freeze()
method_48836()
freeze()
m_269109_()
public DamageSource
v()
stalagmite()
method_48837()
stalagmite()
m_269571_()
public DamageSource
a(bsr arg0)
fallingBlock(Entity arg0)
method_48798(class_1297 arg0)
fallingBlock(Entity attacker)
m_269564_(C_507_ arg0)
public DamageSource
b(bsr arg0)
anvil(Entity arg0)
method_48810(class_1297 arg0)
fallingAnvil(Entity attacker)
m_269230_(C_507_ arg0)
public DamageSource
c(bsr arg0)
fallingStalactite(Entity arg0)
method_48814(class_1297 arg0)
fallingStalactite(Entity attacker)
m_269103_(C_507_ arg0)
public DamageSource
a(btn arg0)
sting(LivingEntity arg0)
method_48801(class_1309 arg0)
sting(LivingEntity attacker)
m_269396_(C_524_ arg0)
public DamageSource
b(btn arg0)
mobAttack(LivingEntity arg0)
method_48812(class_1309 arg0)
mobAttack(LivingEntity attacker)
m_269333_(C_524_ arg0)
public DamageSource
c(btn arg0)
noAggroMobAttack(LivingEntity arg0)
method_48816(class_1309 arg0)
mobAttackNoAggro(LivingEntity attacker)
m_269364_(C_524_ arg0)
public DamageSource
a(cmx arg0)
playerAttack(Player arg0)
method_48802(class_1657 arg0)
playerAttack(PlayerEntity attacker)
m_269075_(C_1141_ arg0)
public DamageSource
a(cnd arg0, bsr 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(bsr arg0, bsr 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(bsr arg0, btn 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
b(bsr arg0, btn arg1)
spit(Entity arg0, LivingEntity arg1)
method_55647(class_1297 arg0, class_1309 arg1)
spit(Entity source, LivingEntity attacker)
m_318709_(C_507_ p_334967_, C_524_ arg1)
public DamageSource
c(bsr arg0, btn arg1)
windCharge(Entity arg0, LivingEntity arg1)
method_55648(class_1297 arg0, class_1309 arg1)
windCharge(Entity source, LivingEntity attacker)
m_324994_(C_507_ p_335043_, C_524_ arg1)
public DamageSource
a(cnk arg0, bsr 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(cnj arg0, bsr 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(cod arg0, bsr 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(bsr arg0, bsr 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(bsr arg0, bsr 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(bsr arg0)
thorns(Entity arg0)
method_48818(class_1297 arg0)
thorns(Entity attacker)
m_269374_(C_507_ arg0)
public DamageSource
a(dco arg0)
explosion(Explosion arg0)
method_48807(class_1927 arg0)
explosion(Explosion explosion)
m_269093_(C_1578_ arg0)
public DamageSource
d(bsr arg0, bsr 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(bsr arg0)
sonicBoom(Entity arg0)
method_48821(class_1297 arg0)
sonicBoom(Entity attacker)
m_269285_(C_507_ arg0)
public DamageSource
a(exc arg0)
badRespawnPointExplosion(Vec3 arg0)
method_48808(class_243 arg0)
badRespawnPoint(Vec3d position)
m_269488_(C_3046_ arg0)
public DamageSource
w()
outOfBorder()
method_51846()
outsideBorder()
m_287287_()
public DamageSource
x()
genericKill()
method_51847()
genericKill()
m_287172_()