public interface IndirectEntityDamageSource extends EntityDamageSource
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IndirectEntityDamageSource.AbstractBuilder<T extends IndirectEntityDamageSource,B extends IndirectEntityDamageSource.AbstractBuilder<T,B>> |
static interface |
IndirectEntityDamageSource.Builder |
EntityDamageSource.EntityDamageSourceBuilder<T extends EntityDamageSource,B extends EntityDamageSource.EntityDamageSourceBuilder<T,B>>DamageSource.DamageSourceBuilder<T extends DamageSource,B extends DamageSource.DamageSourceBuilder<T,B>>| Modifier and Type | Method and Description |
|---|---|
static IndirectEntityDamageSource.Builder |
builder()
Creates a new
IndirectEntityDamageSource.Builder for constructing
IndirectEntityDamageSources. |
Entity |
getIndirectSource()
Gets the
Entity that is indirectly using the EntityDamageSource.getSource()
to cause damage. |
getSourcedoesAffectCreative, getExhaustion, getType, isAbsolute, isBypassingArmor, isExplosive, isMagic, isScaledByDifficultystatic IndirectEntityDamageSource.Builder builder()
IndirectEntityDamageSource.Builder for constructing
IndirectEntityDamageSources.builder in interface DamageSourcebuilder in interface EntityDamageSourceEntity getIndirectSource()
Entity that is indirectly using the EntityDamageSource.getSource()
to cause damage.