Uses of Interface
net.neoforged.neoforge.common.damagesource.IReductionFunction
Packages that use IReductionFunction
Package
Description
-
Uses of IReductionFunction in net.neoforged.neoforge.common.damagesource
Fields in net.neoforged.neoforge.common.damagesource with type parameters of type IReductionFunctionModifier and TypeFieldDescriptionprivate final EnumMap<DamageContainer.Reduction, List<IReductionFunction>> DamageContainer.reductionFunctionsMethods in net.neoforged.neoforge.common.damagesource with parameters of type IReductionFunctionModifier and TypeMethodDescriptionvoidDamageContainer.addModifier(DamageContainer.Reduction type, IReductionFunction reductionFunction) Adds a callback modifier to the vanilla damage reductions. -
Uses of IReductionFunction in net.neoforged.neoforge.event.entity.living
Methods in net.neoforged.neoforge.event.entity.living with parameters of type IReductionFunctionModifier and TypeMethodDescriptionvoidLivingIncomingDamageEvent.addReductionModifier(DamageContainer.Reduction type, IReductionFunction reductionFunc) Reduction modifiers alter the vanilla damage reduction before it modifies the damage value.