diff options
| author | shedaniel <daniel@shedaniel.me> | 2020-01-30 18:23:55 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2020-01-30 18:23:55 +0800 |
| commit | 260375f7d89fa419dd4856f322690adb883f3371 (patch) | |
| tree | 3dedbe33058f5be36d71ac9b3c04ef1f97b0f663 /src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java | |
| parent | 822790361c5cea055d9a7706094e24032c1cdd95 (diff) | |
| download | RoughlyEnoughItems-260375f7d89fa419dd4856f322690adb883f3371.tar.gz RoughlyEnoughItems-260375f7d89fa419dd4856f322690adb883f3371.tar.bz2 RoughlyEnoughItems-260375f7d89fa419dd4856f322690adb883f3371.zip | |
3.3.17
Diffstat (limited to 'src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java b/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java index f520184f0..efc483162 100644 --- a/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java +++ b/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java @@ -12,6 +12,7 @@ import me.sargunvohra.mcmods.autoconfig1u.shadowed.blue.endless.jankson.Comment; import me.shedaniel.clothconfig2.api.Modifier; import me.shedaniel.clothconfig2.api.ModifierKeyCode; import me.shedaniel.rei.api.ConfigObject; +import me.shedaniel.rei.api.EntryStack; import me.shedaniel.rei.gui.config.ItemListOrdering; import me.shedaniel.rei.gui.config.ItemListOrderingConfig; import me.shedaniel.rei.gui.config.RecipeScreenType; @@ -31,6 +32,7 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData { @ConfigEntry.Category("modules") @ConfigEntry.Gui.TransitiveObject @DontApplyFieldName private Modules modules = new Modules(); @ConfigEntry.Category("technical") @ConfigEntry.Gui.TransitiveObject @DontApplyFieldName private Technical technical = new Technical(); @ConfigEntry.Category("performance") @ConfigEntry.Gui.TransitiveObject @DontApplyFieldName private Performance performance = new Performance(); + // @ConfigEntry.Category("filtering") @ConfigEntry.Gui.TransitiveObject @DontApplyFieldName private Filtering filtering = new Filtering(); @Override public boolean isLighterButtonHover() { @@ -279,7 +281,7 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData { } public static class General { - @ConfigEntry.Gui.Excluded public List<String> favorites = new ArrayList<>(); + @ConfigEntry.Gui.Excluded public List<EntryStack> favorites = new ArrayList<>(); @Comment("Declares whether cheating mode is on.") private boolean cheating = false; @Comment("Declares whether REI is visible.") @ConfigEntry.Gui.Excluded private boolean overlayVisible = true; private boolean favoritesEnabled = true; @@ -339,4 +341,8 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData { @Comment("Whether REI should render entry's enchantment glint") private boolean renderEntryEnchantmentGlint = true; private boolean newFastEntryRendering = true; } + + public static class Filtering { + private List<EntryStack> filteredStacks = new ArrayList<>(); + } } |
