Class DamageSource

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

public class DamageSource extends Object
Mappings:
Namespace Name
official asp
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 Lasp;a:Lasp;
      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 Lasp;b:Lasp;
      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 Lasp;c:Lasp;
      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 Lasp;d:Lasp;
      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 Lasp;e:Lasp;
      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 Lasp;f:Lasp;
      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 Lasp;g:Lasp;
      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 Lasp;h:Lasp;
      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 Lasp;i:Lasp;
      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 Lasp;j:Lasp;
      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 Lasp;k:Lasp;
      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 Lasp;l:Lasp;
      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 Lasp;m:Lasp;
      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 Lasp;n:Lasp;
      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 Lasp;o:Lasp;
      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 Lasp;p:Lasp;
      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 Lasp;q:Lasp;
      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 Lasp;r:Lasp;
      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 Lasp;s:Lasp;
      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 Lasp;t:Lasp;
      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 Lasp;u:Lasp;
      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 Lasp;v:Lasp;
      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 Lasp;w:Lasp;
      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 Lasp;x:Lasp;
      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 Lasp;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 Lasp;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 Lasp;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 Lasp;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 Lasp;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 Lasp;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 Lasp;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 Lasp;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 Lasp;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 Lasp;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 Lasp;J:Z
      intermediary field_28399 Lnet/minecraft/class_1282;field_28399:Z
      named fromFalling Lnet/minecraft/entity/damage/DamageSource;fromFalling:Z
    • name

      public final String name
      Mappings:
      Namespace Name Mixin selector
      official y Lasp;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> Lasp;<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 Lasp;b(Latt;)Lasp;
      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 Lasp;c(Latt;)Lasp;
      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 Lasp;a(Latf;Latt;)Lasp;
      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 Lasp;a(Lbkd;)Lasp;
      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 Lasp;a(Lbkh;Latf;)Lasp;
      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 Lasp;a(Latf;Latf;)Lasp;
      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 Lasp;a(Lbko;Latf;)Lasp;
      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 Lasp;a(Lbkn;Latf;)Lasp;
      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 Lasp;a(Lblg;Latf;)Lasp;
      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 Lasp;b(Latf;Latf;)Lasp;
      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 Lasp;c(Latf;Latf;)Lasp;
      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 Lasp;a(Latf;)Lasp;
      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 Lasp;a(Lbwh;)Lasp;
      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 Lasp;d(Latt;)Lasp;
      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 Lasp;a()Lasp;
      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 Lasp;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 Lasp;c()Lasp;
      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 Lasp;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 Lasp;e()Lasp;
      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 Lasp;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 Lasp;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 Lasp;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 Lasp;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 Lasp;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 Lasp;k()Latf;
      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 Lasp;l()Latf;
      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 Lasp;m()Lasp;
      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 Lasp;n()Lasp;
      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 Lasp;o()Lasp;
      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 Lasp;p()Lasp;
      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 Lasp;q()Lasp;
      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;
    • getDeathMessage

      public Text getDeathMessage(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lasp;a(Latt;)Los;
      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 r Lasp;r()Z
      intermediary method_5534 Lnet/minecraft/class_1282;method_5534()Z
      named isFire Lnet/minecraft/entity/damage/DamageSource;isFire()Z
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official s Lasp;s()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 t Lasp;t()Lasp;
      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 u Lasp;u()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 v Lasp;v()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 w Lasp;w()Lasp;
      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 x Lasp;x()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 y Lasp;y()Lasp;
      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 z Lasp;z()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 A Lasp;A()Ldna;
      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;