Interface EntityDamageSource.EntityDamageSourceBuilder<T extends EntityDamageSource,B extends EntityDamageSource.EntityDamageSourceBuilder<T,B>>
- All Superinterfaces:
AbstractBuilder<T>
,Builder<T,
,B> CopyableBuilder<T,
,B> DamageSource.DamageSourceBuilder<T,
,B> ResettableBuilder<T,
B>
- All Known Subinterfaces:
EntityDamageSource.Builder
,FallingBlockDamageSource.Builder
,IndirectEntityDamageSource.AbstractBuilder<T,
,B> IndirectEntityDamageSource.Builder
- All Known Implementing Classes:
AbstractEntityDamageSource.AbstractEntityDamageSourceBuilder
,AbstractIndirectEntityDamageSource.AbstractIndirectEntityDamageSourceBuilder
- Enclosing interface:
- EntityDamageSource
public static interface EntityDamageSource.EntityDamageSourceBuilder<T extends EntityDamageSource,B extends EntityDamageSource.EntityDamageSourceBuilder<T,B>>
extends DamageSource.DamageSourceBuilder<T,B>
-
Method Summary
Methods inherited from interface org.spongepowered.api.util.CopyableBuilder
from
Methods inherited from interface org.spongepowered.api.event.cause.entity.damage.source.DamageSource.DamageSourceBuilder
absolute, build, bypassesArmor, creative, exhaustion, explosion, fire, magical, scalesWithDifficulty, type, type
-
Method Details
-
entity
Sets theEntity
as the damage "source".- Parameters:
entity
- The entity- Returns:
- This builder, for chaining
-