Class DamageSource

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

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

    • FIRE

      public static final DamageSource FIRE
      Mappings:
      Namespace Name Mixin selector
      official a Lur;a:Lur;
      intermediary field_3128 Lnet/minecraft/class_856;field_3128:Lnet/minecraft/class_856;
      named FIRE Lnet/minecraft/entity/damage/DamageSource;FIRE:Lnet/minecraft/entity/damage/DamageSource;
    • LIGHTNING_BOLT

      public static final DamageSource LIGHTNING_BOLT
      Mappings:
      Namespace Name Mixin selector
      official b Lur;b:Lur;
      intermediary field_11888 Lnet/minecraft/class_856;field_11888:Lnet/minecraft/class_856;
      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 Lur;c:Lur;
      intermediary field_3129 Lnet/minecraft/class_856;field_3129:Lnet/minecraft/class_856;
      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 Lur;d:Lur;
      intermediary field_3130 Lnet/minecraft/class_856;field_3130:Lnet/minecraft/class_856;
      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 Lur;e:Lur;
      intermediary field_15025 Lnet/minecraft/class_856;field_15025:Lnet/minecraft/class_856;
      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 Lur;f:Lur;
      intermediary field_3131 Lnet/minecraft/class_856;field_3131:Lnet/minecraft/class_856;
      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 Lur;g:Lur;
      intermediary field_15441 Lnet/minecraft/class_856;field_15441:Lnet/minecraft/class_856;
      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 Lur;h:Lur;
      intermediary field_3132 Lnet/minecraft/class_856;field_3132:Lnet/minecraft/class_856;
      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 Lur;i:Lur;
      intermediary field_3133 Lnet/minecraft/class_856;field_3133:Lnet/minecraft/class_856;
      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 Lur;j:Lur;
      intermediary field_3134 Lnet/minecraft/class_856;field_3134:Lnet/minecraft/class_856;
      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 Lur;k:Lur;
      intermediary field_3135 Lnet/minecraft/class_856;field_3135:Lnet/minecraft/class_856;
      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 Lur;l:Lur;
      intermediary field_14445 Lnet/minecraft/class_856;field_14445:Lnet/minecraft/class_856;
      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 Lur;m:Lur;
      intermediary field_3136 Lnet/minecraft/class_856;field_3136:Lnet/minecraft/class_856;
      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 Lur;n:Lur;
      intermediary field_3137 Lnet/minecraft/class_856;field_3137:Lnet/minecraft/class_856;
      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 Lur;o:Lur;
      intermediary field_3140 Lnet/minecraft/class_856;field_3140:Lnet/minecraft/class_856;
      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 Lur;p:Lur;
      intermediary field_5312 Lnet/minecraft/class_856;field_5312:Lnet/minecraft/class_856;
      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 Lur;q:Lur;
      intermediary field_5313 Lnet/minecraft/class_856;field_5313:Lnet/minecraft/class_856;
      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 Lur;r:Lur;
      intermediary field_5314 Lnet/minecraft/class_856;field_5314:Lnet/minecraft/class_856;
      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 Lur;s:Lur;
      intermediary field_14446 Lnet/minecraft/class_856;field_14446:Lnet/minecraft/class_856;
      named DRAGON_BREATH Lnet/minecraft/entity/damage/DamageSource;DRAGON_BREATH:Lnet/minecraft/entity/damage/DamageSource;
    • FIREWORK

      public static final DamageSource FIREWORK
      Mappings:
      Namespace Name Mixin selector
      official t Lur;t:Lur;
      intermediary field_15442 Lnet/minecraft/class_856;field_15442:Lnet/minecraft/class_856;
      named FIREWORK Lnet/minecraft/entity/damage/DamageSource;FIREWORK:Lnet/minecraft/entity/damage/DamageSource;
    • bypassesArmor

      private boolean bypassesArmor
      Mappings:
      Namespace Name Mixin selector
      official v Lur;v:Z
      intermediary field_3142 Lnet/minecraft/class_856;field_3142:Z
      named bypassesArmor Lnet/minecraft/entity/damage/DamageSource;bypassesArmor:Z
    • outOfWorld

      private boolean outOfWorld
      Mappings:
      Namespace Name Mixin selector
      official w Lur;w:Z
      intermediary field_3143 Lnet/minecraft/class_856;field_3143:Z
      named outOfWorld Lnet/minecraft/entity/damage/DamageSource;outOfWorld:Z
    • unblockable

      private boolean unblockable
      Mappings:
      Namespace Name Mixin selector
      official x Lur;x:Z
      intermediary field_9079 Lnet/minecraft/class_856;field_9079:Z
      named unblockable Lnet/minecraft/entity/damage/DamageSource;unblockable:Z
    • exhaustion

      private float exhaustion
      Mappings:
      Namespace Name Mixin selector
      official y Lur;y:F
      intermediary field_3144 Lnet/minecraft/class_856;field_3144:F
      named exhaustion Lnet/minecraft/entity/damage/DamageSource;exhaustion:F
    • fire

      private boolean fire
      Mappings:
      Namespace Name Mixin selector
      official z Lur;z:Z
      intermediary field_3145 Lnet/minecraft/class_856;field_3145:Z
      named fire Lnet/minecraft/entity/damage/DamageSource;fire:Z
    • projectile

      private boolean projectile
      Mappings:
      Namespace Name Mixin selector
      official A Lur;A:Z
      intermediary field_3146 Lnet/minecraft/class_856;field_3146:Z
      named projectile Lnet/minecraft/entity/damage/DamageSource;projectile:Z
    • scaleWithDifficulty

      private boolean scaleWithDifficulty
      Mappings:
      Namespace Name Mixin selector
      official B Lur;B:Z
      intermediary field_3147 Lnet/minecraft/class_856;field_3147:Z
      named scaleWithDifficulty Lnet/minecraft/entity/damage/DamageSource;scaleWithDifficulty:Z
    • magic

      private boolean magic
      Mappings:
      Namespace Name Mixin selector
      official C Lur;C:Z
      intermediary field_5315 Lnet/minecraft/class_856;field_5315:Z
      named magic Lnet/minecraft/entity/damage/DamageSource;magic:Z
    • explosive

      private boolean explosive
      Mappings:
      Namespace Name Mixin selector
      official D Lur;D:Z
      intermediary field_6112 Lnet/minecraft/class_856;field_6112:Z
      named explosive Lnet/minecraft/entity/damage/DamageSource;explosive:Z
    • name

      public String name
      Mappings:
      Namespace Name Mixin selector
      official u Lur;u:Ljava/lang/String;
      intermediary field_3141 Lnet/minecraft/class_856;field_3141: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> Lur;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_856;<init>(Ljava/lang/String;)V
      named <init> Lnet/minecraft/entity/damage/DamageSource;<init>(Ljava/lang/String;)V
  • Method Details

    • mob

      public static DamageSource mob(LivingEntity attacker)
      Mappings:
      Namespace Name Mixin selector
      official a Lur;a(Lvp;)Lur;
      intermediary method_6078 Lnet/minecraft/class_856;method_6078(Lnet/minecraft/class_1699;)Lnet/minecraft/class_856;
      named mob Lnet/minecraft/entity/damage/DamageSource;mob(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/entity/damage/DamageSource;
    • mobProjectile

      public static DamageSource mobProjectile(Entity projectile, LivingEntity attacker)
      Mappings:
      Namespace Name Mixin selector
      official a Lur;a(Lvg;Lvp;)Lur;
      intermediary method_12939 Lnet/minecraft/class_856;method_12939(Lnet/minecraft/class_864;Lnet/minecraft/class_1699;)Lnet/minecraft/class_856;
      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 Lur;a(Laed;)Lur;
      intermediary method_2415 Lnet/minecraft/class_856;method_2415(Lnet/minecraft/class_988;)Lnet/minecraft/class_856;
      named player Lnet/minecraft/entity/damage/DamageSource;player(Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/entity/damage/DamageSource;
    • arrow

      public static DamageSource arrow(AbstractArrowEntity arrow, @Nullable Entity attacker)
      Mappings:
      Namespace Name Mixin selector
      official a Lur;a(Laeh;Lvg;)Lur;
      intermediary method_2416 Lnet/minecraft/class_856;method_2416(Lnet/minecraft/class_990;Lnet/minecraft/class_864;)Lnet/minecraft/class_856;
      named arrow Lnet/minecraft/entity/damage/DamageSource;arrow(Lnet/minecraft/entity/projectile/AbstractArrowEntity;Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/damage/DamageSource;
    • fire

      public static DamageSource fire(ExplosiveProjectileEntity projectile, @Nullable Entity attacker)
      Mappings:
      Namespace Name Mixin selector
      official a Lur;a(Lael;Lvg;)Lur;
      intermediary method_2417 Lnet/minecraft/class_856;method_2417(Lnet/minecraft/class_992;Lnet/minecraft/class_864;)Lnet/minecraft/class_856;
      named fire Lnet/minecraft/entity/damage/DamageSource;fire(Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/damage/DamageSource;
    • thrownProjectile

      public static DamageSource thrownProjectile(Entity projectile, @Nullable Entity attacker)
      Mappings:
      Namespace Name Mixin selector
      official a Lur;a(Lvg;Lvg;)Lur;
      intermediary method_2413 Lnet/minecraft/class_856;method_2413(Lnet/minecraft/class_864;Lnet/minecraft/class_864;)Lnet/minecraft/class_856;
      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 Entity attacker)
      Mappings:
      Namespace Name Mixin selector
      official b Lur;b(Lvg;Lvg;)Lur;
      intermediary method_2419 Lnet/minecraft/class_856;method_2419(Lnet/minecraft/class_864;Lnet/minecraft/class_864;)Lnet/minecraft/class_856;
      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 Lur;a(Lvg;)Lur;
      intermediary method_4433 Lnet/minecraft/class_856;method_4433(Lnet/minecraft/class_864;)Lnet/minecraft/class_856;
      named thorns Lnet/minecraft/entity/damage/DamageSource;thorns(Lnet/minecraft/entity/Entity;)Lnet/minecraft/entity/damage/DamageSource;
    • explosion

      public static DamageSource explosion(@Nullable Explosion explosion)
      Mappings:
      Namespace Name Mixin selector
      official a Lur;a(Lamp;)Lur;
      intermediary method_5370 Lnet/minecraft/class_856;method_5370(Lnet/minecraft/class_1147;)Lnet/minecraft/class_856;
      named explosion Lnet/minecraft/entity/damage/DamageSource;explosion(Lnet/minecraft/world/explosion/Explosion;)Lnet/minecraft/entity/damage/DamageSource;
    • explosion

      public static DamageSource explosion(@Nullable LivingEntity attacker)
      Mappings:
      Namespace Name Mixin selector
      official b Lur;b(Lvp;)Lur;
      intermediary method_12940 Lnet/minecraft/class_856;method_12940(Lnet/minecraft/class_1699;)Lnet/minecraft/class_856;
      named explosion Lnet/minecraft/entity/damage/DamageSource;explosion(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/entity/damage/DamageSource;
    • isProjectile

      public boolean isProjectile()
      Mappings:
      Namespace Name Mixin selector
      official a Lur;a()Z
      intermediary method_2412 Lnet/minecraft/class_856;method_2412()Z
      named isProjectile Lnet/minecraft/entity/damage/DamageSource;isProjectile()Z
    • setProjectile

      public DamageSource setProjectile()
      Mappings:
      Namespace Name Mixin selector
      official b Lur;b()Lur;
      intermediary method_2418 Lnet/minecraft/class_856;method_2418()Lnet/minecraft/class_856;
      named setProjectile Lnet/minecraft/entity/damage/DamageSource;setProjectile()Lnet/minecraft/entity/damage/DamageSource;
    • isExplosive

      public boolean isExplosive()
      Mappings:
      Namespace Name Mixin selector
      official c Lur;c()Z
      intermediary method_5372 Lnet/minecraft/class_856;method_5372()Z
      named isExplosive Lnet/minecraft/entity/damage/DamageSource;isExplosive()Z
    • setExplosive

      public DamageSource setExplosive()
      Mappings:
      Namespace Name Mixin selector
      official d Lur;d()Lur;
      intermediary method_5373 Lnet/minecraft/class_856;method_5373()Lnet/minecraft/class_856;
      named setExplosive Lnet/minecraft/entity/damage/DamageSource;setExplosive()Lnet/minecraft/entity/damage/DamageSource;
    • bypassesArmor

      public boolean bypassesArmor()
      Mappings:
      Namespace Name Mixin selector
      official e Lur;e()Z
      intermediary method_2421 Lnet/minecraft/class_856;method_2421()Z
      named bypassesArmor Lnet/minecraft/entity/damage/DamageSource;bypassesArmor()Z
    • getExhaustion

      public float getExhaustion()
      Mappings:
      Namespace Name Mixin selector
      official f Lur;f()F
      intermediary method_2422 Lnet/minecraft/class_856;method_2422()F
      named getExhaustion Lnet/minecraft/entity/damage/DamageSource;getExhaustion()F
    • isOutOfWorld

      public boolean isOutOfWorld()
      Mappings:
      Namespace Name Mixin selector
      official g Lur;g()Z
      intermediary method_2423 Lnet/minecraft/class_856;method_2423()Z
      named isOutOfWorld Lnet/minecraft/entity/damage/DamageSource;isOutOfWorld()Z
    • isUnblockable

      public boolean isUnblockable()
      Mappings:
      Namespace Name Mixin selector
      official h Lur;h()Z
      intermediary method_8358 Lnet/minecraft/class_856;method_8358()Z
      named isUnblockable Lnet/minecraft/entity/damage/DamageSource;isUnblockable()Z
    • getSource

      @Nullable public Entity getSource()
      Mappings:
      Namespace Name Mixin selector
      official i Lur;i()Lvg;
      intermediary method_2424 Lnet/minecraft/class_856;method_2424()Lnet/minecraft/class_864;
      named getSource Lnet/minecraft/entity/damage/DamageSource;getSource()Lnet/minecraft/entity/Entity;
    • getAttacker

      @Nullable public Entity getAttacker()
      Mappings:
      Namespace Name Mixin selector
      official j Lur;j()Lvg;
      intermediary method_2425 Lnet/minecraft/class_856;method_2425()Lnet/minecraft/class_864;
      named getAttacker Lnet/minecraft/entity/damage/DamageSource;getAttacker()Lnet/minecraft/entity/Entity;
    • setBypassesArmor

      protected DamageSource setBypassesArmor()
      Mappings:
      Namespace Name Mixin selector
      official k Lur;k()Lur;
      intermediary method_2426 Lnet/minecraft/class_856;method_2426()Lnet/minecraft/class_856;
      named setBypassesArmor Lnet/minecraft/entity/damage/DamageSource;setBypassesArmor()Lnet/minecraft/entity/damage/DamageSource;
    • setOutOfWorld

      protected DamageSource setOutOfWorld()
      Mappings:
      Namespace Name Mixin selector
      official l Lur;l()Lur;
      intermediary method_2427 Lnet/minecraft/class_856;method_2427()Lnet/minecraft/class_856;
      named setOutOfWorld Lnet/minecraft/entity/damage/DamageSource;setOutOfWorld()Lnet/minecraft/entity/damage/DamageSource;
    • setUnblockable

      protected DamageSource setUnblockable()
      Mappings:
      Namespace Name Mixin selector
      official m Lur;m()Lur;
      intermediary method_8359 Lnet/minecraft/class_856;method_8359()Lnet/minecraft/class_856;
      named setUnblockable Lnet/minecraft/entity/damage/DamageSource;setUnblockable()Lnet/minecraft/entity/damage/DamageSource;
    • setFire

      protected DamageSource setFire()
      Mappings:
      Namespace Name Mixin selector
      official n Lur;n()Lur;
      intermediary method_2428 Lnet/minecraft/class_856;method_2428()Lnet/minecraft/class_856;
      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 c Lur;c(Lvp;)Lhh;
      intermediary method_6079 Lnet/minecraft/class_856;method_6079(Lnet/minecraft/class_1699;)Lnet/minecraft/class_1982;
      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 o Lur;o()Z
      intermediary method_2429 Lnet/minecraft/class_856;method_2429()Z
      named isFire Lnet/minecraft/entity/damage/DamageSource;isFire()Z
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official p Lur;p()Ljava/lang/String;
      intermediary method_2430 Lnet/minecraft/class_856;method_2430()Ljava/lang/String;
      named getName Lnet/minecraft/entity/damage/DamageSource;getName()Ljava/lang/String;
    • setScaledWithDifficulty

      public DamageSource setScaledWithDifficulty()
      Mappings:
      Namespace Name Mixin selector
      official q Lur;q()Lur;
      intermediary method_2431 Lnet/minecraft/class_856;method_2431()Lnet/minecraft/class_856;
      named setScaledWithDifficulty Lnet/minecraft/entity/damage/DamageSource;setScaledWithDifficulty()Lnet/minecraft/entity/damage/DamageSource;
    • isScaledWithDifficulty

      public boolean isScaledWithDifficulty()
      Mappings:
      Namespace Name Mixin selector
      official r Lur;r()Z
      intermediary method_2432 Lnet/minecraft/class_856;method_2432()Z
      named isScaledWithDifficulty Lnet/minecraft/entity/damage/DamageSource;isScaledWithDifficulty()Z
    • getMagic

      public boolean getMagic()
      Mappings:
      Namespace Name Mixin selector
      official s Lur;s()Z
      intermediary method_4434 Lnet/minecraft/class_856;method_4434()Z
      named getMagic Lnet/minecraft/entity/damage/DamageSource;getMagic()Z
    • setUsesMagic

      public DamageSource setUsesMagic()
      Mappings:
      Namespace Name Mixin selector
      official t Lur;t()Lur;
      intermediary method_4435 Lnet/minecraft/class_856;method_4435()Lnet/minecraft/class_856;
      named setUsesMagic Lnet/minecraft/entity/damage/DamageSource;setUsesMagic()Lnet/minecraft/entity/damage/DamageSource;
    • isSourceCreativePlayer

      public boolean isSourceCreativePlayer()
      Mappings:
      Namespace Name Mixin selector
      official u Lur;u()Z
      intermediary method_10918 Lnet/minecraft/class_856;method_10918()Z
      named isSourceCreativePlayer Lnet/minecraft/entity/damage/DamageSource;isSourceCreativePlayer()Z
    • getPosition

      @Nullable public Vec3d getPosition()
      Mappings:
      Namespace Name Mixin selector
      official v Lur;v()Lbhe;
      intermediary method_12941 Lnet/minecraft/class_856;method_12941()Lnet/minecraft/class_236;
      named getPosition Lnet/minecraft/entity/damage/DamageSource;getPosition()Lnet/minecraft/util/math/Vec3d;