Uses of Enum Class
net.minecraft.entity.damage.DamageScaling
-
Uses of DamageScaling in net.minecraft.entity.damage
Modifier and TypeFieldDescriptionprivate final DamageScaling
DamageType.scaling
The field for thescaling
record component.Modifier and TypeFieldDescriptionstatic final StringIdentifiable.Codec<DamageScaling>
DamageScaling.CODEC
Modifier 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.ModifierConstructorDescriptionDamageType
(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)