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

28 lines
934 B
Java
Raw Normal View History

2013-06-14 06:44:53 +00:00
package powercrystals.minefactoryreloaded.api;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
2013-09-21 10:30:47 +00:00
import java.util.List;
2013-06-14 06:44:53 +00:00
/**
* @author PowerCrystals
2013-09-21 10:30:47 +00:00
* <p/>
* Defines an object that can display information about a captured mob in a Safari net.
2013-06-14 06:44:53 +00:00
*/
2013-09-21 10:30:47 +00:00
public interface ISafariNetHandler {
/**
* @return The class of mob that this handler applies to.
*/
public Class<?> validFor();
/**
* @param safariNetStack The Safari Net that is requesting information.
* @param player The player holding the Safari Net.
* @param infoList The current list of information strings. Add yours to this.
* @param advancedTooltips True if the advanced tooltips option is on.
*/
@SuppressWarnings("rawtypes")
public void addInformation(ItemStack safariNetStack, EntityPlayer player, List infoList, boolean advancedTooltips);
2013-06-14 06:44:53 +00:00
}