Package net.neoforged.neoforge.common.damagesource
@ParametersAreNonnullByDefault
package net.neoforged.neoforge.common.damagesource
-
ClassDescriptionAn
IDeathMessageProvider
is used by customDeathMessageType
instances.
This allows providing custom death messages based on the available parameters, instead of the hard-coded vanilla defaults.AnIScalingFunction
is used by customDamageScaling
instances.
This allows finer control over the actual scaling value, instead of the hard-coded vanilla defaults.