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, causeThrownDamage, func_92087_a, func_94539_a, func_94540_d, func_94541_c, getDamageType, getHungerDamage, isFireDamage, isMagicDamage, isProjectile, isUnblockable, setDifficultyScaled, setMagicDamage, setProjectile
public EntityDamageSourceIndirect(String par1Str, Entity par2Entity, Entity par3Entity)
public Entity getSourceOfDamage()
getSourceOfDamage
in class DamageSource
public Entity getEntity()
getEntity
in class EntityDamageSource
public String getDeathMessage(EntityLiving par1EntityLiving)
getDeathMessage
in class EntityDamageSource