@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
Package org.spongepowered.api.event.cause.entity.damage
-
Interface Summary Interface Description DamageModifier Represents 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 aDoubleUnaryOperatorsuch that the output will be the final damage applied to theEntity.DamageModifierType A type ofDamageModifierthat can apply a "grouping" so to speak for the damage modifier.DamageType ADamageTypeis a type of "grouping" forDamageSources since aDamageSourceinstance can be inherently different from anotherDamageSourceby virtue of theObjectbacking the source.DamageType.Builder A builder to createDamageTypes.ModifierFunction<M> A function associating aDamageModifierwith aDoubleUnaryOperatorof the resultant effect. -
Class Summary Class Description DamageFunction DamageModifier.Builder A builder that createsDamageModifiers, for use in both plugin and implementation requirements.DamageModifierTypes DamageTypes