Package net.minecraft.src
Class EntityDamageSource
- java.lang.Object
-
- net.minecraft.src.DamageSource
-
- net.minecraft.src.EntityDamageSource
-
- Direct Known Subclasses:
EntityDamageSourceIndirect
public class EntityDamageSource extends DamageSource
-
-
Field Summary
Fields Modifier and Type Field Description protected Entity
damageSourceEntity
-
Fields inherited from class net.minecraft.src.DamageSource
cactus, damageType, drown, explosion, fall, generic, inFire, inWall, lava, magic, onFire, outOfWorld, starve
-
-
Constructor Summary
Constructors Constructor Description EntityDamageSource(java.lang.String var1, Entity var2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDeathMessage(Player var1)
Entity
getEntity()
-
Methods inherited from class net.minecraft.src.DamageSource
canHarmInCreative, causeArrowDamage, causeFireballDamage, causeIndirectMagicDamage, causeMobDamage, causePlayerDamage, causeThrownDamage, fireDamage, getDamageType, getHungerDamage, getSourceOfDamage, isProjectile, isUnblockable, setDamageAllowedInCreativeMode, setDamageBypassesArmor, setFireDamage, setProjectile
-
-
-
-
Field Detail
-
damageSourceEntity
protected Entity damageSourceEntity
-
-
Constructor Detail
-
EntityDamageSource
public EntityDamageSource(java.lang.String var1, Entity var2)
-
-
Method Detail
-
getEntity
public Entity getEntity()
- Overrides:
getEntity
in classDamageSource
-
getDeathMessage
public java.lang.String getDeathMessage(Player var1)
- Overrides:
getDeathMessage
in classDamageSource
-
-