mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-07-02 17:26:36 +02:00
24 lines
590 B
Java
24 lines
590 B
Java
|
package powercrystals.minefactoryreloaded.api;
|
||
|
|
||
|
import net.minecraft.entity.EntityList.EntityEggInfo;
|
||
|
import net.minecraft.item.ItemStack;
|
||
|
|
||
|
/**
|
||
|
* 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.
|
||
|
*
|
||
|
* @author PowerCrystals
|
||
|
*/
|
||
|
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);
|
||
|
|
||
|
}
|