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 p_i1567_1_,
Entity p_i1567_2_) |
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, setProjectile
protected Entity damageSourceEntity
public EntityDamageSource(java.lang.String p_i1567_1_, Entity p_i1567_2_)
public Entity getEntity()
getEntity
in class DamageSource
public IChatComponent func_151519_b(EntityLivingBase p_151519_1_)
func_151519_b
in class DamageSource
public boolean isDifficultyScaled()
isDifficultyScaled
in class DamageSource