ConfigObject.java 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. /*
  2. * Roughly Enough Items by Danielshe.
  3. * Licensed under the MIT License.
  4. */
  5. package me.shedaniel.rei.api;
  6. import me.shedaniel.rei.gui.config.ItemCheatingMode;
  7. import me.shedaniel.rei.gui.config.ItemListOrdering;
  8. import me.shedaniel.rei.gui.config.RecipeScreenType;
  9. import me.shedaniel.rei.gui.config.SearchFieldLocation;
  10. import java.lang.annotation.ElementType;
  11. import java.lang.annotation.Retention;
  12. import java.lang.annotation.RetentionPolicy;
  13. import java.lang.annotation.Target;
  14. public interface ConfigObject {
  15. boolean isLighterButtonHover();
  16. void setLighterButtonHover(boolean lighterButtonHover);
  17. boolean isOverlayVisible();
  18. void setOverlayVisible(boolean overlayVisible);
  19. boolean isCheating();
  20. void setCheating(boolean cheating);
  21. ItemListOrdering getItemListOrdering();
  22. boolean isItemListAscending();
  23. boolean isUsingDarkTheme();
  24. boolean isToastDisplayedOnCopyIdentifier();
  25. boolean doesRenderEntryExtraOverlay();
  26. boolean isEntryListWidgetScrolled();
  27. boolean shouldAppendModNames();
  28. RecipeScreenType getRecipeScreenType();
  29. void setRecipeScreenType(RecipeScreenType recipeScreenType);
  30. boolean isLoadingDefaultPlugin();
  31. SearchFieldLocation getSearchFieldLocation();
  32. boolean isLeftHandSidePanel();
  33. boolean isCraftableFilterEnabled();
  34. String getGamemodeCommand();
  35. String getGiveCommand();
  36. String getWeatherCommand();
  37. int getMaxRecipePerPage();
  38. boolean doesShowUtilsButtons();
  39. boolean doesDisableRecipeBook();
  40. boolean doesFixTabCloseContainer();
  41. boolean areClickableRecipeArrowsEnabled();
  42. ItemCheatingMode getItemCheatingMode();
  43. boolean isUsingLightGrayRecipeBorder();
  44. boolean doesVillagerScreenHavePermanentScrollBar();
  45. boolean doesRegisterRecipesInAnotherThread();
  46. @Retention(RetentionPolicy.RUNTIME)
  47. @Target({ElementType.FIELD})
  48. public @interface DontApplyFieldName {
  49. }
  50. }