public interface IModIdHelper
IJeiHelpers.getModIdHelper()
Modifier and Type | Method and Description |
---|---|
<T> java.util.List<net.minecraft.util.text.ITextComponent> |
addModNameToIngredientTooltip(java.util.List<net.minecraft.util.text.ITextComponent> tooltip,
T ingredient,
IIngredientHelper<T> ingredientHelper)
Adds the mod name to the tooltip with color formatting.
|
java.lang.String |
getFormattedModNameForModId(java.lang.String modId)
Returns the mod name with color formatting, as specified in JEI's config.
|
java.lang.String |
getModNameForModId(java.lang.String modId)
Get the mod name for its modId
|
boolean |
isDisplayingModNameEnabled()
Returns true if JEI is configured to display mod names.
|
java.lang.String getModNameForModId(java.lang.String modId)
boolean isDisplayingModNameEnabled()
java.lang.String getFormattedModNameForModId(java.lang.String modId)
<T> java.util.List<net.minecraft.util.text.ITextComponent> addModNameToIngredientTooltip(java.util.List<net.minecraft.util.text.ITextComponent> tooltip, T ingredient, IIngredientHelper<T> ingredientHelper)
isDisplayingModNameEnabled()
is false,
this will just return the tooltip without adding the mod name.