aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2019-12-07 18:57:27 +0800
committershedaniel <daniel@shedaniel.me>2019-12-07 18:57:27 +0800
commit7d145d3265d1de8daaccc13e8a50aa8930706790 (patch)
treec0b028a5bd20a9b15b5334e3c39e5e6a4d50cc81 /src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java
parenta5ede4908ce20a76bec665e27fec20acdf716476 (diff)
downloadRoughlyEnoughItems-7d145d3265d1de8daaccc13e8a50aa8930706790.tar.gz
RoughlyEnoughItems-7d145d3265d1de8daaccc13e8a50aa8930706790.tar.bz2
RoughlyEnoughItems-7d145d3265d1de8daaccc13e8a50aa8930706790.zip
3.2.15
Fix #199 Close #195 Close #138
Diffstat (limited to 'src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java')
-rw-r--r--src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java b/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java
index bcb60b331..e2e3d44e5 100644
--- a/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java
+++ b/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java
@@ -193,6 +193,11 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData {
return technical.registerRecipesInAnotherThread;
}
+ @Override
+ public boolean doesSnapToRows() {
+ return appearance.snapToRows;
+ }
+
public static class General {
@Comment("Declares whether cheating mode is on.")
private boolean cheating = false;
@@ -233,6 +238,7 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData {
private boolean villagerScreenPermanentScrollBar = false;
@Comment("Declares whether if entry list widget is scrolled.")
private boolean scrollingEntryListWidget = false;
+ private boolean snapToRows = false;
}
public static class Technical {