diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-03-07 22:21:06 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-03-07 22:21:06 +0800 |
| commit | 8cd1f1a9804f980c1666079c99bafb6330c77723 (patch) | |
| tree | 449f74c31bf73a4106b2cb9bc7fb5635925b2328 /src/main/java/me/shedaniel/rei/client/ConfigObject.java | |
| parent | e5909b2fa40428d2a25a4f727a49a4f4fc47ad01 (diff) | |
| download | RoughlyEnoughItems-8cd1f1a9804f980c1666079c99bafb6330c77723.tar.gz RoughlyEnoughItems-8cd1f1a9804f980c1666079c99bafb6330c77723.tar.bz2 RoughlyEnoughItems-8cd1f1a9804f980c1666079c99bafb6330c77723.zip | |
Config with comments
Diffstat (limited to 'src/main/java/me/shedaniel/rei/client/ConfigObject.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/client/ConfigObject.java | 49 |
1 files changed, 49 insertions, 0 deletions
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); + +} |
