aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/api/ConfigObject.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2019-12-24 11:31:40 +0800
committershedaniel <daniel@shedaniel.me>2019-12-24 11:31:40 +0800
commit08d80d588a36598114087a79917e36e9d2cc97c3 (patch)
tree95cde698bbf1eca2f83143d39fd206cf2dc803f2 /src/main/java/me/shedaniel/rei/api/ConfigObject.java
parent7d438f554c4173880a407a6bb8fc80b8a4723845 (diff)
downloadRoughlyEnoughItems-08d80d588a36598114087a79917e36e9d2cc97c3.tar.gz
RoughlyEnoughItems-08d80d588a36598114087a79917e36e9d2cc97c3.tar.bz2
RoughlyEnoughItems-08d80d588a36598114087a79917e36e9d2cc97c3.zip
Finishing workstation usage and close #220
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api/ConfigObject.java')
-rw-r--r--src/main/java/me/shedaniel/rei/api/ConfigObject.java99
1 files changed, 52 insertions, 47 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/ConfigObject.java b/src/main/java/me/shedaniel/rei/api/ConfigObject.java
index 03e962ba6..ac807ec03 100644
--- a/src/main/java/me/shedaniel/rei/api/ConfigObject.java
+++ b/src/main/java/me/shedaniel/rei/api/ConfigObject.java
@@ -17,103 +17,108 @@ import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
public interface ConfigObject {
-
+
@SuppressWarnings("deprecation")
static ConfigObject getInstance() {
return ConfigManager.getInstance().getConfig();
}
-
+
boolean isLighterButtonHover();
-
+
void setLighterButtonHover(boolean lighterButtonHover);
-
+
boolean isOverlayVisible();
-
+
void setOverlayVisible(boolean overlayVisible);
-
+
boolean isCheating();
-
+
void setCheating(boolean cheating);
-
+
ItemListOrdering getItemListOrdering();
-
+
boolean isItemListAscending();
-
+
boolean isUsingDarkTheme();
-
+
boolean isToastDisplayedOnCopyIdentifier();
-
+
@Deprecated
default boolean doesRenderEntryExtraOverlay() {
return doesRenderEntryEnchantmentGlint();
}
-
+
boolean doesRenderEntryEnchantmentGlint();
-
+
boolean isEntryListWidgetScrolled();
-
+
boolean shouldAppendModNames();
-
+
RecipeScreenType getRecipeScreenType();
-
+
void setRecipeScreenType(RecipeScreenType recipeScreenType);
-
+
boolean isLoadingDefaultPlugin();
-
+
SearchFieldLocation getSearchFieldLocation();
-
+
boolean isLeftHandSidePanel();
-
+
boolean isCraftableFilterEnabled();
-
+
String getGamemodeCommand();
-
+
String getGiveCommand();
-
+
String getWeatherCommand();
-
+
int getMaxRecipePerPage();
-
+
boolean doesShowUtilsButtons();
-
+
boolean doesDisableRecipeBook();
-
+
boolean doesFixTabCloseContainer();
-
+
boolean areClickableRecipeArrowsEnabled();
-
+
ItemCheatingMode getItemCheatingMode();
-
+
boolean isUsingLightGrayRecipeBorder();
-
+
boolean doesVillagerScreenHavePermanentScrollBar();
-
+
boolean doesRegisterRecipesInAnotherThread();
-
+
boolean doesSnapToRows();
-
+
boolean isFavoritesEnabled();
-
+
boolean doDisplayFavoritesTooltip();
-
+
boolean doDisplayFavoritesOnTheLeft();
-
+
boolean doesFastEntryRendering();
-
+
boolean doDebugRenderTimeRequired();
-
+
+ boolean doSearchFavorites();
+
InputUtil.KeyCode getFavoriteKeybind();
-
+
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
- public @interface AddInFrontKeyCode {}
-
+ public @interface AddInFrontKeyCode {
+ }
+
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
- public @interface DontApplyFieldName {}
-
+ public @interface DontApplyFieldName {
+ }
+
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
- public @interface UseEnumSelectorInstead {}
-
+ public @interface UseEnumSelectorInstead {
+ }
+
}