mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-14 13:14:44 +00:00
50 lines
860 B
Java
50 lines
860 B
Java
package noppes.npcs.api.handler.data;
|
|
|
|
import noppes.npcs.api.IWorld;
|
|
import noppes.npcs.api.entity.IEntity;
|
|
|
|
public interface INaturalSpawn {
|
|
|
|
void setName(String name);
|
|
|
|
String getName();
|
|
|
|
void setEntity(IEntity entity, int slot);
|
|
|
|
IEntity getEntity(IWorld world, int slot);
|
|
|
|
Integer[] getSlots();
|
|
|
|
void setWeight(int weight);
|
|
|
|
int getWeight();
|
|
|
|
void setMinHeight(int height);
|
|
|
|
int getMinHeight();
|
|
|
|
void setMaxHeight(int height);
|
|
|
|
int getMaxHeight();
|
|
|
|
void spawnsLikeAnimal(boolean spawns);
|
|
|
|
boolean spawnsLikeAnimal();
|
|
|
|
void spawnsLikeMonster(boolean spawns);
|
|
|
|
boolean spawnsLikeMonster();
|
|
|
|
void spawnsInLiquid(boolean spawns);
|
|
|
|
boolean spawnsInLiquid();
|
|
|
|
void spawnsInAir(boolean spawns);
|
|
|
|
boolean spawnsInAir();
|
|
|
|
String[] getBiomes();
|
|
|
|
void setBiomes(String[] biomes);
|
|
}
|