Class DamageSource

java.lang.Object
net.minecraft.util.DamageSource
Direct Known Subclasses:
BedExplosionDamageSource, EntityDamageSource

public class DamageSource extends Object
  • Field Details

    • IN_FIRE

      public static final DamageSource IN_FIRE
    • LIGHTNING_BOLT

      public static final DamageSource LIGHTNING_BOLT
    • ON_FIRE

      public static final DamageSource ON_FIRE
    • LAVA

      public static final DamageSource LAVA
    • HOT_FLOOR

      public static final DamageSource HOT_FLOOR
    • IN_WALL

      public static final DamageSource IN_WALL
    • CRAMMING

      public static final DamageSource CRAMMING
    • DROWN

      public static final DamageSource DROWN
    • STARVE

      public static final DamageSource STARVE
    • CACTUS

      public static final DamageSource CACTUS
    • FALL

      public static final DamageSource FALL
    • FLY_INTO_WALL

      public static final DamageSource FLY_INTO_WALL
    • OUT_OF_WORLD

      public static final DamageSource OUT_OF_WORLD
    • GENERIC

      public static final DamageSource GENERIC
    • MAGIC

      public static final DamageSource MAGIC
    • WITHER

      public static final DamageSource WITHER
    • ANVIL

      public static final DamageSource ANVIL
    • FALLING_BLOCK

      public static final DamageSource FALLING_BLOCK
    • DRAGON_BREATH

      public static final DamageSource DRAGON_BREATH
    • DRY_OUT

      public static final DamageSource DRY_OUT
    • SWEET_BERRY_BUSH

      public static final DamageSource SWEET_BERRY_BUSH
    • bypassArmor

      private boolean bypassArmor
    • bypassInvul

      private boolean bypassInvul
    • bypassMagic

      private boolean bypassMagic
    • exhaustion

      private float exhaustion
    • isFireSource

      private boolean isFireSource
    • isProjectile

      private boolean isProjectile
    • scalesWithDifficulty

      private boolean scalesWithDifficulty
    • isMagic

      private boolean isMagic
    • isExplosion

      private boolean isExplosion
    • msgId

      public final String msgId
  • Constructor Details

    • DamageSource

      public DamageSource(String p_i1566_1_)
  • Method Details