[Bleeding] Add ProjectileSource interface. Addresses BUKKIT-1038, BUKKIT-1156

This commit is contained in:
t00thpick1
2014-01-26 20:08:28 -05:00
committed by Nate Mortensen
parent 018048333e
commit d8a295202c
6 changed files with 87 additions and 21 deletions

View File

@@ -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();
}