Interface EntityDamageSource
-
- All Superinterfaces:
DamageSource
- All Known Subinterfaces:
FallingBlockDamageSource,IndirectEntityDamageSource
- All Known Implementing Classes:
AbstractEntityDamageSource,AbstractIndirectEntityDamageSource
public interface EntityDamageSource extends DamageSource
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceEntityDamageSource.Builderstatic interfaceEntityDamageSource.EntityDamageSourceBuilder<T extends EntityDamageSource,B extends EntityDamageSource.EntityDamageSourceBuilder<T,B>>-
Nested classes/interfaces inherited from interface org.spongepowered.api.event.cause.entity.damage.source.DamageSource
DamageSource.DamageSourceBuilder<T extends DamageSource,B extends DamageSource.DamageSourceBuilder<T,B>>, DamageSource.Factory
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static EntityDamageSource.Builderbuilder()Creates a newEntityDamageSource.Builderfor building anEntityDamageSource.Entitysource()Gets theEntitythat is the source.-
Methods inherited from interface org.spongepowered.api.event.cause.entity.damage.source.DamageSource
doesAffectCreative, exhaustion, isAbsolute, isBypassingArmor, isExplosive, isFire, isMagic, isScaledByDifficulty, type
-
-
-
-
Method Detail
-
builder
static EntityDamageSource.Builder builder()
Creates a newEntityDamageSource.Builderfor building anEntityDamageSource.- Returns:
- A new builder
-
-