Uses of Enum Class
net.minecraft.world.damagesource.DamageScaling
Packages that use DamageScaling
- 
Uses of DamageScaling in net.minecraft.world.damagesourceFields in net.minecraft.world.damagesource declared as DamageScalingModifier and TypeFieldDescriptionprivate final DamageScalingDamageType.scalingThe field for thescalingrecord component.Fields in net.minecraft.world.damagesource with type parameters of type DamageScalingModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DamageScaling>DamageScaling.CODECMethods in net.minecraft.world.damagesource that return DamageScalingModifier and TypeMethodDescriptionstatic DamageScalingDamageScaling.create(String name, String id, IScalingFunction scaling) Creates a new DamageScaling with the specified ID and scaling function.
 Example usage:DamageType.scaling()Returns the value of thescalingrecord component.static DamageScalingReturns 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 aDamageTyperecord class.
- 
Uses of DamageScaling in net.neoforged.neoforge.debug.damagesourceFields in net.neoforged.neoforge.debug.damagesource declared as DamageScaling