aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java')
-rw-r--r--src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java12
1 files changed, 12 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 ec0293d58..607422f63 100644
--- a/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java
+++ b/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java
@@ -209,6 +209,16 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData {
}
@Override
+ public boolean doesFastEntryRendering() {
+ return performance.fastEntryRendering;
+ }
+
+ @Override
+ public boolean doDebugRenderTimeRequired() {
+ return technical.debugRenderTimeRequired;
+ }
+
+ @Override
public InputUtil.KeyCode getFavoriteKeybind() {
return general.favoriteKeybind == null ? InputUtil.UNKNOWN_KEYCODE : general.favoriteKeybind;
}
@@ -255,6 +265,7 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData {
private String giveCommand = "/give {player_name} {item_identifier}{nbt} {count}";
@Comment("Declares the command used to change weather.") private String weatherCommand = "/weather {weather}";
private boolean registerRecipesInAnotherThread = true;
+ private boolean debugRenderTimeRequired = false;
}
public static class Modules {
@@ -270,5 +281,6 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData {
public static class Performance {
@Comment("Whether REI should render entry's enchantment glint")
private boolean renderEntryEnchantmentGlint = true;
+ @ConfigEntry.Gui.Excluded private boolean fastEntryRendering = false;
}
}