BiomesOPlenty/apis/powercrystals/minefactoryreloaded/api/IMobEggHandler.java

18 lines
579 B
Java
Raw Normal View History

2013-06-14 06:44:53 +00:00
package powercrystals.minefactoryreloaded.api;
import net.minecraft.entity.EntityEggInfo;
import net.minecraft.item.ItemStack;
/**
* @author PowerCrystals
2013-09-21 10:30:47 +00:00
* <p/>
* Defines a class that MFR will use to local egg info for a given mob. This is used to color the Safari Net based on the captured mob.
2013-06-14 06:44:53 +00:00
*/
2013-09-21 10:30:47 +00:00
public interface IMobEggHandler {
/**
* @param safariNet The Safari Net that is looking for egg info.
* @return An EntityEggInfo, or null if this instance cannot handle this mob.
*/
public EntityEggInfo getEgg(ItemStack safariNet);
2013-06-14 06:44:53 +00:00
}