public abstract class AbstractEntityHealingSourceBuilder<T extends EntityHealingSource,B extends EntityHealingSource.EntityHealingSourceBuilder<T,B>> extends AbstractHealingSourceBuilder<T,B> implements EntityHealingSource.EntityHealingSourceBuilder<T,B>
Modifier and Type | Field and Description |
---|---|
protected Entity |
entity |
healingType, magical, scales
Constructor and Description |
---|
AbstractEntityHealingSourceBuilder() |
Modifier and Type | Method and Description |
---|---|
B |
entity(Entity entity) |
B |
from(T value)
Resets this builder to the values of the given built object.
|
B |
reset()
Resets this builder to a "default" state such that there is no
remaining data to set.
|
magical, scalesWithDifficulty, type
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build, magical, scalesWithDifficulty, type
protected Entity entity
public B from(T value)
ResettableBuilder
from
in interface ResettableBuilder<T extends EntityHealingSource,B extends EntityHealingSource.EntityHealingSourceBuilder<T,B>>
from
in class AbstractHealingSourceBuilder<T extends EntityHealingSource,B extends EntityHealingSource.EntityHealingSourceBuilder<T,B>>
value
- The built objectpublic B reset()
ResettableBuilder
reset
in interface ResettableBuilder<T extends EntityHealingSource,B extends EntityHealingSource.EntityHealingSourceBuilder<T,B>>
reset
in class AbstractHealingSourceBuilder<T extends EntityHealingSource,B extends EntityHealingSource.EntityHealingSourceBuilder<T,B>>
public B entity(Entity entity)
entity
in interface EntityHealingSource.EntityHealingSourceBuilder<T extends EntityHealingSource,B extends EntityHealingSource.EntityHealingSourceBuilder<T,B>>