Package net.minecraft.entity.damage
Class EntityDamageSource
java.lang.Object
net.minecraft.entity.damage.DamageSource
net.minecraft.entity.damage.EntityDamageSource
- Direct Known Subclasses:
ProjectileDamageSource
public class EntityDamageSource extends DamageSource
- Mappings:
Namespace Name official oxintermediary net/minecraft/class_1734named net/minecraft/entity/damage/EntityDamageSource
-
Field Summary
Fields Modifier and Type Field Description protected Entityfield_7271private booleanfield_7272Fields inherited from class net.minecraft.entity.damage.DamageSource
ANVIL, CACTUS, DROWN, FALL, FALLING_BLOCK, FIRE, GENERIC, IN_WALL, LAVA, LIGHTNING_BOLT, MAGIC, name, ON_FIRE, OUT_OF_WORLD, STARVE, WITHER -
Constructor Summary
Constructors Constructor Description EntityDamageSource(String string, Entity entity) -
Method Summary
Modifier and Type Method Description EntitygetAttacker()booleanisScaledWithDifficulty()Textmethod_6826(LivingEntity livingEntity)EntityDamageSourcemethod_6846()booleanmethod_6847()Methods inherited from class net.minecraft.entity.damage.DamageSource
arrow, bypassesArmor, explosion, fire, getExhaustion, getMagic, getName, getSource, isExplosive, isFire, isOutOfWorld, isProjectile, isSourceCreativePlayer, isUnblockable, magic, mob, player, setBypassesArmor, setExplosive, setFire, setOutOfWorld, setProjectile, setScaledWithDifficulty, setUnblockable, setUsesMagic, thorns, thrownProjectile
-
Field Details
-
field_7271
- Mappings:
Namespace Name Mixin selector official qLox;q:Lpk;intermediary field_7271Lnet/minecraft/class_1734;field_7271:Lnet/minecraft/class_1745;named field_7271Lnet/minecraft/entity/damage/EntityDamageSource;field_7271:Lnet/minecraft/entity/Entity;
-
field_7272
private boolean field_7272- Mappings:
Namespace Name Mixin selector official rLox;r:Zintermediary field_7272Lnet/minecraft/class_1734;field_7272:Znamed field_7272Lnet/minecraft/entity/damage/EntityDamageSource;field_7272:Z
-
-
Constructor Details
-
EntityDamageSource
-
-
Method Details
-
method_6846
- Mappings:
Namespace Name Mixin selector official vLox;v()Lox;intermediary method_6846Lnet/minecraft/class_1734;method_6846()Lnet/minecraft/class_1734;named method_6846Lnet/minecraft/entity/damage/EntityDamageSource;method_6846()Lnet/minecraft/entity/damage/EntityDamageSource;
-
method_6847
public boolean method_6847()- Mappings:
Namespace Name Mixin selector official wLox;w()Zintermediary method_6847Lnet/minecraft/class_1734;method_6847()Znamed method_6847Lnet/minecraft/entity/damage/EntityDamageSource;method_6847()Z
-
getAttacker
- Overrides:
getAttackerin classDamageSource- Mappings:
Namespace Name Mixin selector official jLow;j()Lpk;intermediary method_6834Lnet/minecraft/class_1733;method_6834()Lnet/minecraft/class_1745;named getAttackerLnet/minecraft/entity/damage/DamageSource;getAttacker()Lnet/minecraft/entity/Entity;
-
method_6826
- Overrides:
method_6826in classDamageSource- Mappings:
Namespace Name Mixin selector official bLow;b(Lpr;)Leu;intermediary method_6826Lnet/minecraft/class_1733;method_6826(Lnet/minecraft/class_1752;)Lnet/minecraft/class_1444;named method_6826Lnet/minecraft/entity/damage/DamageSource;method_6826(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/text/Text;
-
isScaledWithDifficulty
public boolean isScaledWithDifficulty()- Overrides:
isScaledWithDifficultyin classDamageSource- Mappings:
Namespace Name Mixin selector official rLow;r()Zintermediary method_6842Lnet/minecraft/class_1733;method_6842()Znamed isScaledWithDifficultyLnet/minecraft/entity/damage/DamageSource;isScaledWithDifficulty()Z
-