[Bleeding] Add ProjectileSource interface. Addresses BUKKIT-1038, BUKKIT-1156
This commit is contained in:
committed by
Nate Mortensen
parent
018048333e
commit
d8a295202c
@@ -0,0 +1,13 @@
|
||||
package org.bukkit.projectiles;
|
||||
|
||||
import org.bukkit.block.Block;
|
||||
|
||||
public interface BlockProjectileSource extends ProjectileSource {
|
||||
|
||||
/**
|
||||
* Gets the block this projectile source belongs to.
|
||||
*
|
||||
* @return Block for the projectile source
|
||||
*/
|
||||
public Block getBlock();
|
||||
}
|
||||
Reference in New Issue
Block a user