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>
| Modifier and Type | Field and Description |
|---|---|
protected Entity |
indirect |
protected Entity |
sourceEntity |
sourceabsolute, bypasses, creative, damageType, exhaustion, explosion, magical, scales| Constructor and Description |
|---|
AbstractIndirectEntityDamageSourceBuilder() |
| Modifier and Type | Method and Description |
|---|---|
B |
entity(Entity entity)
Sets the
Entity as the damage "source". |
B |
proxySource(Entity projectile)
Sets the
Entity that is indirectly damaging. |
B |
reset()
Resets this builder to a "default" state such that there is no
remaining data to set.
|
absolute, bypassesArmor, creative, exhaustion, explosion, from, magical, scalesWithDifficulty, typeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabsolute, build, bypassesArmor, creative, exhaustion, explosion, magical, scalesWithDifficulty, typefrompublic AbstractIndirectEntityDamageSourceBuilder()
public B entity(Entity entity)
EntityDamageSource.EntityDamageSourceBuilderEntity as the damage "source".entity in interface EntityDamageSource.EntityDamageSourceBuilder<T extends IndirectEntityDamageSource,B extends IndirectEntityDamageSource.AbstractBuilder<T,B>>entity in class AbstractEntityDamageSource.AbstractEntityDamageSourceBuilder<T extends IndirectEntityDamageSource,B extends IndirectEntityDamageSource.AbstractBuilder<T,B>>entity - The entitypublic B proxySource(Entity projectile)
IndirectEntityDamageSource.AbstractBuilderEntity that is indirectly damaging.proxySource in interface IndirectEntityDamageSource.AbstractBuilder<T extends IndirectEntityDamageSource,B extends IndirectEntityDamageSource.AbstractBuilder<T,B>>projectile - The indirect entitypublic B reset()
ResettableBuilderreset in interface ResettableBuilder<T extends IndirectEntityDamageSource,B extends IndirectEntityDamageSource.AbstractBuilder<T,B>>reset in class AbstractEntityDamageSource.AbstractEntityDamageSourceBuilder<T extends IndirectEntityDamageSource,B extends IndirectEntityDamageSource.AbstractBuilder<T,B>>