public class EntityDamageSourceIndirect extends EntityDamageSource
anvil, cactus, damageType, drown, fall, fallingBlock, generic, inFire, inWall, lava, magic, onFire, outOfWorld, starve, wither
Constructor and Description |
---|
EntityDamageSourceIndirect(String par1Str,
Entity par2Entity,
Entity par3Entity) |
Modifier and Type | Method and Description |
---|---|
String |
getDeathMessage(EntityLiving par1EntityLiving)
Returns the message to be displayed on player death.
|
Entity |
getEntity() |
Entity |
getSourceOfDamage() |
isDifficultyScaled
canHarmInCreative, causeArrowDamage, causeFireballDamage, causeIndirectMagicDamage, causeMobDamage, causePlayerDamage, causeThornsDamage, causeThrownDamage, getDamageType, getHungerDamage, isExplosion, isFireDamage, isMagicDamage, isProjectile, isUnblockable, setDifficultyScaled, setExplosion, setExplosionSource, setMagicDamage, setProjectile
public Entity getSourceOfDamage()
getSourceOfDamage
in class DamageSource
public Entity getEntity()
getEntity
in class EntityDamageSource
public String getDeathMessage(EntityLiving par1EntityLiving)
getDeathMessage
in class EntityDamageSource