public final class Config
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
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 |
static java.lang.String |
defaultModNameFormatFriendly |
static int |
largestNumColumns |
static int |
maxRecipeGuiHeight |
static int |
minRecipeGuiHeight |
static int |
smallestNumColumns |
Modifier and Type | Method and Description |
---|---|
static <V> void |
addIngredientToConfigBlacklist(IngredientFilter ingredientFilter,
mezz.jei.api.ingredients.IIngredientRegistry ingredientRegistry,
V ingredient,
IngredientBlacklistType blacklistType,
mezz.jei.api.ingredients.IIngredientHelper<V> ingredientHelper) |
static void |
checkForModNameFormatOverride() |
static java.io.File |
getBookmarkFile() |
static Config.SearchMode |
getColorSearchMode() |
static LocalizedConfiguration |
getConfig() |
static Config.SearchMode |
getCreativeTabSearchMode() |
static java.lang.String |
getFilterText() |
static GiveMode |
getGiveMode() |
static int |
getMaxColumns() |
static int |
getMaxRecipeGuiHeight() |
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 |
isBookmarkOverlayEnabled() |
static boolean |
isCenterSearchBarEnabled() |
static boolean |
isCheatItemsEnabled() |
static boolean |
isDebugModeEnabled() |
static boolean |
isDeleteItemsInCheatModeActive() |
static boolean |
isEditModeEnabled() |
static <V> boolean |
isIngredientOnConfigBlacklist(V ingredient,
mezz.jei.api.ingredients.IIngredientHelper<V> ingredientHelper) |
static <V> boolean |
isIngredientOnConfigBlacklist(V ingredient,
IngredientBlacklistType blacklistType,
mezz.jei.api.ingredients.IIngredientHelper<V> ingredientHelper) |
static boolean |
isModNameFormatOverrideActive() |
static boolean |
isOptimizeMemoryUsage() |
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(IngredientFilter ingredientFilter,
mezz.jei.api.ingredients.IIngredientRegistry ingredientRegistry,
V ingredient,
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(net.minecraft.network.NetworkManager networkManager) |
static void |
toggleBookmarkEnabled() |
static void |
toggleCheatItemsEnabled() |
static void |
toggleEditModeEnabled() |
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 final java.lang.String defaultModNameFormatFriendly
public static final int smallestNumColumns
public static final int largestNumColumns
public static final int minRecipeGuiHeight
public static final int maxRecipeGuiHeight
public static boolean isOverlayEnabled()
public static void toggleOverlayEnabled()
public static boolean isBookmarkOverlayEnabled()
public static void toggleBookmarkEnabled()
public static boolean isCheatItemsEnabled()
public static void toggleCheatItemsEnabled()
public static void setCheatItemsEnabled(boolean value)
public static boolean isEditModeEnabled()
public static void toggleEditModeEnabled()
public static boolean isDebugModeEnabled()
public static boolean isDeleteItemsInCheatModeActive()
public static boolean isCenterSearchBarEnabled()
public static boolean isOptimizeMemoryUsage()
public static GiveMode getGiveMode()
public static java.lang.String getModNameFormat()
public static boolean isModNameFormatOverrideActive()
public static void checkForModNameFormatOverride()
public static int getMaxColumns()
public static int getMaxRecipeGuiHeight()
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()
@Nullable public static java.io.File getBookmarkFile()
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(@Nullable net.minecraft.network.NetworkManager networkManager)
public static <V> void addIngredientToConfigBlacklist(IngredientFilter ingredientFilter, mezz.jei.api.ingredients.IIngredientRegistry ingredientRegistry, V ingredient, IngredientBlacklistType blacklistType, mezz.jei.api.ingredients.IIngredientHelper<V> ingredientHelper)
public static <V> void removeIngredientFromConfigBlacklist(IngredientFilter ingredientFilter, mezz.jei.api.ingredients.IIngredientRegistry ingredientRegistry, V ingredient, 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, IngredientBlacklistType blacklistType, mezz.jei.api.ingredients.IIngredientHelper<V> ingredientHelper)