public interface EntityDamageSource extends DamageSource
Modifier and Type | Interface and Description |
---|---|
static interface |
EntityDamageSource.Builder |
static interface |
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 EntityDamageSource.Builder |
builder()
Creates a new
EntityDamageSource.Builder for building an EntityDamageSource . |
Entity |
getSource()
Gets the
Entity that is the source. |
doesAffectCreative, getExhaustion, getType, isAbsolute, isBypassingArmor, isExplosive, isMagic, isScaledByDifficulty
static EntityDamageSource.Builder builder()
EntityDamageSource.Builder
for building an EntityDamageSource
.builder
in interface DamageSource