Class DamageSource

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

public class DamageSource extends Object
Mappings:
Namespace Name
official bcz
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 Lbcz;a:Lbcz;
      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 Lbcz;b:Lbcz;
      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 Lbcz;c:Lbcz;
      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 Lbcz;d:Lbcz;
      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 Lbcz;e:Lbcz;
      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 Lbcz;f:Lbcz;
      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 Lbcz;g:Lbcz;
      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 Lbcz;h:Lbcz;
      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 Lbcz;i:Lbcz;
      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 Lbcz;j:Lbcz;
      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 Lbcz;k:Lbcz;
      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 Lbcz;l:Lbcz;
      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 Lbcz;m:Lbcz;
      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 Lbcz;n:Lbcz;
      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 Lbcz;o:Lbcz;
      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 Lbcz;p:Lbcz;
      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;
    • DRAGON_BREATH

      public static final DamageSource DRAGON_BREATH
      Mappings:
      Namespace Name Mixin selector
      official q Lbcz;q:Lbcz;
      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 r Lbcz;r:Lbcz;
      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 s Lbcz;s:Lbcz;
      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 t Lbcz;t:Lbcz;
      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;
    • STALAGMITE

      public static final DamageSource STALAGMITE
      Mappings:
      Namespace Name Mixin selector
      official u Lbcz;u:Lbcz;
      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 w Lbcz;w: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 x Lbcz;x: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 y Lbcz;y: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 z Lbcz;z: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 A Lbcz;A: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 B Lbcz;B: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 C Lbcz;C: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 D Lbcz;D: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 E Lbcz;E: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 F Lbcz;F: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 G Lbcz;G: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 H Lbcz;H: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 I Lbcz;I: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 v Lbcz;v: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> Lbcz;<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

    • fallingBlock

      public static DamageSource fallingBlock(Entity attacker)
      Mappings:
      Namespace Name Mixin selector
      official a Lbcz;a(Lbdr;)Lbcz;
      intermediary method_46392 Lnet/minecraft/class_1282;method_46392(Lnet/minecraft/class_1297;)Lnet/minecraft/class_1282;
      named fallingBlock Lnet/minecraft/entity/damage/DamageSource;fallingBlock(Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/damage/DamageSource;
    • anvil

      public static DamageSource anvil(Entity attacker)
      Mappings:
      Namespace Name Mixin selector
      official b Lbcz;b(Lbdr;)Lbcz;
      intermediary method_46393 Lnet/minecraft/class_1282;method_46393(Lnet/minecraft/class_1297;)Lnet/minecraft/class_1282;
      named anvil Lnet/minecraft/entity/damage/DamageSource;anvil(Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/damage/DamageSource;
    • fallingStalactite

      public static DamageSource fallingStalactite(Entity attacker)
      Mappings:
      Namespace Name Mixin selector
      official c Lbcz;c(Lbdr;)Lbcz;
      intermediary method_46394 Lnet/minecraft/class_1282;method_46394(Lnet/minecraft/class_1297;)Lnet/minecraft/class_1282;
      named fallingStalactite Lnet/minecraft/entity/damage/DamageSource;fallingStalactite(Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/damage/DamageSource;
    • sting

      public static DamageSource sting(LivingEntity attacker)
      Mappings:
      Namespace Name Mixin selector
      official b Lbcz;b(Lbeg;)Lbcz;
      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 Lbcz;c(Lbeg;)Lbcz;
      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 Lbcz;a(Lbdr;Lbeg;)Lbcz;
      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 Lbcz;a(Lbwp;)Lbcz;
      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 Lbcz;a(Lbwv;Lbdr;)Lbcz;
      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 Lbcz;a(Lbdr;Lbdr;)Lbcz;
      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 Lbcz;a(Lbxc;Lbdr;)Lbcz;
      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 Lbcz;a(Lbxb;Lbdr;)Lbcz;
      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 Lbcz;a(Lbxu;Lbdr;)Lbcz;
      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 Lbcz;b(Lbdr;Lbdr;)Lbcz;
      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 Lbcz;c(Lbdr;Lbdr;)Lbcz;
      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 d Lbcz;d(Lbdr;)Lbcz;
      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 Lbcz;a(Lcjo;)Lbcz;
      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 Entity explosion, @Nullable @Nullable Entity attacker)
      Mappings:
      Namespace Name Mixin selector
      official d Lbcz;d(Lbdr;Lbdr;)Lbcz;
      intermediary method_5512 Lnet/minecraft/class_1282;method_5512(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)Lnet/minecraft/class_1282;
      named explosion Lnet/minecraft/entity/damage/DamageSource;explosion(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/damage/DamageSource;
    • sonicBoom

      public static DamageSource sonicBoom(Entity attacker)
      Mappings:
      Namespace Name Mixin selector
      official e Lbcz;e(Lbdr;)Lbcz;
      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(Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbcz;a(Leae;)Lbcz;
      intermediary method_5523 Lnet/minecraft/class_1282;method_5523(Lnet/minecraft/class_243;)Lnet/minecraft/class_1282;
      named badRespawnPoint Lnet/minecraft/entity/damage/DamageSource;badRespawnPoint(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/entity/damage/DamageSource;
    • toString

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

      public boolean isProjectile()
      Mappings:
      Namespace Name Mixin selector
      official a Lbcz;a()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 b Lbcz;b()Lbcz;
      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 c Lbcz;c()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 d Lbcz;d()Lbcz;
      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 e Lbcz;e()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 f Lbcz;f()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 g Lbcz;g()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 h Lbcz;h()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 i Lbcz;i()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 j Lbcz;j()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 k Lbcz;k()Lbdr;
      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 Lbcz;l()Lbdr;
      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 Lbcz;m()Lbcz;
      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 Lbcz;n()Lbcz;
      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 Lbcz;o()Lbcz;
      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 Lbcz;p()Lbcz;
      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 q Lbcz;q()Lbcz;
      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 r Lbcz;r()Lbcz;
      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 s Lbcz;s()Lbcz;
      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 Lbcz;a(Lbeg;)Lss;
      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 t Lbcz;t()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 u Lbcz;u()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 v Lbcz;v()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 w Lbcz;w()Lbcz;
      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 x Lbcz;x()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 y Lbcz;y()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 z Lbcz;z()Lbcz;
      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 A Lbcz;A()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 B Lbcz;B()Lbcz;
      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 C Lbcz;C()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 D Lbcz;D()Leae;
      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;