Class DamageSource

java.lang.Object
net.minecraft.entity.damage.DamageSource

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

    • field_42291

      private final RegistryEntry<class_8110> field_42291
      Mappings:
      Namespace Name Mixin selector
      official a Lbee;a:Lhb;
      intermediary field_42291 Lnet/minecraft/class_1282;field_42291:Lnet/minecraft/class_6880;
      named field_42291 Lnet/minecraft/entity/damage/DamageSource;field_42291:Lnet/minecraft/registry/entry/RegistryEntry;
    • field_42292

      @Nullable private final @Nullable Entity field_42292
      Mappings:
      Namespace Name Mixin selector
      official b Lbee;b:Lbey;
      intermediary field_42292 Lnet/minecraft/class_1282;field_42292:Lnet/minecraft/class_1297;
      named field_42292 Lnet/minecraft/entity/damage/DamageSource;field_42292:Lnet/minecraft/entity/Entity;
    • field_42293

      @Nullable private final @Nullable Entity field_42293
      Mappings:
      Namespace Name Mixin selector
      official c Lbee;c:Lbey;
      intermediary field_42293 Lnet/minecraft/class_1282;field_42293:Lnet/minecraft/class_1297;
      named field_42293 Lnet/minecraft/entity/damage/DamageSource;field_42293:Lnet/minecraft/entity/Entity;
    • field_42294

      @Nullable private final @Nullable Vec3d field_42294
      Mappings:
      Namespace Name Mixin selector
      official d Lbee;d:Lecb;
      intermediary field_42294 Lnet/minecraft/class_1282;field_42294:Lnet/minecraft/class_243;
      named field_42294 Lnet/minecraft/entity/damage/DamageSource;field_42294:Lnet/minecraft/util/math/Vec3d;
  • Constructor Details

  • Method Details

    • toString

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

      public float getExhaustion()
      Mappings:
      Namespace Name Mixin selector
      official a Lbee;a()F
      intermediary method_5528 Lnet/minecraft/class_1282;method_5528()F
      named getExhaustion Lnet/minecraft/entity/damage/DamageSource;getExhaustion()F
    • method_48790

      public boolean method_48790()
      Mappings:
      Namespace Name Mixin selector
      official b Lbee;b()Z
      intermediary method_48790 Lnet/minecraft/class_1282;method_48790()Z
      named method_48790 Lnet/minecraft/entity/damage/DamageSource;method_48790()Z
    • getSource

      @Nullable public @Nullable Entity getSource()
      Mappings:
      Namespace Name Mixin selector
      official c Lbee;c()Lbey;
      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 d Lbee;d()Lbey;
      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;
    • getDeathMessage

      public Text getDeathMessage(LivingEntity livingEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbee;a(Lbfn;)Ltd;
      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;
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official e Lbee;e()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;
    • isScaledWithDifficulty

      public boolean isScaledWithDifficulty()
      Mappings:
      Namespace Name Mixin selector
      official f Lbee;f()Z
      intermediary method_5514 Lnet/minecraft/class_1282;method_5514()Z
      named isScaledWithDifficulty Lnet/minecraft/entity/damage/DamageSource;isScaledWithDifficulty()Z
    • isSourceCreativePlayer

      public boolean isSourceCreativePlayer()
      Mappings:
      Namespace Name Mixin selector
      official g Lbee;g()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 h Lbee;h()Lecb;
      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;
    • method_48791

      @Nullable public @Nullable Vec3d method_48791()
      Mappings:
      Namespace Name Mixin selector
      official i Lbee;i()Lecb;
      intermediary method_48791 Lnet/minecraft/class_1282;method_48791()Lnet/minecraft/class_243;
      named method_48791 Lnet/minecraft/entity/damage/DamageSource;method_48791()Lnet/minecraft/util/math/Vec3d;
    • method_48789

      public boolean method_48789(TagKey<class_8110> tagKey)
      Mappings:
      Namespace Name Mixin selector
      official a Lbee;a(Lano;)Z
      intermediary method_48789 Lnet/minecraft/class_1282;method_48789(Lnet/minecraft/class_6862;)Z
      named method_48789 Lnet/minecraft/entity/damage/DamageSource;method_48789(Lnet/minecraft/registry/tag/TagKey;)Z
    • method_48792

      public class_8110 method_48792()
      Mappings:
      Namespace Name Mixin selector
      official j Lbee;j()Lbeg;
      intermediary method_48792 Lnet/minecraft/class_1282;method_48792()Lnet/minecraft/class_8110;
      named method_48792 Lnet/minecraft/entity/damage/DamageSource;method_48792()Lnet/minecraft/class_8110;
    • method_48793

      public RegistryEntry<class_8110> method_48793()
      Mappings:
      Namespace Name Mixin selector
      official k Lbee;k()Lhb;
      intermediary method_48793 Lnet/minecraft/class_1282;method_48793()Lnet/minecraft/class_6880;
      named method_48793 Lnet/minecraft/entity/damage/DamageSource;method_48793()Lnet/minecraft/registry/entry/RegistryEntry;