mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 08:24:47 +00:00
Add IProjectile and IProjectile Sub Events to API
This commit is contained in:
1 parent
8c064246f8
commit
fd31facd12
2 files changed
+28
No files matched your search
@@ -0,0 +1,24 @@
|
||||
package noppes.npcs.api.event;
|
||||
|
||||
import cpw.mods.fml.common.eventhandler.Cancelable;
|
||||
import noppes.npcs.api.IBlock;
|
||||
import noppes.npcs.api.entity.IEntity;
|
||||
import noppes.npcs.api.entity.IProjectile;
|
||||
import noppes.npcs.api.handler.data.IQuest;
|
||||
import noppes.npcs.api.item.IItemStack;
|
||||
|
||||
public interface IProjectileEvent extends ICustomNPCsEvent {
|
||||
|
||||
public IProjectile getProjectile();
|
||||
public IEntity getSource();
|
||||
|
||||
interface UpdateEvent extends IProjectileEvent {
|
||||
}
|
||||
|
||||
interface ImpactEvent extends IProjectileEvent {
|
||||
public int getType();
|
||||
public IEntity getEntity();
|
||||
public IBlock getBlock();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user