net.minecraft.world.damagesource

public class EntityDamageSource

extends DamageSource

bda
net.minecraft.world.damagesource.EntityDamageSource
net.minecraft.class_1285
net.minecraft.entity.damage.EntityDamageSource
net.minecraft.src.C_490_
net.minecraft.world.damagesource.EntityDamageSource

Field summary

Modifier and TypeField
protected final Entity
w
entity
field_5879
source
f_19391_
private boolean
x
isThorns
field_5880
thorns
f_19392_

Constructor summary

ModifierConstructor
public (String name, Entity source)

Method summary

Modifier and TypeMethod
public EntityDamageSource
E()
setThorns()
method_5550()
setThorns()
m_19402_()
public boolean
F()
isThorns()
method_5549()
isThorns()
m_19403_()
public Entity
l()
getEntity()
method_5529()
getAttacker()
m_7639_()
public Component
a(beg arg0)
getLocalizedDeathMessage(LivingEntity arg0)
method_5506(class_1309 arg0)
getDeathMessage(LivingEntity arg0)
m_6157_(C_524_ arg0)
public boolean
x()
scalesWithDifficulty()
method_5514()
isScaledWithDifficulty()
m_7986_()
public Vec3
D()
getSourcePosition()
method_5510()
getPosition()
m_7270_()