Uses of Enum Class
net.minecraft.entity.damage.DamageScaling
Packages that use DamageScaling
-
Uses of DamageScaling in net.minecraft.entity.damage
Fields in net.minecraft.entity.damage declared as DamageScalingModifier and TypeFieldDescriptionprivate final DamageScaling
DamageType.scaling
The field for thescaling
record component.Fields in net.minecraft.entity.damage with type parameters of type DamageScalingModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<DamageScaling> DamageScaling.CODEC
Methods in net.minecraft.entity.damage that return DamageScalingModifier and TypeMethodDescriptionDamageType.scaling()
Returns the value of thescaling
record component.static DamageScaling
Returns the enum constant of this class with the specified name.static DamageScaling[]
DamageScaling.values()
Returns an array containing the constants of this enum class, in the order they are declared.Constructors in net.minecraft.entity.damage with parameters of type DamageScalingModifierConstructorDescriptionDamageType
(String msgId, DamageScaling scaling, float exhaustion) DamageType
(String msgId, DamageScaling scaling, float exhaustion, DamageEffects effects) DamageType
(String string, DamageScaling damageScaling, float float2, DamageEffects damageEffects, DeathMessageType deathMessageType)