public class EntityDamageSource extends DamageSource
| Modifier and Type | Field and Description |
|---|---|
protected Entity |
damageSourceEntity |
anvil, cactus, damageType, drown, fall, fallingBlock, generic, inFire, inWall, lava, magic, onFire, outOfWorld, starve, wither| Constructor and Description |
|---|
EntityDamageSource(java.lang.String par1Str,
Entity par2Entity) |
| Modifier and Type | Method and Description |
|---|---|
IChatComponent |
func_151519_b(EntityLivingBase p_151519_1_) |
Entity |
getEntity() |
boolean |
isDifficultyScaled() |
canHarmInCreative, causeArrowDamage, causeFireballDamage, causeIndirectMagicDamage, causeMobDamage, causePlayerDamage, causeThornsDamage, causeThrownDamage, getDamageType, getHungerDamage, getSourceOfDamage, isDamageAbsolute, isExplosion, isFireDamage, isMagicDamage, isProjectile, isUnblockable, setDamageAllowedInCreativeMode, setDamageBypassesArmor, setDamageIsAbsolute, setDifficultyScaled, setExplosion, setExplosionSource, setFireDamage, setMagicDamage, setProjectileprotected Entity damageSourceEntity
public EntityDamageSource(java.lang.String par1Str,
Entity par2Entity)
public Entity getEntity()
getEntity in class DamageSourcepublic IChatComponent func_151519_b(EntityLivingBase p_151519_1_)
func_151519_b in class DamageSourcepublic boolean isDifficultyScaled()
isDifficultyScaled in class DamageSource