From 144f0c0576c1a0ac1204ec5970a133ebc44eaa02 Mon Sep 17 00:00:00 2001 From: shedaniel Date: Sat, 21 Dec 2019 15:54:06 +0800 Subject: 3.2.28 --- src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java') 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 @@ -208,6 +208,16 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData { return appearance.displayFavoritesOnTheLeft; } + @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; } } -- cgit