Uses of Interface
net.neoforged.neoforge.common.damagesource.IScalingFunction
Package
Description
-
Uses of IScalingFunction in net.minecraft.world.damagesource
Modifier and TypeMethodDescriptionDamageScaling.getScalingFunction()
The scaling function is used when a player is hurt by a damage type with this type of scaling.Modifier and TypeMethodDescriptionstatic DamageScaling
DamageScaling.create
(String name, String id, IScalingFunction scaling) Creates a new DamageScaling with the specified ID and scaling function.
Example usage: -
Uses of IScalingFunction in net.neoforged.neoforge.common.damagesource
Modifier and TypeFieldDescriptionstatic final IScalingFunction
IScalingFunction.DEFAULT
Default Scaling function used by the vanillaDamageScaling
values. -
Uses of IScalingFunction in net.neoforged.neoforge.debug.damagesource