mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-19 01:29:11 +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,31 @@
|
||||
package noppes.npcs.api.jobs;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayerMP;
|
||||
import noppes.npcs.api.IPos;
|
||||
import noppes.npcs.api.IWorld;
|
||||
import noppes.npcs.api.entity.IEntityLivingBase;
|
||||
import noppes.npcs.api.entity.IPlayer;
|
||||
|
||||
public interface IJobSpawner extends IJob {
|
||||
|
||||
IEntityLivingBase<?> spawnEntity(int number);
|
||||
|
||||
IEntityLivingBase<?> getEntity(int number, int x, int y, int z, IWorld world);
|
||||
|
||||
IEntityLivingBase<?> getEntity(int number, IPos pos, IWorld world);
|
||||
|
||||
void setEntity(int number, IEntityLivingBase<?> entityLivingBase);
|
||||
|
||||
/**
|
||||
* Removes all spawned entities
|
||||
*/
|
||||
void removeAllSpawned();
|
||||
|
||||
IEntityLivingBase<?>[] getNearbySpawned();
|
||||
|
||||
boolean hasPixelmon();
|
||||
|
||||
boolean isEmpty();
|
||||
|
||||
boolean isOnCooldown(IPlayer<EntityPlayerMP> player);
|
||||
}
|
||||
Reference in new issue
Block a user