Class DamageSource

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

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

      private boolean bypassesProtection
      Mappings:
      Namespace Name Mixin selector
      official D Lazz;D:Z
      intermediary field_39449 Lnet/minecraft/class_1282;field_39449:Z
      named bypassesProtection Lnet/minecraft/entity/damage/DamageSource;bypassesProtection:Z
    • exhaustion

      private float exhaustion
      Mappings:
      Namespace Name Mixin selector
      official E Lazz;E: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 F Lazz;F: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 G Lazz;G: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 H Lazz;H: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 I Lazz;I: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 J Lazz;J: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 K Lazz;K: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 L Lazz;L: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 Lazz;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> Lazz;<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 Lazz;b(Lbbf;)Lazz;
      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 Lazz;c(Lbbf;)Lazz;
      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 Lazz;a(Lbaq;Lbbf;)Lazz;
      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 Lazz;a(Lbtf;)Lazz;
      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 Lazz;a(Lbtl;Lbaq;)Lazz;
      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 Lazz;a(Lbaq;Lbaq;)Lazz;
      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 Lazz;a(Lbts;Lbaq;)Lazz;
      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 Lazz;a(Lbtr;Lbaq;)Lazz;
      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 Lazz;a(Lbuk;Lbaq;)Lazz;
      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 Lazz;b(Lbaq;Lbaq;)Lazz;
      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 Lazz;c(Lbaq;Lbaq;)Lazz;
      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 Lazz;a(Lbaq;)Lazz;
      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 Lazz;a(Lcfs;)Lazz;
      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 Lazz;d(Lbbf;)Lazz;
      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;
    • sonicBoom

      public static DamageSource sonicBoom(Entity attacker)
      Mappings:
      Namespace Name Mixin selector
      official b Lazz;b(Lbaq;)Lazz;
      intermediary method_43964 Lnet/minecraft/class_1282;method_43964(Lnet/minecraft/class_1297;)Lnet/minecraft/class_1282;
      named sonicBoom Lnet/minecraft/entity/damage/DamageSource;sonicBoom(Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/damage/DamageSource;
    • badRespawnPoint

      public static DamageSource badRespawnPoint()
      Mappings:
      Namespace Name Mixin selector
      official a Lazz;a()Lazz;
      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 Lazz;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 Lazz;c()Lazz;
      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 Lazz;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 Lazz;e()Lazz;
      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 Lazz;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 Lazz;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 Lazz;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 Lazz;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 Lazz;j()Z
      intermediary method_5504 Lnet/minecraft/class_1282;method_5504()Z
      named isUnblockable Lnet/minecraft/entity/damage/DamageSource;isUnblockable()Z
    • bypassesProtection

      public boolean bypassesProtection()
      Mappings:
      Namespace Name Mixin selector
      official k Lazz;k()Z
      intermediary method_44327 Lnet/minecraft/class_1282;method_44327()Z
      named bypassesProtection Lnet/minecraft/entity/damage/DamageSource;bypassesProtection()Z
    • getSource

      @Nullable public @Nullable Entity getSource()
      Mappings:
      Namespace Name Mixin selector
      official l Lazz;l()Lbaq;
      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 m Lazz;m()Lbaq;
      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 n Lazz;n()Lazz;
      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 o Lazz;o()Lazz;
      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 p Lazz;p()Lazz;
      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 q Lazz;q()Lazz;
      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;
    • setBypassesProtection

      protected DamageSource setBypassesProtection()
      Mappings:
      Namespace Name Mixin selector
      official r Lazz;r()Lazz;
      intermediary method_44328 Lnet/minecraft/class_1282;method_44328()Lnet/minecraft/class_1282;
      named setBypassesProtection Lnet/minecraft/entity/damage/DamageSource;setBypassesProtection()Lnet/minecraft/entity/damage/DamageSource;
    • setFire

      protected DamageSource setFire()
      Mappings:
      Namespace Name Mixin selector
      official s Lazz;s()Lazz;
      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 t Lazz;t()Lazz;
      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 Lazz;a(Lbbf;)Lrm;
      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 u Lazz;u()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 v Lazz;v()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 w Lazz;w()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 x Lazz;x()Lazz;
      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 y Lazz;y()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 z Lazz;z()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 A Lazz;A()Lazz;
      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 B Lazz;B()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 C Lazz;C()Lazz;
      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 D Lazz;D()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 E Lazz;E()Ldvt;
      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;