Interface IndirectEntityDamageSource
- All Superinterfaces:
DamageSource,EntityDamageSource
- All Known Implementing Classes:
AbstractIndirectEntityDamageSource
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceIndirectEntityDamageSource.AbstractBuilder<T extends IndirectEntityDamageSource,B extends IndirectEntityDamageSource.AbstractBuilder<T, B>> static interfaceNested 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
Modifier and TypeMethodDescriptionbuilder()Creates a newIndirectEntityDamageSource.Builderfor constructingIndirectEntityDamageSources.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, typeMethods inherited from interface org.spongepowered.api.event.cause.entity.damage.source.EntityDamageSource
source
-
Method Details
-
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
-