diff options
| author | shedaniel <daniel@shedaniel.me> | 2020-01-04 21:00:18 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2020-01-04 21:00:18 +0800 |
| commit | 7c6aa1d9b1733ba83f0d06cc40e2d02ef42b08ab (patch) | |
| tree | 0152d0c83374830c072e6c3464977ac425a5d894 /src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java | |
| parent | f94bd2932866dc3a8306e4c44c7557700567021e (diff) | |
| download | RoughlyEnoughItems-7c6aa1d9b1733ba83f0d06cc40e2d02ef42b08ab.tar.gz RoughlyEnoughItems-7c6aa1d9b1733ba83f0d06cc40e2d02ef42b08ab.tar.bz2 RoughlyEnoughItems-7c6aa1d9b1733ba83f0d06cc40e2d02ef42b08ab.zip | |
3.3.3
Diffstat (limited to 'src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java b/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java index f10699a95..a284f37b5 100644 --- a/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java +++ b/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java @@ -13,7 +13,10 @@ import me.shedaniel.clothconfig2.api.Modifier; import me.shedaniel.clothconfig2.api.ModifierKeyCode; import me.shedaniel.rei.api.ConfigObject; import me.shedaniel.rei.api.annotations.Internal; -import me.shedaniel.rei.gui.config.*; +import me.shedaniel.rei.gui.config.ItemListOrdering; +import me.shedaniel.rei.gui.config.ItemListOrderingConfig; +import me.shedaniel.rei.gui.config.RecipeScreenType; +import me.shedaniel.rei.gui.config.SearchFieldLocation; import net.minecraft.client.util.InputUtil; import java.util.ArrayList; @@ -32,12 +35,7 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData { @Override public boolean isLighterButtonHover() { - return appearance.lighterButtonHover; - } - - @Override - public void setLighterButtonHover(boolean lighterButtonHover) { - appearance.lighterButtonHover = lighterButtonHover; + return true; } @Override @@ -166,11 +164,6 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData { } @Override - public ItemCheatingMode getItemCheatingMode() { - return appearance.itemCheatingMode; - } - - @Override public boolean isUsingLightGrayRecipeBorder() { return appearance.lightGrayRecipeBorder; } @@ -296,9 +289,7 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData { @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; - @Comment("Declares whether REI should lighten the button if hovered.") private boolean lighterButtonHover = true; private boolean clickableRecipeArrows = true; - @UseEnumSelectorInstead private ItemCheatingMode itemCheatingMode = ItemCheatingMode.REI_LIKE; @Comment("Declares the appearance of recipe's border.") private boolean lightGrayRecipeBorder = false; @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; |
