public class EntityDamageSourceIndirect extends EntityDamageSource
damageSourceEntity
ANVIL, CACTUS, CRAMMING, damageType, DRAGON_BREATH, DROWN, FALL, FALLING_BLOCK, field_191552_t, FLY_INTO_WALL, GENERIC, HOT_FLOOR, IN_FIRE, IN_WALL, LAVA, LIGHTNING_BOLT, MAGIC, ON_FIRE, OUT_OF_WORLD, STARVE, WITHER
Constructor and Description |
---|
EntityDamageSourceIndirect(java.lang.String damageTypeIn,
Entity source,
Entity indirectEntityIn) |
Modifier and Type | Method and Description |
---|---|
ITextComponent |
getDeathMessage(EntityLivingBase entityLivingBaseIn) |
Entity |
getEntity() |
Entity |
getSourceOfDamage() |
getDamageLocation, getIsThornsDamage, isDifficultyScaled, setIsThornsDamage
canHarmInCreative, causeArrowDamage, causeExplosionDamage, causeExplosionDamage, causeFireballDamage, causeIndirectDamage, causeIndirectMagicDamage, causeMobDamage, causePlayerDamage, causeThornsDamage, causeThrownDamage, getDamageType, getHungerDamage, isCreativePlayer, isDamageAbsolute, isExplosion, isFireDamage, isMagicDamage, isProjectile, isUnblockable, setDamageAllowedInCreativeMode, setDamageBypassesArmor, setDamageIsAbsolute, setDifficultyScaled, setExplosion, setFireDamage, setMagicDamage, setProjectile
@Nullable public Entity getSourceOfDamage()
getSourceOfDamage
in class DamageSource
@Nullable public Entity getEntity()
getEntity
in class EntityDamageSource
public ITextComponent getDeathMessage(EntityLivingBase entityLivingBaseIn)
getDeathMessage
in class EntityDamageSource