public class IngredientTooltips
extends java.lang.Object
| Constructor and Description |
|---|
IngredientTooltips() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addAdvancedTooltip(IIngredient ingredient,
ITooltipFunction function) |
static void |
addShiftTooltip(IIngredient ingredient,
IFormattedText tooltip,
IFormattedText showMessage) |
static void |
addShiftTooltip(IIngredient ingredient,
ITooltipFunction function,
ITooltipFunction showMessage) |
static void |
addTooltip(IIngredient ingredient,
IFormattedText tooltip) |
static void |
clearTooltip(IIngredient ingredient) |
static void |
clearTooltip(IIngredient ingredient,
boolean leaveName) |
static java.util.List<stanhebben.zenscript.util.Pair<ITooltipFunction,ITooltipFunction>> |
getAdvancedShiftTooltips(IItemStack item) |
static java.util.List<stanhebben.zenscript.util.Pair<ITooltipFunction,ITooltipFunction>> |
getAdvancedTooltips(IItemStack item) |
static java.util.List<stanhebben.zenscript.util.Pair<IFormattedText,IFormattedText>> |
getShiftTooltips(IItemStack item) |
static java.util.List<java.lang.Integer> |
getTooltipLinesToRemove(IItemStack item) |
static java.util.List<stanhebben.zenscript.util.Pair<IFormattedText,IFormattedText>> |
getTooltips(IItemStack item) |
static java.util.List<java.util.regex.Pattern> |
getTooltipsToRemove(IItemStack item) |
static void |
removeTooltip(IIngredient ingredient,
java.lang.String regex) |
static void |
removeTooltipLine(IIngredient ingredient,
int line) |
static java.lang.Boolean |
shouldClearToolTip(IItemStack item) |
public static void addTooltip(IIngredient ingredient, IFormattedText tooltip)
public static void addAdvancedTooltip(IIngredient ingredient, ITooltipFunction function)
public static void addShiftTooltip(IIngredient ingredient, IFormattedText tooltip, IFormattedText showMessage)
public static void addShiftTooltip(IIngredient ingredient, ITooltipFunction function, ITooltipFunction showMessage)
public static void clearTooltip(IIngredient ingredient)
public static void clearTooltip(IIngredient ingredient, boolean leaveName)
public static void removeTooltip(IIngredient ingredient, java.lang.String regex)
public static void removeTooltipLine(IIngredient ingredient, int line)
public static java.util.List<stanhebben.zenscript.util.Pair<IFormattedText,IFormattedText>> getTooltips(IItemStack item)
public static java.util.List<stanhebben.zenscript.util.Pair<IFormattedText,IFormattedText>> getShiftTooltips(IItemStack item)
public static java.util.List<stanhebben.zenscript.util.Pair<ITooltipFunction,ITooltipFunction>> getAdvancedTooltips(IItemStack item)
public static java.util.List<stanhebben.zenscript.util.Pair<ITooltipFunction,ITooltipFunction>> getAdvancedShiftTooltips(IItemStack item)
public static java.util.List<java.util.regex.Pattern> getTooltipsToRemove(IItemStack item)
public static java.util.List<java.lang.Integer> getTooltipLinesToRemove(IItemStack item)
public static java.lang.Boolean shouldClearToolTip(IItemStack item)