24 lines
482 B
Java
24 lines
482 B
Java
package forestry.api.lepidopterology;
|
|
|
|
import forestry.api.genetics.IIndividual;
|
|
import net.minecraft.entity.EntityCreature;
|
|
import net.minecraft.entity.passive.IAnimals;
|
|
|
|
public interface IEntityButterfly extends IAnimals {
|
|
|
|
void changeExhaustion(int change);
|
|
|
|
int getExhaustion();
|
|
|
|
IButterfly getButterfly();
|
|
|
|
/**
|
|
* @return The entity as an EntityCreature to save casting.
|
|
*/
|
|
EntityCreature getEntity();
|
|
|
|
IIndividual getPollen();
|
|
|
|
void setPollen(IIndividual pollen);
|
|
}
|