Interface IndirectEntityDamageSource
-
- All Superinterfaces:
DamageSource
,EntityDamageSource
- All Known Implementing Classes:
AbstractIndirectEntityDamageSource
public interface IndirectEntityDamageSource extends EntityDamageSource
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
IndirectEntityDamageSource.AbstractBuilder<T extends IndirectEntityDamageSource,B extends IndirectEntityDamageSource.AbstractBuilder<T,B>>
static interface
IndirectEntityDamageSource.Builder
-
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
-
Nested classes/interfaces inherited from interface org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource
EntityDamageSource.EntityDamageSourceBuilder<T extends EntityDamageSource,B extends EntityDamageSource.EntityDamageSourceBuilder<T,B>>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static IndirectEntityDamageSource.Builder
builder()
Creates a newIndirectEntityDamageSource.Builder
for constructingIndirectEntityDamageSource
s.Entity
indirectSource()
Gets theEntity
that is indirectly using theEntityDamageSource.source()
to cause damage.-
Methods inherited from interface org.spongepowered.api.event.cause.entity.damage.source.DamageSource
doesAffectCreative, exhaustion, isAbsolute, isBypassingArmor, isExplosive, isFire, isMagic, isScaledByDifficulty, type
-
Methods inherited from interface org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource
source
-
-
-
-
Method Detail
-
builder
static IndirectEntityDamageSource.Builder builder()
Creates a newIndirectEntityDamageSource.Builder
for constructingIndirectEntityDamageSource
s.- Returns:
- A new builder
-
indirectSource
Entity indirectSource()
Gets theEntity
that is indirectly using theEntityDamageSource.source()
to cause damage.- Returns:
- The indirect source
-
-