diff options
| author | shedaniel <daniel@shedaniel.me> | 2020-04-03 13:49:22 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2020-04-03 13:49:22 +0800 |
| commit | 12d9839573e6a59fa1e2ca466722a3a8f43bb4f9 (patch) | |
| tree | c718f645d2c145435f2329f2be0365a7f680788e /src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java | |
| parent | 172897ef31c38871d0e0274bcd36db8f71254ba3 (diff) | |
| download | RoughlyEnoughItems-12d9839573e6a59fa1e2ca466722a3a8f43bb4f9.tar.gz RoughlyEnoughItems-12d9839573e6a59fa1e2ca466722a3a8f43bb4f9.tar.bz2 RoughlyEnoughItems-12d9839573e6a59fa1e2ca466722a3a8f43bb4f9.zip | |
4.1.4: Updates Auto Config & 20w14a
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java b/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java index f35536729..710c768f3 100644 --- a/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java +++ b/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java @@ -342,10 +342,6 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData { @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.FIELD}) - @interface UseEnumSelectorInstead {} - - @Retention(RetentionPolicy.RUNTIME) - @Target({ElementType.FIELD}) @interface UseSpecialRecipeTypeScreen {} @Retention(RetentionPolicy.RUNTIME) @@ -379,15 +375,16 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData { public static class Appearance { @UseSpecialRecipeTypeScreen private RecipeScreenType recipeScreenType = RecipeScreenType.UNSET; @Comment("Declares the appearance of REI windows.") private boolean darkTheme = false; - @Comment("The ordering of the items on the item panel.") @UseEnumSelectorInstead + @Comment("The ordering of the items on the item panel.") @ConfigEntry.Gui.EnumHandler(option = ConfigEntry.Gui.EnumHandler.EnumDisplayOption.BUTTON) private ItemListOrderingConfig itemListOrdering = ItemListOrderingConfig.REGISTRY_ASCENDING; - @Comment("Declares the position of the search field.") @UseEnumSelectorInstead + @Comment("Declares the position of the search field.") @ConfigEntry.Gui.EnumHandler(option = ConfigEntry.Gui.EnumHandler.EnumDisplayOption.BUTTON) private SearchFieldLocation searchFieldLocation = SearchFieldLocation.CENTER; @Comment("Declares the position of the item list panel.") private boolean mirrorItemPanel = false; @Comment("Declares the maximum amount of recipes displayed in a page if possible.") @ConfigEntry.BoundedDiscrete(min = 2, max = 99) private int maxRecipePerPage = 3; private boolean clickableRecipeArrows = true; - @Comment("Declares the appearance of recipe's border.") @UseEnumSelectorInstead private RecipeBorderType recipeBorder = RecipeBorderType.DEFAULT; + @Comment("Declares the appearance of recipe's border.") @ConfigEntry.Gui.EnumHandler(option = ConfigEntry.Gui.EnumHandler.EnumDisplayOption.BUTTON) + private RecipeBorderType recipeBorder = RecipeBorderType.DEFAULT; @Comment("Declares whether REI should append mod names to item stacks.") private boolean appendModNames = true; @Comment("Declares how the scrollbar in villager screen should act.") private boolean villagerScreenPermanentScrollBar = false; @Comment("Declares whether entry list widget is scrolled.") private boolean scrollingEntryListWidget = false; |
