Package org.spongepowered.api.event.cause.entity.damage
@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
package org.spongepowered.api.event.cause.entity.damage
-
ClassDescriptionRepresents a modifier that will apply a function on a damage value to deal towards an entity such that the raw damage is the input of a
DoubleUnaryOperatorsuch that the output will be the final damage applied to theEntity.A builder that createsDamageModifiers, for use in both plugin and implementation requirements.A type ofDamageModifierthat can apply a "grouping" so to speak for the damage modifier.ADamageTypeis a type of "grouping" forDamageSources since aDamageSourceinstance can be inherently different from anotherDamageSourceby virtue of theObjectbacking the source.A template fordamage types.A function associating aDamageModifierwith aDoubleUnaryOperatorof the resultant effect.