Uses of Enum Class
net.minecraft.world.damagesource.DamageScaling
Packages that use DamageScaling
-
Uses of DamageScaling in net.minecraft.world.damagesource
Fields in net.minecraft.world.damagesource declared as DamageScalingModifier and TypeFieldDescriptionprivate final DamageScaling
DamageType.scaling
The field for thescaling
record component.Fields in net.minecraft.world.damagesource with type parameters of type DamageScalingModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DamageScaling>
DamageScaling.CODEC
Methods in net.minecraft.world.damagesource 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.world.damagesource with parameters of type DamageScalingModifierConstructorDescriptionDamageType
(String p_270099_, DamageScaling p_270717_, float p_270846_) DamageType
(String p_270743_, DamageScaling p_270585_, float p_270555_, DamageEffects p_270608_) DamageType
(String msgId, DamageScaling scaling, float exhaustion, DamageEffects effects, DeathMessageType deathMessageType) Creates an instance of aDamageType
record class.