From 8cd1f1a9804f980c1666079c99bafb6330c77723 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 7 Mar 2019 22:21:06 +0800 Subject: Config with comments --- .../java/me/shedaniel/rei/client/ConfigObject.java | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 src/main/java/me/shedaniel/rei/client/ConfigObject.java (limited to 'src/main/java/me/shedaniel/rei/client/ConfigObject.java') diff --git a/src/main/java/me/shedaniel/rei/client/ConfigObject.java b/src/main/java/me/shedaniel/rei/client/ConfigObject.java new file mode 100644 index 000000000..ba697d99a --- /dev/null +++ b/src/main/java/me/shedaniel/rei/client/ConfigObject.java @@ -0,0 +1,49 @@ +package me.shedaniel.rei.client; + +import blue.endless.jankson.Comment; +import me.shedaniel.rei.api.RelativePoint; + +public class ConfigObject { + + public boolean cheating = false; + + @Comment("The ordering of the items on the item panel.") + public ItemListOrdering itemListOrdering = ItemListOrdering.registry; + + @Comment("The ordering of the items on the item panel.") + public boolean isAscending = true; + + @Comment("To toggle the craftable button next to the search field.") + public boolean enableCraftableOnlyButton = true; + + @Comment("True: search field will be on the side (left / right), false: in the middle") + public boolean sideSearchField = false; + + @Comment("The command used in servers to cheat items") + public String giveCommand = "/give {player_name} {item_identifier}{nbt} {count}"; + + @Comment("The command used to change gamemode") + public String gamemodeCommand = "/gamemode {gamemode}"; + + @Comment("The command used to change weather") + public String weatherCommand = "/weather {weather}"; + + @Comment("True: item panel on the left, false: on the right") + public boolean mirrorItemPanel = false; + + @Comment("To disable REI's defualt plugin, don't change this unless you understand what you are doing") + public boolean loadDefaultPlugin = true; + + @Comment("Toggle the credits button") + public boolean disableCreditsButton = false; + + @Comment("Maximum recipes viewed at one time.") + public int maxRecipePerPage = 3; + + @Comment("Toggle utils buttons") + public boolean showUtilsButtons = false; + + @Comment("The location of choose page dialog") + public RelativePoint choosePageDialogPoint = new RelativePoint(.5, .5); + +} -- cgit