mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-26 14:53:05 +00:00
30 lines
771 B
Java
30 lines
771 B
Java
/*******************************************************************************
|
|
* Copyright 2011-2014 SirSengir
|
|
*
|
|
* This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details.
|
|
******************************************************************************/
|
|
package forestry.api.lepidopterology;
|
|
|
|
import net.minecraft.entity.EntityCreature;
|
|
import net.minecraft.entity.passive.IAnimals;
|
|
|
|
import forestry.api.genetics.IIndividual;
|
|
|
|
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);
|
|
}
|