Class DamageSources
- java.lang.Object
- 
- org.spongepowered.api.event.cause.entity.damage.source.DamageSources
 
- 
 public final class DamageSources extends java.lang.ObjectA static collection of variousDamageSources that remain static, or otherwise "ambiguous" with regards to the actual source. Examples include: in the event anEntityis being damaged due to falling through the "void", anEntitybeing damaged for being "on fire" in which case anKeys.FIRE_TICKSmay be present from theEntity, etc.DamageSources that rely on live instances of various objects, including otherEntityinstances, or a block at a specificServerLocationrely on the various other types ofDamageSources.
- 
- 
Field SummaryFields Modifier and Type Field Description static DamageSourceDROWNINGstatic DamageSourceDRYOUTstatic DamageSourceFALLINGstatic DamageSourceFIRE_TICKstatic DamageSourceGENERICstatic DamageSourceMAGICstatic DamageSourceSTARVATIONstatic DamageSourceVOIDstatic DamageSourceWITHER
 
- 
- 
- 
Field Detail- 
DROWNINGpublic static final DamageSource DROWNING 
 - 
DRYOUTpublic static final DamageSource DRYOUT 
 - 
FALLINGpublic static final DamageSource FALLING 
 - 
FIRE_TICKpublic static final DamageSource FIRE_TICK 
 - 
GENERICpublic static final DamageSource GENERIC 
 - 
MAGICpublic static final DamageSource MAGIC 
 - 
STARVATIONpublic static final DamageSource STARVATION 
 - 
VOIDpublic static final DamageSource VOID 
 - 
WITHERpublic static final DamageSource WITHER 
 
- 
 
-