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