Package net.minecraft.world.damagesource
Class DamageSources
java.lang.Object
net.minecraft.world.damagesource.DamageSources
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DamageSource
private final DamageSource
final Registry<DamageType>
private final DamageSource
private final DamageSource
private final DamageSource
private final DamageSource
private final DamageSource
private final DamageSource
private final DamageSource
private final DamageSource
private final DamageSource
private final DamageSource
private final DamageSource
private final DamageSource
private final DamageSource
private final DamageSource
private final DamageSource
private final DamageSource
private final DamageSource
private final DamageSource
private final DamageSource
private final DamageSource
private final DamageSource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionarrow
(AbstractArrow p_270570_, Entity p_270857_) badRespawnPointExplosion
(Vec3 p_270175_) cactus()
cramming()
drown()
dryOut()
fall()
fallingBlock
(Entity p_270643_) fallingStalactite
(Entity p_270720_) fireworks
(FireworkRocketEntity p_270571_, Entity p_270768_) freeze()
generic()
hotFloor()
indirectMagic
(Entity p_270560_, Entity p_270646_) inFire()
inWall()
lava()
magic()
mobAttack
(LivingEntity p_270357_) mobProjectile
(Entity p_270210_, LivingEntity p_270757_) noAggroMobAttack
(LivingEntity p_270502_) onFire()
playerAttack
(Player p_270723_) source
(ResourceKey<DamageType> p_270957_) source
(ResourceKey<DamageType> p_270142_, Entity p_270696_) source
(ResourceKey<DamageType> p_270076_, Entity p_270656_, Entity p_270242_) starve()
sting
(LivingEntity p_270689_) wither()
witherSkull
(WitherSkull p_270367_, Entity p_270887_)
-
Field Details
-
damageTypes
-
inFire
-
lightningBolt
-
onFire
-
lava
-
hotFloor
-
inWall
-
cramming
-
drown
-
starve
-
cactus
-
fall
-
flyIntoWall
-
fellOutOfWorld
-
generic
-
magic
-
wither
-
dragonBreath
-
dryOut
-
sweetBerryBush
-
freeze
-
stalagmite
-
outsideBorder
-
genericKill
-
-
Constructor Details
-
DamageSources
-
-
Method Details
-
source
-
source
-
source
public DamageSource source(ResourceKey<DamageType> p_270076_, @Nullable Entity p_270656_, @Nullable Entity p_270242_) -
inFire
-
lightningBolt
-
onFire
-
lava
-
hotFloor
-
inWall
-
cramming
-
drown
-
starve
-
cactus
-
fall
-
flyIntoWall
-
fellOutOfWorld
-
generic
-
magic
-
wither
-
dragonBreath
-
dryOut
-
sweetBerryBush
-
freeze
-
stalagmite
-
fallingBlock
-
anvil
-
fallingStalactite
-
sting
-
mobAttack
-
noAggroMobAttack
-
playerAttack
-
arrow
-
trident
-
mobProjectile
-
fireworks
-
fireball
-
witherSkull
-
thrown
-
indirectMagic
-
thorns
-
explosion
-
explosion
-
sonicBoom
-
badRespawnPointExplosion
-
outOfBorder
-
genericKill
-