diff options
| author | shedaniel <daniel@shedaniel.me> | 2019-12-21 15:54:06 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2019-12-21 15:54:06 +0800 |
| commit | 144f0c0576c1a0ac1204ec5970a133ebc44eaa02 (patch) | |
| tree | 083913b3ffc1fd4416604b63f67f3ede3d1f1ce8 /src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java | |
| parent | 2d065ca9272ce28c9d4342cd127184b46881ce2e (diff) | |
| download | RoughlyEnoughItems-144f0c0576c1a0ac1204ec5970a133ebc44eaa02.tar.gz RoughlyEnoughItems-144f0c0576c1a0ac1204ec5970a133ebc44eaa02.tar.bz2 RoughlyEnoughItems-144f0c0576c1a0ac1204ec5970a133ebc44eaa02.zip | |
3.2.28
Diffstat (limited to 'src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java | 12 |
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; } } |
