Class DamageSource

java.lang.Object
net.minecraft.entity.damage.DamageSource
Direct Known Subclasses:
BadRespawnPointDamageSource, EntityDamageSource

public class DamageSource extends Object
Mappings:
Namespace Name
official awd
intermediary net/minecraft/class_1282
named net/minecraft/entity/damage/DamageSource
  • Field Details

    • IN_FIRE

      public static final DamageSource IN_FIRE
      Mappings:
      Namespace Name Mixin selector
      official a Lawd;a:Lawd;
      intermediary field_5867 Lnet/minecraft/class_1282;field_5867:Lnet/minecraft/class_1282;
      named IN_FIRE Lnet/minecraft/entity/damage/DamageSource;IN_FIRE:Lnet/minecraft/entity/damage/DamageSource;
    • LIGHTNING_BOLT

      public static final DamageSource LIGHTNING_BOLT
      Mappings:
      Namespace Name Mixin selector
      official b Lawd;b:Lawd;
      intermediary field_5861 Lnet/minecraft/class_1282;field_5861:Lnet/minecraft/class_1282;
      named LIGHTNING_BOLT Lnet/minecraft/entity/damage/DamageSource;LIGHTNING_BOLT:Lnet/minecraft/entity/damage/DamageSource;
    • ON_FIRE

      public static final DamageSource ON_FIRE
      Mappings:
      Namespace Name Mixin selector
      official c Lawd;c:Lawd;
      intermediary field_5854 Lnet/minecraft/class_1282;field_5854:Lnet/minecraft/class_1282;
      named ON_FIRE Lnet/minecraft/entity/damage/DamageSource;ON_FIRE:Lnet/minecraft/entity/damage/DamageSource;
    • LAVA

      public static final DamageSource LAVA
      Mappings:
      Namespace Name Mixin selector
      official d Lawd;d:Lawd;
      intermediary field_5863 Lnet/minecraft/class_1282;field_5863:Lnet/minecraft/class_1282;
      named LAVA Lnet/minecraft/entity/damage/DamageSource;LAVA:Lnet/minecraft/entity/damage/DamageSource;
    • HOT_FLOOR

      public static final DamageSource HOT_FLOOR
      Mappings:
      Namespace Name Mixin selector
      official e Lawd;e:Lawd;
      intermediary field_5858 Lnet/minecraft/class_1282;field_5858:Lnet/minecraft/class_1282;
      named HOT_FLOOR Lnet/minecraft/entity/damage/DamageSource;HOT_FLOOR:Lnet/minecraft/entity/damage/DamageSource;
    • IN_WALL

      public static final DamageSource IN_WALL
      Mappings:
      Namespace Name Mixin selector
      official f Lawd;f:Lawd;
      intermediary field_5855 Lnet/minecraft/class_1282;field_5855:Lnet/minecraft/class_1282;
      named IN_WALL Lnet/minecraft/entity/damage/DamageSource;IN_WALL:Lnet/minecraft/entity/damage/DamageSource;
    • CRAMMING

      public static final DamageSource CRAMMING
      Mappings:
      Namespace Name Mixin selector
      official g Lawd;g:Lawd;
      intermediary field_5844 Lnet/minecraft/class_1282;field_5844:Lnet/minecraft/class_1282;
      named CRAMMING Lnet/minecraft/entity/damage/DamageSource;CRAMMING:Lnet/minecraft/entity/damage/DamageSource;
    • DROWN

      public static final DamageSource DROWN
      Mappings:
      Namespace Name Mixin selector
      official h Lawd;h:Lawd;
      intermediary field_5859 Lnet/minecraft/class_1282;field_5859:Lnet/minecraft/class_1282;
      named DROWN Lnet/minecraft/entity/damage/DamageSource;DROWN:Lnet/minecraft/entity/damage/DamageSource;
    • STARVE

      public static final DamageSource STARVE
      Mappings:
      Namespace Name Mixin selector
      official i Lawd;i:Lawd;
      intermediary field_5852 Lnet/minecraft/class_1282;field_5852:Lnet/minecraft/class_1282;
      named STARVE Lnet/minecraft/entity/damage/DamageSource;STARVE:Lnet/minecraft/entity/damage/DamageSource;
    • CACTUS

      public static final DamageSource CACTUS
      Mappings:
      Namespace Name Mixin selector
      official j Lawd;j:Lawd;
      intermediary field_5848 Lnet/minecraft/class_1282;field_5848:Lnet/minecraft/class_1282;
      named CACTUS Lnet/minecraft/entity/damage/DamageSource;CACTUS:Lnet/minecraft/entity/damage/DamageSource;
    • FALL

      public static final DamageSource FALL
      Mappings:
      Namespace Name Mixin selector
      official k Lawd;k:Lawd;
      intermediary field_5868 Lnet/minecraft/class_1282;field_5868:Lnet/minecraft/class_1282;
      named FALL Lnet/minecraft/entity/damage/DamageSource;FALL:Lnet/minecraft/entity/damage/DamageSource;
    • FLY_INTO_WALL

      public static final DamageSource FLY_INTO_WALL
      Mappings:
      Namespace Name Mixin selector
      official l Lawd;l:Lawd;
      intermediary field_5843 Lnet/minecraft/class_1282;field_5843:Lnet/minecraft/class_1282;
      named FLY_INTO_WALL Lnet/minecraft/entity/damage/DamageSource;FLY_INTO_WALL:Lnet/minecraft/entity/damage/DamageSource;
    • OUT_OF_WORLD

      public static final DamageSource OUT_OF_WORLD
      Mappings:
      Namespace Name Mixin selector
      official m Lawd;m:Lawd;
      intermediary field_5849 Lnet/minecraft/class_1282;field_5849:Lnet/minecraft/class_1282;
      named OUT_OF_WORLD Lnet/minecraft/entity/damage/DamageSource;OUT_OF_WORLD:Lnet/minecraft/entity/damage/DamageSource;
    • GENERIC

      public static final DamageSource GENERIC
      Mappings:
      Namespace Name Mixin selector
      official n Lawd;n:Lawd;
      intermediary field_5869 Lnet/minecraft/class_1282;field_5869:Lnet/minecraft/class_1282;
      named GENERIC Lnet/minecraft/entity/damage/DamageSource;GENERIC:Lnet/minecraft/entity/damage/DamageSource;
    • MAGIC

      public static final DamageSource MAGIC
      Mappings:
      Namespace Name Mixin selector
      official o Lawd;o:Lawd;
      intermediary field_5846 Lnet/minecraft/class_1282;field_5846:Lnet/minecraft/class_1282;
      named MAGIC Lnet/minecraft/entity/damage/DamageSource;MAGIC:Lnet/minecraft/entity/damage/DamageSource;
    • WITHER

      public static final DamageSource WITHER
      Mappings:
      Namespace Name Mixin selector
      official p Lawd;p:Lawd;
      intermediary field_5850 Lnet/minecraft/class_1282;field_5850:Lnet/minecraft/class_1282;
      named WITHER Lnet/minecraft/entity/damage/DamageSource;WITHER:Lnet/minecraft/entity/damage/DamageSource;
    • ANVIL

      public static final DamageSource ANVIL
      Mappings:
      Namespace Name Mixin selector
      official q Lawd;q:Lawd;
      intermediary field_5865 Lnet/minecraft/class_1282;field_5865:Lnet/minecraft/class_1282;
      named ANVIL Lnet/minecraft/entity/damage/DamageSource;ANVIL:Lnet/minecraft/entity/damage/DamageSource;
    • FALLING_BLOCK

      public static final DamageSource FALLING_BLOCK
      Mappings:
      Namespace Name Mixin selector
      official r Lawd;r:Lawd;
      intermediary field_5847 Lnet/minecraft/class_1282;field_5847:Lnet/minecraft/class_1282;
      named FALLING_BLOCK Lnet/minecraft/entity/damage/DamageSource;FALLING_BLOCK:Lnet/minecraft/entity/damage/DamageSource;
    • DRAGON_BREATH

      public static final DamageSource DRAGON_BREATH
      Mappings:
      Namespace Name Mixin selector
      official s Lawd;s:Lawd;
      intermediary field_5856 Lnet/minecraft/class_1282;field_5856:Lnet/minecraft/class_1282;
      named DRAGON_BREATH Lnet/minecraft/entity/damage/DamageSource;DRAGON_BREATH:Lnet/minecraft/entity/damage/DamageSource;
    • DRYOUT

      public static final DamageSource DRYOUT
      Mappings:
      Namespace Name Mixin selector
      official t Lawd;t:Lawd;
      intermediary field_5842 Lnet/minecraft/class_1282;field_5842:Lnet/minecraft/class_1282;
      named DRYOUT Lnet/minecraft/entity/damage/DamageSource;DRYOUT:Lnet/minecraft/entity/damage/DamageSource;
    • SWEET_BERRY_BUSH

      public static final DamageSource SWEET_BERRY_BUSH
      Mappings:
      Namespace Name Mixin selector
      official u Lawd;u:Lawd;
      intermediary field_16992 Lnet/minecraft/class_1282;field_16992:Lnet/minecraft/class_1282;
      named SWEET_BERRY_BUSH Lnet/minecraft/entity/damage/DamageSource;SWEET_BERRY_BUSH:Lnet/minecraft/entity/damage/DamageSource;
    • FREEZE

      public static final DamageSource FREEZE
      Mappings:
      Namespace Name Mixin selector
      official v Lawd;v:Lawd;
      intermediary field_27856 Lnet/minecraft/class_1282;field_27856:Lnet/minecraft/class_1282;
      named FREEZE Lnet/minecraft/entity/damage/DamageSource;FREEZE:Lnet/minecraft/entity/damage/DamageSource;
    • FALLING_STALACTITE

      public static final DamageSource FALLING_STALACTITE
      Mappings:
      Namespace Name Mixin selector
      official w Lawd;w:Lawd;
      intermediary field_28099 Lnet/minecraft/class_1282;field_28099:Lnet/minecraft/class_1282;
      named FALLING_STALACTITE Lnet/minecraft/entity/damage/DamageSource;FALLING_STALACTITE:Lnet/minecraft/entity/damage/DamageSource;
    • STALAGMITE

      public static final DamageSource STALAGMITE
      Mappings:
      Namespace Name Mixin selector
      official x Lawd;x:Lawd;
      intermediary field_28400 Lnet/minecraft/class_1282;field_28400:Lnet/minecraft/class_1282;
      named STALAGMITE Lnet/minecraft/entity/damage/DamageSource;STALAGMITE:Lnet/minecraft/entity/damage/DamageSource;
    • fallingBlock

      private boolean fallingBlock
      Mappings:
      Namespace Name Mixin selector
      official z Lawd;z:Z
      intermediary field_28100 Lnet/minecraft/class_1282;field_28100:Z
      named fallingBlock Lnet/minecraft/entity/damage/DamageSource;fallingBlock:Z
    • bypassesArmor

      private boolean bypassesArmor
      Mappings:
      Namespace Name Mixin selector
      official A Lawd;A:Z
      intermediary field_5840 Lnet/minecraft/class_1282;field_5840:Z
      named bypassesArmor Lnet/minecraft/entity/damage/DamageSource;bypassesArmor:Z
    • outOfWorld

      private boolean outOfWorld
      Mappings:
      Namespace Name Mixin selector
      official B Lawd;B:Z
      intermediary field_5857 Lnet/minecraft/class_1282;field_5857:Z
      named outOfWorld Lnet/minecraft/entity/damage/DamageSource;outOfWorld:Z
    • unblockable

      private boolean unblockable
      Mappings:
      Namespace Name Mixin selector
      official C Lawd;C:Z
      intermediary field_5839 Lnet/minecraft/class_1282;field_5839:Z
      named unblockable Lnet/minecraft/entity/damage/DamageSource;unblockable:Z
    • exhaustion

      private float exhaustion
      Mappings:
      Namespace Name Mixin selector
      official D Lawd;D:F
      intermediary field_5845 Lnet/minecraft/class_1282;field_5845:F
      named exhaustion Lnet/minecraft/entity/damage/DamageSource;exhaustion:F
    • fire

      private boolean fire
      Mappings:
      Namespace Name Mixin selector
      official E Lawd;E:Z
      intermediary field_5866 Lnet/minecraft/class_1282;field_5866:Z
      named fire Lnet/minecraft/entity/damage/DamageSource;fire:Z
    • projectile

      private boolean projectile
      Mappings:
      Namespace Name Mixin selector
      official F Lawd;F:Z
      intermediary field_5853 Lnet/minecraft/class_1282;field_5853:Z
      named projectile Lnet/minecraft/entity/damage/DamageSource;projectile:Z
    • scaleWithDifficulty

      private boolean scaleWithDifficulty
      Mappings:
      Namespace Name Mixin selector
      official G Lawd;G:Z
      intermediary field_5864 Lnet/minecraft/class_1282;field_5864:Z
      named scaleWithDifficulty Lnet/minecraft/entity/damage/DamageSource;scaleWithDifficulty:Z
    • magic

      private boolean magic
      Mappings:
      Namespace Name Mixin selector
      official H Lawd;H:Z
      intermediary field_5851 Lnet/minecraft/class_1282;field_5851:Z
      named magic Lnet/minecraft/entity/damage/DamageSource;magic:Z
    • explosive

      private boolean explosive
      Mappings:
      Namespace Name Mixin selector
      official I Lawd;I:Z
      intermediary field_5862 Lnet/minecraft/class_1282;field_5862:Z
      named explosive Lnet/minecraft/entity/damage/DamageSource;explosive:Z
    • fromFalling

      private boolean fromFalling
      Mappings:
      Namespace Name Mixin selector
      official J Lawd;J:Z
      intermediary field_28399 Lnet/minecraft/class_1282;field_28399:Z
      named fromFalling Lnet/minecraft/entity/damage/DamageSource;fromFalling:Z
    • neutral

      private boolean neutral
      Whether the attacked entity should be neutral to the attacker.
      API Note:
      This is used by goats to prevent rammed mobs from retaliating. Damages that are neutral do not cause LivingEntity.setAttacker(LivingEntity) to be called.
      Mappings:
      Namespace Name Mixin selector
      official K Lawd;K:Z
      intermediary field_34004 Lnet/minecraft/class_1282;field_34004:Z
      named neutral Lnet/minecraft/entity/damage/DamageSource;neutral:Z
    • name

      public final String name
      Mappings:
      Namespace Name Mixin selector
      official y Lawd;y:Ljava/lang/String;
      intermediary field_5841 Lnet/minecraft/class_1282;field_5841:Ljava/lang/String;
      named name Lnet/minecraft/entity/damage/DamageSource;name:Ljava/lang/String;
  • Constructor Details

    • DamageSource

      protected DamageSource(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lawd;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1282;<init>(Ljava/lang/String;)V
      named <init> Lnet/minecraft/entity/damage/DamageSource;<init>(Ljava/lang/String;)V
  • Method Details

    • sting

      public static DamageSource sting(LivingEntity attacker)
      Mappings:
      Namespace Name Mixin selector
      official b Lawd;b(Laxh;)Lawd;
      intermediary method_21748 Lnet/minecraft/class_1282;method_21748(Lnet/minecraft/class_1309;)Lnet/minecraft/class_1282;
      named sting Lnet/minecraft/entity/damage/DamageSource;sting(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/entity/damage/DamageSource;
    • mob

      public static DamageSource mob(LivingEntity attacker)
      Mappings:
      Namespace Name Mixin selector
      official c Lawd;c(Laxh;)Lawd;
      intermediary method_5511 Lnet/minecraft/class_1282;method_5511(Lnet/minecraft/class_1309;)Lnet/minecraft/class_1282;
      named mob Lnet/minecraft/entity/damage/DamageSource;mob(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/entity/damage/DamageSource;
    • mobProjectile

      public static DamageSource mobProjectile(Entity projectile, @Nullable @Nullable LivingEntity attacker)
      Mappings:
      Namespace Name Mixin selector
      official a Lawd;a(Lawt;Laxh;)Lawd;
      intermediary method_5519 Lnet/minecraft/class_1282;method_5519(Lnet/minecraft/class_1297;Lnet/minecraft/class_1309;)Lnet/minecraft/class_1282;
      named mobProjectile Lnet/minecraft/entity/damage/DamageSource;mobProjectile(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/entity/damage/DamageSource;
    • player

      public static DamageSource player(PlayerEntity attacker)
      Mappings:
      Namespace Name Mixin selector
      official a Lawd;a(Lbnr;)Lawd;
      intermediary method_5532 Lnet/minecraft/class_1282;method_5532(Lnet/minecraft/class_1657;)Lnet/minecraft/class_1282;
      named player Lnet/minecraft/entity/damage/DamageSource;player(Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/entity/damage/DamageSource;
    • arrow

      public static DamageSource arrow(PersistentProjectileEntity projectile, @Nullable @Nullable Entity attacker)
      Mappings:
      Namespace Name Mixin selector
      official a Lawd;a(Lbnv;Lawt;)Lawd;
      intermediary method_5522 Lnet/minecraft/class_1282;method_5522(Lnet/minecraft/class_1665;Lnet/minecraft/class_1297;)Lnet/minecraft/class_1282;
      named arrow Lnet/minecraft/entity/damage/DamageSource;arrow(Lnet/minecraft/entity/projectile/PersistentProjectileEntity;Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/damage/DamageSource;
    • trident

      public static DamageSource trident(Entity trident, @Nullable @Nullable Entity attacker)
      Mappings:
      Namespace Name Mixin selector
      official a Lawd;a(Lawt;Lawt;)Lawd;
      intermediary method_5520 Lnet/minecraft/class_1282;method_5520(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)Lnet/minecraft/class_1282;
      named trident Lnet/minecraft/entity/damage/DamageSource;trident(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/damage/DamageSource;
    • firework

      public static DamageSource firework(FireworkRocketEntity firework, @Nullable @Nullable Entity attacker)
      Mappings:
      Namespace Name Mixin selector
      official a Lawd;a(Lboc;Lawt;)Lawd;
      intermediary method_24907 Lnet/minecraft/class_1282;method_24907(Lnet/minecraft/class_1671;Lnet/minecraft/class_1297;)Lnet/minecraft/class_1282;
      named firework Lnet/minecraft/entity/damage/DamageSource;firework(Lnet/minecraft/entity/projectile/FireworkRocketEntity;Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/damage/DamageSource;
    • fireball

      public static DamageSource fireball(AbstractFireballEntity fireball, @Nullable @Nullable Entity attacker)
      Mappings:
      Namespace Name Mixin selector
      official a Lawd;a(Lbob;Lawt;)Lawd;
      intermediary method_5521 Lnet/minecraft/class_1282;method_5521(Lnet/minecraft/class_3855;Lnet/minecraft/class_1297;)Lnet/minecraft/class_1282;
      named fireball Lnet/minecraft/entity/damage/DamageSource;fireball(Lnet/minecraft/entity/projectile/AbstractFireballEntity;Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/damage/DamageSource;
    • witherSkull

      public static DamageSource witherSkull(WitherSkullEntity witherSkull, Entity attacker)
      Mappings:
      Namespace Name Mixin selector
      official a Lawd;a(Lbou;Lawt;)Lawd;
      intermediary method_29238 Lnet/minecraft/class_1282;method_29238(Lnet/minecraft/class_1687;Lnet/minecraft/class_1297;)Lnet/minecraft/class_1282;
      named witherSkull Lnet/minecraft/entity/damage/DamageSource;witherSkull(Lnet/minecraft/entity/projectile/WitherSkullEntity;Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/damage/DamageSource;
    • thrownProjectile

      public static DamageSource thrownProjectile(Entity projectile, @Nullable @Nullable Entity attacker)
      Mappings:
      Namespace Name Mixin selector
      official b Lawd;b(Lawt;Lawt;)Lawd;
      intermediary method_5524 Lnet/minecraft/class_1282;method_5524(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)Lnet/minecraft/class_1282;
      named thrownProjectile Lnet/minecraft/entity/damage/DamageSource;thrownProjectile(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/damage/DamageSource;
    • magic

      public static DamageSource magic(Entity magic, @Nullable @Nullable Entity attacker)
      Mappings:
      Namespace Name Mixin selector
      official c Lawd;c(Lawt;Lawt;)Lawd;
      intermediary method_5536 Lnet/minecraft/class_1282;method_5536(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)Lnet/minecraft/class_1282;
      named magic Lnet/minecraft/entity/damage/DamageSource;magic(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/damage/DamageSource;
    • thorns

      public static DamageSource thorns(Entity attacker)
      Mappings:
      Namespace Name Mixin selector
      official a Lawd;a(Lawt;)Lawd;
      intermediary method_5513 Lnet/minecraft/class_1282;method_5513(Lnet/minecraft/class_1297;)Lnet/minecraft/class_1282;
      named thorns Lnet/minecraft/entity/damage/DamageSource;thorns(Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/damage/DamageSource;
    • explosion

      public static DamageSource explosion(@Nullable @Nullable Explosion explosion)
      Mappings:
      Namespace Name Mixin selector
      official a Lawd;a(Lbzv;)Lawd;
      intermediary method_5531 Lnet/minecraft/class_1282;method_5531(Lnet/minecraft/class_1927;)Lnet/minecraft/class_1282;
      named explosion Lnet/minecraft/entity/damage/DamageSource;explosion(Lnet/minecraft/world/explosion/Explosion;)Lnet/minecraft/entity/damage/DamageSource;
    • explosion

      public static DamageSource explosion(@Nullable @Nullable LivingEntity attacker)
      Mappings:
      Namespace Name Mixin selector
      official d Lawd;d(Laxh;)Lawd;
      intermediary method_5512 Lnet/minecraft/class_1282;method_5512(Lnet/minecraft/class_1309;)Lnet/minecraft/class_1282;
      named explosion Lnet/minecraft/entity/damage/DamageSource;explosion(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/entity/damage/DamageSource;
    • badRespawnPoint

      public static DamageSource badRespawnPoint()
      Mappings:
      Namespace Name Mixin selector
      official a Lawd;a()Lawd;
      intermediary method_5523 Lnet/minecraft/class_1282;method_5523()Lnet/minecraft/class_1282;
      named badRespawnPoint Lnet/minecraft/entity/damage/DamageSource;badRespawnPoint()Lnet/minecraft/entity/damage/DamageSource;
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isProjectile

      public boolean isProjectile()
      Mappings:
      Namespace Name Mixin selector
      official b Lawd;b()Z
      intermediary method_5533 Lnet/minecraft/class_1282;method_5533()Z
      named isProjectile Lnet/minecraft/entity/damage/DamageSource;isProjectile()Z
    • setProjectile

      public DamageSource setProjectile()
      Mappings:
      Namespace Name Mixin selector
      official c Lawd;c()Lawd;
      intermediary method_5517 Lnet/minecraft/class_1282;method_5517()Lnet/minecraft/class_1282;
      named setProjectile Lnet/minecraft/entity/damage/DamageSource;setProjectile()Lnet/minecraft/entity/damage/DamageSource;
    • isExplosive

      public boolean isExplosive()
      Mappings:
      Namespace Name Mixin selector
      official d Lawd;d()Z
      intermediary method_5535 Lnet/minecraft/class_1282;method_5535()Z
      named isExplosive Lnet/minecraft/entity/damage/DamageSource;isExplosive()Z
    • setExplosive

      public DamageSource setExplosive()
      Mappings:
      Namespace Name Mixin selector
      official e Lawd;e()Lawd;
      intermediary method_5518 Lnet/minecraft/class_1282;method_5518()Lnet/minecraft/class_1282;
      named setExplosive Lnet/minecraft/entity/damage/DamageSource;setExplosive()Lnet/minecraft/entity/damage/DamageSource;
    • bypassesArmor

      public boolean bypassesArmor()
      Mappings:
      Namespace Name Mixin selector
      official f Lawd;f()Z
      intermediary method_5537 Lnet/minecraft/class_1282;method_5537()Z
      named bypassesArmor Lnet/minecraft/entity/damage/DamageSource;bypassesArmor()Z
    • isFallingBlock

      public boolean isFallingBlock()
      Mappings:
      Namespace Name Mixin selector
      official g Lawd;g()Z
      intermediary method_32872 Lnet/minecraft/class_1282;method_32872()Z
      named isFallingBlock Lnet/minecraft/entity/damage/DamageSource;isFallingBlock()Z
    • getExhaustion

      public float getExhaustion()
      Mappings:
      Namespace Name Mixin selector
      official h Lawd;h()F
      intermediary method_5528 Lnet/minecraft/class_1282;method_5528()F
      named getExhaustion Lnet/minecraft/entity/damage/DamageSource;getExhaustion()F
    • isOutOfWorld

      public boolean isOutOfWorld()
      Mappings:
      Namespace Name Mixin selector
      official i Lawd;i()Z
      intermediary method_5538 Lnet/minecraft/class_1282;method_5538()Z
      named isOutOfWorld Lnet/minecraft/entity/damage/DamageSource;isOutOfWorld()Z
    • isUnblockable

      public boolean isUnblockable()
      Mappings:
      Namespace Name Mixin selector
      official j Lawd;j()Z
      intermediary method_5504 Lnet/minecraft/class_1282;method_5504()Z
      named isUnblockable Lnet/minecraft/entity/damage/DamageSource;isUnblockable()Z
    • getSource

      @Nullable public @Nullable Entity getSource()
      Mappings:
      Namespace Name Mixin selector
      official k Lawd;k()Lawt;
      intermediary method_5526 Lnet/minecraft/class_1282;method_5526()Lnet/minecraft/class_1297;
      named getSource Lnet/minecraft/entity/damage/DamageSource;getSource()Lnet/minecraft/entity/Entity;
    • getAttacker

      @Nullable public @Nullable Entity getAttacker()
      Mappings:
      Namespace Name Mixin selector
      official l Lawd;l()Lawt;
      intermediary method_5529 Lnet/minecraft/class_1282;method_5529()Lnet/minecraft/class_1297;
      named getAttacker Lnet/minecraft/entity/damage/DamageSource;getAttacker()Lnet/minecraft/entity/Entity;
    • setBypassesArmor

      protected DamageSource setBypassesArmor()
      Mappings:
      Namespace Name Mixin selector
      official m Lawd;m()Lawd;
      intermediary method_5508 Lnet/minecraft/class_1282;method_5508()Lnet/minecraft/class_1282;
      named setBypassesArmor Lnet/minecraft/entity/damage/DamageSource;setBypassesArmor()Lnet/minecraft/entity/damage/DamageSource;
    • setFallingBlock

      protected DamageSource setFallingBlock()
      Mappings:
      Namespace Name Mixin selector
      official n Lawd;n()Lawd;
      intermediary method_32873 Lnet/minecraft/class_1282;method_32873()Lnet/minecraft/class_1282;
      named setFallingBlock Lnet/minecraft/entity/damage/DamageSource;setFallingBlock()Lnet/minecraft/entity/damage/DamageSource;
    • setOutOfWorld

      protected DamageSource setOutOfWorld()
      Mappings:
      Namespace Name Mixin selector
      official o Lawd;o()Lawd;
      intermediary method_5505 Lnet/minecraft/class_1282;method_5505()Lnet/minecraft/class_1282;
      named setOutOfWorld Lnet/minecraft/entity/damage/DamageSource;setOutOfWorld()Lnet/minecraft/entity/damage/DamageSource;
    • setUnblockable

      protected DamageSource setUnblockable()
      Mappings:
      Namespace Name Mixin selector
      official p Lawd;p()Lawd;
      intermediary method_5509 Lnet/minecraft/class_1282;method_5509()Lnet/minecraft/class_1282;
      named setUnblockable Lnet/minecraft/entity/damage/DamageSource;setUnblockable()Lnet/minecraft/entity/damage/DamageSource;
    • setFire

      protected DamageSource setFire()
      Mappings:
      Namespace Name Mixin selector
      official q Lawd;q()Lawd;
      intermediary method_5507 Lnet/minecraft/class_1282;method_5507()Lnet/minecraft/class_1282;
      named setFire Lnet/minecraft/entity/damage/DamageSource;setFire()Lnet/minecraft/entity/damage/DamageSource;
    • setNeutral

      public DamageSource setNeutral()
      Mappings:
      Namespace Name Mixin selector
      official r Lawd;r()Lawd;
      intermediary method_37353 Lnet/minecraft/class_1282;method_37353()Lnet/minecraft/class_1282;
      named setNeutral Lnet/minecraft/entity/damage/DamageSource;setNeutral()Lnet/minecraft/entity/damage/DamageSource;
    • getDeathMessage

      public Text getDeathMessage(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lawd;a(Laxh;)Lpz;
      intermediary method_5506 Lnet/minecraft/class_1282;method_5506(Lnet/minecraft/class_1309;)Lnet/minecraft/class_2561;
      named getDeathMessage Lnet/minecraft/entity/damage/DamageSource;getDeathMessage(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/text/Text;
    • isFire

      public boolean isFire()
      Mappings:
      Namespace Name Mixin selector
      official s Lawd;s()Z
      intermediary method_5534 Lnet/minecraft/class_1282;method_5534()Z
      named isFire Lnet/minecraft/entity/damage/DamageSource;isFire()Z
    • isNeutral

      public boolean isNeutral()
      Mappings:
      Namespace Name Mixin selector
      official t Lawd;t()Z
      intermediary method_37354 Lnet/minecraft/class_1282;method_37354()Z
      named isNeutral Lnet/minecraft/entity/damage/DamageSource;isNeutral()Z
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official u Lawd;u()Ljava/lang/String;
      intermediary method_5525 Lnet/minecraft/class_1282;method_5525()Ljava/lang/String;
      named getName Lnet/minecraft/entity/damage/DamageSource;getName()Ljava/lang/String;
    • setScaledWithDifficulty

      public DamageSource setScaledWithDifficulty()
      Mappings:
      Namespace Name Mixin selector
      official v Lawd;v()Lawd;
      intermediary method_5516 Lnet/minecraft/class_1282;method_5516()Lnet/minecraft/class_1282;
      named setScaledWithDifficulty Lnet/minecraft/entity/damage/DamageSource;setScaledWithDifficulty()Lnet/minecraft/entity/damage/DamageSource;
    • isScaledWithDifficulty

      public boolean isScaledWithDifficulty()
      Mappings:
      Namespace Name Mixin selector
      official w Lawd;w()Z
      intermediary method_5514 Lnet/minecraft/class_1282;method_5514()Z
      named isScaledWithDifficulty Lnet/minecraft/entity/damage/DamageSource;isScaledWithDifficulty()Z
    • isMagic

      public boolean isMagic()
      Mappings:
      Namespace Name Mixin selector
      official x Lawd;x()Z
      intermediary method_5527 Lnet/minecraft/class_1282;method_5527()Z
      named isMagic Lnet/minecraft/entity/damage/DamageSource;isMagic()Z
    • setUsesMagic

      public DamageSource setUsesMagic()
      Mappings:
      Namespace Name Mixin selector
      official y Lawd;y()Lawd;
      intermediary method_5515 Lnet/minecraft/class_1282;method_5515()Lnet/minecraft/class_1282;
      named setUsesMagic Lnet/minecraft/entity/damage/DamageSource;setUsesMagic()Lnet/minecraft/entity/damage/DamageSource;
    • isFromFalling

      public boolean isFromFalling()
      Mappings:
      Namespace Name Mixin selector
      official z Lawd;z()Z
      intermediary method_33329 Lnet/minecraft/class_1282;method_33329()Z
      named isFromFalling Lnet/minecraft/entity/damage/DamageSource;isFromFalling()Z
    • setFromFalling

      public DamageSource setFromFalling()
      Mappings:
      Namespace Name Mixin selector
      official A Lawd;A()Lawd;
      intermediary method_33330 Lnet/minecraft/class_1282;method_33330()Lnet/minecraft/class_1282;
      named setFromFalling Lnet/minecraft/entity/damage/DamageSource;setFromFalling()Lnet/minecraft/entity/damage/DamageSource;
    • isSourceCreativePlayer

      public boolean isSourceCreativePlayer()
      Mappings:
      Namespace Name Mixin selector
      official B Lawd;B()Z
      intermediary method_5530 Lnet/minecraft/class_1282;method_5530()Z
      named isSourceCreativePlayer Lnet/minecraft/entity/damage/DamageSource;isSourceCreativePlayer()Z
    • getPosition

      @Nullable public @Nullable Vec3d getPosition()
      Mappings:
      Namespace Name Mixin selector
      official C Lawd;C()Ldom;
      intermediary method_5510 Lnet/minecraft/class_1282;method_5510()Lnet/minecraft/class_243;
      named getPosition Lnet/minecraft/entity/damage/DamageSource;getPosition()Lnet/minecraft/util/math/Vec3d;