public abstract class IngredientInstanceSorterAdapter<T> extends java.lang.Object implements IIngredientInstanceSorter<T>
IIngredientInstanceSorter.| Constructor and Description |
|---|
IngredientInstanceSorterAdapter(org.cyclops.cyclopscore.client.gui.image.IImage icon,
java.lang.String ingredientType,
java.lang.String kind) |
| Modifier and Type | Method and Description |
|---|---|
org.cyclops.cyclopscore.client.gui.image.IImage |
getIcon() |
void |
getTooltip(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.client.util.ITooltipFlag tooltipFlag,
java.util.List<java.lang.String> lines)
Get the tooltip of this sorter.
|
java.lang.String |
getTranslationKey() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic IngredientInstanceSorterAdapter(org.cyclops.cyclopscore.client.gui.image.IImage icon,
java.lang.String ingredientType,
java.lang.String kind)
public org.cyclops.cyclopscore.client.gui.image.IImage getIcon()
getIcon in interface IIngredientInstanceSorter<T>public java.lang.String getTranslationKey()
getTranslationKey in interface IIngredientInstanceSorter<T>public void getTooltip(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.client.util.ITooltipFlag tooltipFlag,
java.util.List<java.lang.String> lines)
IIngredientInstanceSortergetTooltip in interface IIngredientInstanceSorter<T>player - The player that is requesting the tooltip.tooltipFlag - The tooltip flag.lines - The tooltip lines.