mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 09:04:44 +00:00
25 lines
471 B
Java
25 lines
471 B
Java
package noppes.npcs.api.event;
|
|
|
|
import noppes.npcs.api.IBlock;
|
|
import noppes.npcs.api.entity.IEntity;
|
|
import noppes.npcs.api.entity.IProjectile;
|
|
|
|
public interface IProjectileEvent extends ICustomNPCsEvent {
|
|
|
|
IProjectile getProjectile();
|
|
|
|
IEntity getSource();
|
|
|
|
interface UpdateEvent extends IProjectileEvent {
|
|
}
|
|
|
|
interface ImpactEvent extends IProjectileEvent {
|
|
int getType();
|
|
|
|
IEntity getEntity();
|
|
|
|
IBlock getBlock();
|
|
}
|
|
|
|
}
|