aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/options
diff options
context:
space:
mode:
authorjani270 <69345714+jani270@users.noreply.github.com>2024-06-14 14:25:50 +0200
committerGitHub <noreply@github.com>2024-06-14 14:25:50 +0200
commit1ccc0131278233b71db97b8ee81ecf084b4fb5b5 (patch)
tree0fde540dbab5a1b41ba180ad01fd34b4315bb1d5 /src/main/java/io/github/moulberry/notenoughupdates/options
parentfc45d59ebdb7ed846ad5be2ddb077de4c6b779fe (diff)
downloadnotenoughupdates-1ccc0131278233b71db97b8ee81ecf084b4fb5b5.tar.gz
notenoughupdates-1ccc0131278233b71db97b8ee81ecf084b4fb5b5.tar.bz2
notenoughupdates-1ccc0131278233b71db97b8ee81ecf084b4fb5b5.zip
Add Option to hide Inventory Buttons in Dungeon Menus (#1215)
* Add Option to hide Inventory Buttons in Dungeon Menus * Update src/main/java/io/github/moulberry/notenoughupdates/listener/RenderListener.java Co-authored-by: Linnea Gräf <nea@nea.moe> * Add imports and changed list to set --------- Co-authored-by: Linnea Gräf <nea@nea.moe>
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/options')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/InventoryButtons.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/InventoryButtons.java b/src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/InventoryButtons.java
index 5d934376..1c26b463 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/InventoryButtons.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/InventoryButtons.java
@@ -53,6 +53,14 @@ public class InventoryButtons {
@Expose
@ConfigOption(
+ name = "Hide Buttons in Dungeon Menus",
+ desc = "Hide Inventory Buttons in Dungeon Menus."
+ )
+ @ConfigEditorBoolean
+ public boolean hideInDungeonMenus = false;
+
+ @Expose
+ @ConfigOption(
name = "Button Click Type",
desc = "Change the click type needed to trigger commands"
)