mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-14 19:04:53 +00:00
32 lines
798 B
Java
32 lines
798 B
Java
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);
|
|
}
|