aboutsummaryrefslogtreecommitdiff
path: root/runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2021-03-23 00:02:16 +0800
committershedaniel <daniel@shedaniel.me>2021-03-23 00:02:16 +0800
commitc027169dfe9503a9d913589eb322cc11ddad0baa (patch)
treecea2db418d26b0ba9f054445891f272264ae3d30 /runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java
parent7bbef49785f594dfe3d6eac0cfc6ee84841aae80 (diff)
downloadRoughlyEnoughItems-c027169dfe9503a9d913589eb322cc11ddad0baa.tar.gz
RoughlyEnoughItems-c027169dfe9503a9d913589eb322cc11ddad0baa.tar.bz2
RoughlyEnoughItems-c027169dfe9503a9d913589eb322cc11ddad0baa.zip
Improve UncertainDisplayViewingScreen
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java')
-rw-r--r--runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java b/runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java
index 500713fd3..760e93969 100644
--- a/runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java
+++ b/runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java
@@ -131,13 +131,13 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData {
}
@Override
- public RecipeScreenType getRecipeScreenType() {
+ public DisplayScreenType getRecipeScreenType() {
return appearance.recipeScreenType;
}
@Override
- public void setRecipeScreenType(RecipeScreenType recipeScreenType) {
- appearance.recipeScreenType = recipeScreenType;
+ public void setRecipeScreenType(DisplayScreenType displayScreenType) {
+ appearance.recipeScreenType = displayScreenType;
}
@Override
@@ -201,8 +201,8 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData {
}
@Override
- public boolean doesVillagerScreenHavePermanentScrollBar() {
- return advanced.accessibility.villagerScreenPermanentScrollBar;
+ public boolean isCompositeScrollBarPermanent() {
+ return advanced.accessibility.compositeScrollBarPermanent;
}
@Override
@@ -438,7 +438,7 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData {
}
public static class Appearance {
- @UseSpecialRecipeTypeScreen private RecipeScreenType recipeScreenType = RecipeScreenType.ORIGINAL;
+ @UseSpecialRecipeTypeScreen private DisplayScreenType recipeScreenType = DisplayScreenType.UNSET;
@Comment("Declares the appearance of REI windows.") @ConfigEntry.Gui.EnumHandler(option = ConfigEntry.Gui.EnumHandler.EnumDisplayOption.BUTTON)
private AppearanceTheme theme = AppearanceTheme.LIGHT;
@ConfigEntry.Gui.CollapsibleObject(startExpanded = true)
@@ -502,7 +502,7 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData {
@Comment("Declares the position of the entry panel.") @ConfigEntry.Gui.EnumHandler(option = ConfigEntry.Gui.EnumHandler.EnumDisplayOption.BUTTON)
private DisplayPanelLocation displayPanelLocation = DisplayPanelLocation.RIGHT;
@Comment("Declares whether scrolled entry panel should snap to rows.") private boolean snapToRows = false;
- @Comment("Declares how the scrollbar in villager screen should act.") private boolean villagerScreenPermanentScrollBar = false;
+ @Comment("Declares how the scrollbar in composite screen should act.") private boolean compositeScrollBarPermanent = false;
private boolean toastDisplayedOnCopyIdentifier = true;
@Comment("Declares whether REI should use compact tabs for categories.") private boolean useCompactTabs = true;
}