aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/options
diff options
context:
space:
mode:
authorMadeleaan <70163122+Madeleaan@users.noreply.github.com>2024-07-06 16:11:23 +0200
committerGitHub <noreply@github.com>2024-07-06 16:11:23 +0200
commit2d3f55358e5bd69c3cfd9789459bb6fafdab7209 (patch)
tree38d91c12dd3093dbf60ce6608e4744485d260e4f /src/main/java/io/github/moulberry/notenoughupdates/options
parent2964f061ff29df7da59e27ca92271283172d3be1 (diff)
downloadnotenoughupdates-2d3f55358e5bd69c3cfd9789459bb6fafdab7209.tar.gz
notenoughupdates-2d3f55358e5bd69c3cfd9789459bb6fafdab7209.tar.bz2
notenoughupdates-2d3f55358e5bd69c3cfd9789459bb6fafdab7209.zip
Add grappling hook cooldown overlay (#1208)
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/options')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/ItemOverlays.java20
1 files changed, 18 insertions, 2 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/ItemOverlays.java b/src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/ItemOverlays.java
index 9b339fc4..10fd3503 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/ItemOverlays.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/ItemOverlays.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2022 NotEnoughUpdates contributors
+ * Copyright (C) 2022-2024 NotEnoughUpdates contributors
*
* This file is part of NotEnoughUpdates.
*
@@ -409,7 +409,7 @@ public class ItemOverlays {
public boolean enableScytheOverlay = true;
@ConfigOption(
- name="Custom Wither Cloak",
+ name = "Custom Wither Cloak",
desc = ""
)
@ConfigEditorAccordion(id = 8)
@@ -489,6 +489,22 @@ public class ItemOverlays {
@ConfigEditorInfoText()
public boolean customWitherCloakCredit = false;
+ @ConfigOption(
+ name = "Grappling hook Overlay",
+ desc = ""
+ )
+ @ConfigEditorAccordion(id = 9)
+ public boolean grappleAccordion = false;
+
+ @Expose
+ @ConfigOption(
+ name = "Enable grappling hook overlay",
+ desc = "Show the cooldown of grappling hook in the item durability"
+ )
+ @ConfigEditorBoolean
+ @ConfigAccordionId(id = 9)
+ public boolean enableGrappleOverlay = true;
+
@Expose
@ConfigOption(
name = "Use Durability for Cooldowns",