Add CNPC+ Api

This commit is contained in:
KAMKEEL committed 2022-11-25 00:57:24 -05:00
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);
}