mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 22:15:07 +00:00
Add CNPC+ Api
This commit is contained in:
1 parent
0c4db676e4
commit
95e2f9df01
109 files changed
+7308
No files matched your search
@@ -0,0 +1,27 @@
|
||||
package noppes.npcs.api.event;
|
||||
|
||||
import cpw.mods.fml.common.eventhandler.Cancelable;
|
||||
import noppes.npcs.api.IPos;
|
||||
import noppes.npcs.api.handler.data.INaturalSpawn;
|
||||
|
||||
public interface ICustomNPCsEvent {
|
||||
|
||||
String getHookName();
|
||||
|
||||
@Cancelable
|
||||
interface CNPCNaturalSpawnEvent extends ICustomNPCsEvent {
|
||||
INaturalSpawn getNaturalSpawn();
|
||||
|
||||
void setAttemptPosition(IPos attemptPosition);
|
||||
|
||||
IPos getAttemptPosition();
|
||||
|
||||
boolean animalSpawnPassed();
|
||||
|
||||
boolean monsterSpawnPassed();
|
||||
|
||||
boolean liquidSpawnPassed();
|
||||
|
||||
boolean airSpawnPassed();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user