public final class Config
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Config.IngredientBlacklistType |
static class |
Config.SearchMode |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CATEGORY_ADVANCED |
static java.lang.String |
CATEGORY_SEARCH |
static java.lang.String |
CATEGORY_SEARCH_COLORS |
Modifier and Type | Method and Description |
---|---|
static <V> void |
addIngredientToConfigBlacklist(V itemStack,
Config.IngredientBlacklistType blacklistType,
mezz.jei.api.ingredients.IIngredientHelper<V> ingredientHelper) |
static Config.SearchMode |
getColorSearchMode() |
static LocalizedConfiguration |
getConfig() |
static Config.SearchMode |
getCreativeTabSearchMode() |
static java.lang.String |
getFilterText() |
static java.io.File |
getJeiConfigurationDir() |
static int |
getMaxSubtypes() |
static java.lang.String |
getModNameFormat() |
static Config.SearchMode |
getModNameSearchMode() |
static Config.SearchMode |
getOreDictSearchMode() |
static Config.SearchMode |
getResourceIdSearchMode() |
static boolean |
getSearchAdvancedTooltips() |
static Config.SearchMode |
getTooltipSearchMode() |
static net.minecraftforge.common.config.Configuration |
getWorldConfig() |
static boolean |
isCenterSearchBarEnabled() |
static boolean |
isCheatItemsEnabled() |
static boolean |
isDebugModeEnabled() |
static boolean |
isDeleteItemsInCheatModeActive() |
static boolean |
isEditModeEnabled() |
static <V> boolean |
isIngredientOnConfigBlacklist(V ingredient,
Config.IngredientBlacklistType blacklistType,
mezz.jei.api.ingredients.IIngredientHelper<V> ingredientHelper) |
static <V> boolean |
isIngredientOnConfigBlacklist(V ingredient,
mezz.jei.api.ingredients.IIngredientHelper<V> ingredientHelper) |
static boolean |
isOverlayEnabled() |
static java.lang.String |
parseFriendlyModNameFormat(java.lang.String formatWithEnumNames) |
static void |
preInit(net.minecraftforge.fml.common.event.FMLPreInitializationEvent event) |
static <V> void |
removeIngredientFromConfigBlacklist(V ingredient,
Config.IngredientBlacklistType blacklistType,
mezz.jei.api.ingredients.IIngredientHelper<V> ingredientHelper) |
static void |
saveFilterText() |
static void |
setCheatItemsEnabled(boolean value) |
static boolean |
setFilterText(java.lang.String filterText) |
static boolean |
syncAllConfig() |
static boolean |
syncWorldConfig() |
static void |
toggleCheatItemsEnabled() |
static void |
toggleOverlayEnabled() |
public static final java.lang.String CATEGORY_SEARCH
public static final java.lang.String CATEGORY_ADVANCED
public static final java.lang.String CATEGORY_SEARCH_COLORS
public static boolean isOverlayEnabled()
public static void toggleOverlayEnabled()
public static boolean isCheatItemsEnabled()
public static void toggleCheatItemsEnabled()
public static void setCheatItemsEnabled(boolean value)
public static boolean isEditModeEnabled()
public static boolean isDebugModeEnabled()
public static boolean isDeleteItemsInCheatModeActive()
public static boolean isCenterSearchBarEnabled()
public static java.lang.String getModNameFormat()
public static int getMaxSubtypes()
public static Config.SearchMode getModNameSearchMode()
public static Config.SearchMode getTooltipSearchMode()
public static Config.SearchMode getOreDictSearchMode()
public static Config.SearchMode getCreativeTabSearchMode()
public static Config.SearchMode getColorSearchMode()
public static Config.SearchMode getResourceIdSearchMode()
public static boolean getSearchAdvancedTooltips()
public static boolean setFilterText(java.lang.String filterText)
public static java.lang.String getFilterText()
public static void saveFilterText()
@Nullable public static LocalizedConfiguration getConfig()
@Nullable public static net.minecraftforge.common.config.Configuration getWorldConfig()
public static java.io.File getJeiConfigurationDir()
public static void preInit(net.minecraftforge.fml.common.event.FMLPreInitializationEvent event)
public static boolean syncAllConfig()
public static java.lang.String parseFriendlyModNameFormat(java.lang.String formatWithEnumNames)
public static boolean syncWorldConfig()
public static <V> void addIngredientToConfigBlacklist(V itemStack, Config.IngredientBlacklistType blacklistType, mezz.jei.api.ingredients.IIngredientHelper<V> ingredientHelper)
public static <V> void removeIngredientFromConfigBlacklist(V ingredient, Config.IngredientBlacklistType blacklistType, mezz.jei.api.ingredients.IIngredientHelper<V> ingredientHelper)
public static <V> boolean isIngredientOnConfigBlacklist(V ingredient, mezz.jei.api.ingredients.IIngredientHelper<V> ingredientHelper)
public static <V> boolean isIngredientOnConfigBlacklist(V ingredient, Config.IngredientBlacklistType blacklistType, mezz.jei.api.ingredients.IIngredientHelper<V> ingredientHelper)