Package net.neoforged.neoforge.common.damagesource
@ParametersAreNonnullByDefault
package net.neoforged.neoforge.common.damagesource
-
ClassDescriptionDamageContainer encapsulates aspects of the entity damage sequence so that relevant context related to damage dealt is accessible throughout the entire sequence.Anis used by custom
invalid reference
IDeathMessageProviderinstances.invalid reference
DeathMessageType
This allows providing custom death messages based on the available parameters, instead of the hard-coded vanilla defaults.AnIDeathMessageProvideris used by customDeathMessageTypeinstances.
This allows providing custom death messages based on the available parameters, instead of the hard-coded vanilla defaults.Anis used byinvalid reference
IReductionFunctioninstances.invalid reference
DamageContainer
This allows sequential modification of damage reduction values to be stored and later invoked before actual reductions are applied to the damage sequence.AnIReductionFunctionis used byDamageContainerinstances.
This allows sequential modification of damage reduction values to be stored and later invoked before actual reductions are applied to the damage sequence.Anis used by custominvalid reference
IScalingFunctioninstances.invalid reference
DamageScaling
This allows finer control over the actual scaling value, instead of the hard-coded vanilla defaults.AnIScalingFunctionis used by customDamageScalinginstances.
This allows finer control over the actual scaling value, instead of the hard-coded vanilla defaults.