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 interfaceIndirectEntityDamageSource.AbstractBuilder<T extends IndirectEntityDamageSource,B extends IndirectEntityDamageSource.AbstractBuilder<T,B>>static interfaceIndirectEntityDamageSource.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.Builderbuilder()Creates a newIndirectEntityDamageSource.Builderfor constructingIndirectEntityDamageSources.EntityindirectSource()Gets theEntitythat 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.Builderfor constructingIndirectEntityDamageSources.- Returns:
- A new builder
-
indirectSource
Entity indirectSource()
Gets theEntitythat is indirectly using theEntityDamageSource.source()to cause damage.- Returns:
- The indirect source
-
-