public interface BlockDamageSource extends DamageSource
| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | BlockDamageSource.Builder | 
DamageSource.DamageSourceBuilder<T extends DamageSource,B extends DamageSource.DamageSourceBuilder<T,B>>| Modifier and Type | Method and Description | 
|---|---|
| static BlockDamageSource.Builder | builder()Creates a new  builderfor building aBlockDamageSource. | 
| BlockSnapshot | getBlockSnapshot()Gets the  BlockSnapshotof the source. | 
| Location<World> | getLocation()Gets the location of the  BlockSnapshot. | 
doesAffectCreative, getExhaustion, getType, isAbsolute, isBypassingArmor, isExplosive, isMagic, isScaledByDifficultystatic BlockDamageSource.Builder builder()
builder for building a
 BlockDamageSource.builder in interface DamageSourceLocation<World> getLocation()
BlockSnapshot.BlockSnapshot getBlockSnapshot()
BlockSnapshot of the source.