Package net.minecraft.entity.damage
Class DamageSource
java.lang.Object
net.minecraft.entity.damage.DamageSource
- Mappings:
Namespace Name official beeintermediary net/minecraft/class_1282named net/minecraft/entity/damage/DamageSource
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionDamageSource(RegistryEntry<class_8110> registryEntry) DamageSource(RegistryEntry<class_8110> registryEntry, @Nullable Entity entity) DamageSource(RegistryEntry<class_8110> registryEntry, @Nullable Entity entity, @Nullable Entity entity2) privateDamageSource(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) floatgetName()booleanbooleanbooleanmethod_48789(TagKey<class_8110> tagKey) booleantoString()
-
Field Details
-
field_42291
- Mappings:
Namespace Name Mixin selector official aLbee;a:Lhb;intermediary field_42291Lnet/minecraft/class_1282;field_42291:Lnet/minecraft/class_6880;named field_42291Lnet/minecraft/entity/damage/DamageSource;field_42291:Lnet/minecraft/registry/entry/RegistryEntry;
-
field_42292
- Mappings:
Namespace Name Mixin selector official bLbee;b:Lbey;intermediary field_42292Lnet/minecraft/class_1282;field_42292:Lnet/minecraft/class_1297;named field_42292Lnet/minecraft/entity/damage/DamageSource;field_42292:Lnet/minecraft/entity/Entity;
-
field_42293
- Mappings:
Namespace Name Mixin selector official cLbee;c:Lbey;intermediary field_42293Lnet/minecraft/class_1282;field_42293:Lnet/minecraft/class_1297;named field_42293Lnet/minecraft/entity/damage/DamageSource;field_42293:Lnet/minecraft/entity/Entity;
-
field_42294
- Mappings:
Namespace Name Mixin selector official dLbee;d:Lecb;intermediary field_42294Lnet/minecraft/class_1282;field_42294:Lnet/minecraft/class_243;named field_42294Lnet/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 aLbee;a()Fintermediary method_5528Lnet/minecraft/class_1282;method_5528()Fnamed getExhaustionLnet/minecraft/entity/damage/DamageSource;getExhaustion()F
-
method_48790
public boolean method_48790()- Mappings:
Namespace Name Mixin selector official bLbee;b()Zintermediary method_48790Lnet/minecraft/class_1282;method_48790()Znamed method_48790Lnet/minecraft/entity/damage/DamageSource;method_48790()Z
-
getSource
- Mappings:
Namespace Name Mixin selector official cLbee;c()Lbey;intermediary method_5526Lnet/minecraft/class_1282;method_5526()Lnet/minecraft/class_1297;named getSourceLnet/minecraft/entity/damage/DamageSource;getSource()Lnet/minecraft/entity/Entity;
-
getAttacker
- Mappings:
Namespace Name Mixin selector official dLbee;d()Lbey;intermediary method_5529Lnet/minecraft/class_1282;method_5529()Lnet/minecraft/class_1297;named getAttackerLnet/minecraft/entity/damage/DamageSource;getAttacker()Lnet/minecraft/entity/Entity;
-
getDeathMessage
- Mappings:
Namespace Name Mixin selector official aLbee;a(Lbfn;)Ltd;intermediary method_5506Lnet/minecraft/class_1282;method_5506(Lnet/minecraft/class_1309;)Lnet/minecraft/class_2561;named getDeathMessageLnet/minecraft/entity/damage/DamageSource;getDeathMessage(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/text/Text;
-
getName
- Mappings:
Namespace Name Mixin selector official eLbee;e()Ljava/lang/String;intermediary method_5525Lnet/minecraft/class_1282;method_5525()Ljava/lang/String;named getNameLnet/minecraft/entity/damage/DamageSource;getName()Ljava/lang/String;
-
isScaledWithDifficulty
public boolean isScaledWithDifficulty()- Mappings:
Namespace Name Mixin selector official fLbee;f()Zintermediary method_5514Lnet/minecraft/class_1282;method_5514()Znamed isScaledWithDifficultyLnet/minecraft/entity/damage/DamageSource;isScaledWithDifficulty()Z
-
isSourceCreativePlayer
public boolean isSourceCreativePlayer()- Mappings:
Namespace Name Mixin selector official gLbee;g()Zintermediary method_5530Lnet/minecraft/class_1282;method_5530()Znamed isSourceCreativePlayerLnet/minecraft/entity/damage/DamageSource;isSourceCreativePlayer()Z
-
getPosition
- Mappings:
Namespace Name Mixin selector official hLbee;h()Lecb;intermediary method_5510Lnet/minecraft/class_1282;method_5510()Lnet/minecraft/class_243;named getPositionLnet/minecraft/entity/damage/DamageSource;getPosition()Lnet/minecraft/util/math/Vec3d;
-
method_48791
- Mappings:
Namespace Name Mixin selector official iLbee;i()Lecb;intermediary method_48791Lnet/minecraft/class_1282;method_48791()Lnet/minecraft/class_243;named method_48791Lnet/minecraft/entity/damage/DamageSource;method_48791()Lnet/minecraft/util/math/Vec3d;
-
method_48789
- Mappings:
Namespace Name Mixin selector official aLbee;a(Lano;)Zintermediary method_48789Lnet/minecraft/class_1282;method_48789(Lnet/minecraft/class_6862;)Znamed method_48789Lnet/minecraft/entity/damage/DamageSource;method_48789(Lnet/minecraft/registry/tag/TagKey;)Z
-
method_48792
- Mappings:
Namespace Name Mixin selector official jLbee;j()Lbeg;intermediary method_48792Lnet/minecraft/class_1282;method_48792()Lnet/minecraft/class_8110;named method_48792Lnet/minecraft/entity/damage/DamageSource;method_48792()Lnet/minecraft/class_8110;
-
method_48793
- Mappings:
Namespace Name Mixin selector official kLbee;k()Lhb;intermediary method_48793Lnet/minecraft/class_1282;method_48793()Lnet/minecraft/class_6880;named method_48793Lnet/minecraft/entity/damage/DamageSource;method_48793()Lnet/minecraft/registry/entry/RegistryEntry;
-