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
builder for building a
BlockDamageSource. |
BlockSnapshot |
getBlockSnapshot()
Gets the
BlockSnapshot of 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.