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
IndirectEntityDamageSource s. |
Entity |
getIndirectSource()
Gets the
Entity that is indirectly using the EntityDamageSource.getSource()
to cause damage. |
getSource
doesAffectCreative, getExhaustion, getType, isAbsolute, isBypassingArmor, isExplosive, isMagic, isScaledByDifficulty
static IndirectEntityDamageSource.Builder builder()
IndirectEntityDamageSource.Builder
for constructing
IndirectEntityDamageSource
s.builder
in interface DamageSource
builder
in interface EntityDamageSource
Entity getIndirectSource()
Entity
that is indirectly using the EntityDamageSource.getSource()
to cause damage.