Class AbstractIndirectEntityDamageSource.AbstractIndirectEntityDamageSourceBuilder<T extends IndirectEntityDamageSource,B extends IndirectEntityDamageSource.AbstractBuilder<T,B>>
java.lang.Object
org.spongepowered.api.event.cause.entity.damage.source.common.AbstractDamageSourceBuilder<T,B>
org.spongepowered.api.event.cause.entity.damage.source.common.AbstractEntityDamageSource.AbstractEntityDamageSourceBuilder<T,B>
org.spongepowered.api.event.cause.entity.damage.source.common.AbstractIndirectEntityDamageSource.AbstractIndirectEntityDamageSourceBuilder<T,B>
- All Implemented Interfaces:
AbstractBuilder<T>
,DamageSource.DamageSourceBuilder<T,
,B> EntityDamageSource.EntityDamageSourceBuilder<T,
,B> IndirectEntityDamageSource.AbstractBuilder<T,
,B> Builder<T,
,B> CopyableBuilder<T,
,B> ResettableBuilder<T,
B>
- Enclosing class:
- AbstractIndirectEntityDamageSource
public abstract static class AbstractIndirectEntityDamageSource.AbstractIndirectEntityDamageSourceBuilder<T extends IndirectEntityDamageSource,B extends IndirectEntityDamageSource.AbstractBuilder<T,B>>
extends AbstractEntityDamageSource.AbstractEntityDamageSourceBuilder<T,B>
implements IndirectEntityDamageSource.AbstractBuilder<T,B>
-
Field Summary
Fields inherited from class org.spongepowered.api.event.cause.entity.damage.source.common.AbstractEntityDamageSource.AbstractEntityDamageSourceBuilder
source
Fields inherited from class org.spongepowered.api.event.cause.entity.damage.source.common.AbstractDamageSourceBuilder
absolute, bypasses, creative, damageType, exhaustion, explosion, fire, magical, scales
-
Constructor Summary
-
Method Summary
Methods inherited from class org.spongepowered.api.event.cause.entity.damage.source.common.AbstractDamageSourceBuilder
absolute, bypassesArmor, creative, exhaustion, explosion, fire, from, magical, scalesWithDifficulty, type
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
-
Field Details
-
sourceEntity
-
indirect
-
-
Constructor Details
-
AbstractIndirectEntityDamageSourceBuilder
public AbstractIndirectEntityDamageSourceBuilder()
-
-
Method Details
-
entity
Description copied from interface:EntityDamageSource.EntityDamageSourceBuilder
Sets theEntity
as the damage "source".- Specified by:
entity
in interfaceEntityDamageSource.EntityDamageSourceBuilder<T extends IndirectEntityDamageSource,
B extends IndirectEntityDamageSource.AbstractBuilder<T, B>> - Overrides:
entity
in classAbstractEntityDamageSource.AbstractEntityDamageSourceBuilder<T extends IndirectEntityDamageSource,
B extends IndirectEntityDamageSource.AbstractBuilder<T, B>> - Parameters:
entity
- The entity- Returns:
- This builder, for chaining
-
proxySource
Description copied from interface:IndirectEntityDamageSource.AbstractBuilder
Sets theEntity
that is indirectly damaging.- Specified by:
proxySource
in interfaceIndirectEntityDamageSource.AbstractBuilder<T extends IndirectEntityDamageSource,
B extends IndirectEntityDamageSource.AbstractBuilder<T, B>> - Parameters:
projectile
- The indirect entity- Returns:
- This builder, for chaining
-
reset
Description copied from interface:Builder
Resets this builder to a "default" state such that there is no remaining data to set. This is to be the presumed "default" state.- Specified by:
reset
in interfaceBuilder<T extends IndirectEntityDamageSource,
B extends IndirectEntityDamageSource.AbstractBuilder<T, B>> - Specified by:
reset
in interfaceResettableBuilder<T extends IndirectEntityDamageSource,
B extends IndirectEntityDamageSource.AbstractBuilder<T, B>> - Overrides:
reset
in classAbstractEntityDamageSource.AbstractEntityDamageSourceBuilder<T extends IndirectEntityDamageSource,
B extends IndirectEntityDamageSource.AbstractBuilder<T, B>> - Returns:
- This builder, for chaining
-