Package net.minecraft.entity.damage
Class DamageSource
java.lang.Object
net.minecraft.entity.damage.DamageSource
- Mappings:
Namespace Name official bee
intermediary net/minecraft/class_1282
named net/minecraft/entity/damage/DamageSource
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionDamageSource
(RegistryEntry<class_8110> registryEntry) DamageSource
(RegistryEntry<class_8110> registryEntry, @Nullable Entity entity) DamageSource
(RegistryEntry<class_8110> registryEntry, @Nullable Entity entity, @Nullable Entity entity2) private
DamageSource
(RegistryEntry<class_8110> registryEntry, @Nullable Entity entity, @Nullable Entity entity2, @Nullable Vec3d vec3d) DamageSource
(RegistryEntry<class_8110> registryEntry, Vec3d vec3d) -
Method Summary
Modifier and TypeMethodDescriptiongetDeathMessage
(LivingEntity livingEntity) float
getName()
boolean
boolean
boolean
method_48789
(TagKey<class_8110> tagKey) boolean
toString()
-
Field Details
-
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
- 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
- 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
- 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
-
DamageSource
-
DamageSource
public DamageSource(RegistryEntry<class_8110> registryEntry, @Nullable @Nullable Entity entity, @Nullable @Nullable Entity entity2) -
DamageSource
-
DamageSource
-
DamageSource
-
-
Method Details
-
toString
-
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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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;
-