Interface DamageType

All Superinterfaces:
DefaultedRegistryValue, Nameable

@CatalogedBy(DamageTypes.class) public interface DamageType extends DefaultedRegistryValue, Nameable
A DamageType is a type of "grouping" for DamageSources since a DamageSource instance can be inherently different from another DamageSource by virtue of the Object backing the source. Furthermore, it is impossible to refer to DamageSources statically due to the nature of constructing them. It is possible however, that the parent Object being referred to as the "damage source" can damage an Entity with varying DamageTypes depending on the circumstances.