public interface BlockDamageSource extends DamageSource
Modifier and Type | Method and Description |
---|---|
BlockSnapshot |
getBlockSnapshot()
Gets the
BlockSnapshot of the source. |
Location<World> |
getLocation()
Gets the location of the
BlockSnapshot . |
getDamageType, isAbsolute, isBypassingArmor, isDifficultyScaled, isExplosion, isMagic, isStarvationBased
Location<World> getLocation()
BlockSnapshot
.BlockSnapshot getBlockSnapshot()
BlockSnapshot
of the source.