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, isScaledByDifficultystatic FallingBlockDamageSource.Builder builder()
FallingBlockDamageSource.Builder for constructing a new FallingBlockDamageSource.builder in interface DamageSourcebuilder in interface EntityDamageSourceFallingBlock getSource()
EntityDamageSourceEntity that is the source.getSource in interface EntityDamageSourceImmutableFallingBlockData getFallingBlockData()
ImmutableFallingBlockData backing the
FallingBlock.