aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/features/impl/secret
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-05-01 14:36:48 +0900
committersyeyoung <cyong06@naver.com>2021-05-01 14:36:48 +0900
commit4d858161e0321c479927e7f28bf516189781914e (patch)
tree42ee5394f90afec98acdd74fbedea7971a0b195a /src/main/java/kr/syeyoung/dungeonsguide/features/impl/secret
parentc60485da3704c1ac91f614f8020c79f5a92a599e (diff)
downloadSkyblock-Dungeons-Guide-4d858161e0321c479927e7f28bf516189781914e.tar.gz
Skyblock-Dungeons-Guide-4d858161e0321c479927e7f28bf516189781914e.tar.bz2
Skyblock-Dungeons-Guide-4d858161e0321c479927e7f28bf516189781914e.zip
all tested.
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/features/impl/secret')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/features/impl/secret/FeatureMechanicBrowse.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/secret/FeatureMechanicBrowse.java b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/secret/FeatureMechanicBrowse.java
index 54353e34..19f39b1f 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/secret/FeatureMechanicBrowse.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/secret/FeatureMechanicBrowse.java
@@ -42,6 +42,7 @@ public class FeatureMechanicBrowse extends GuiFeature implements GuiPreRenderLis
super("Secret","Mechanic(Secret) Browser", "Browse and Pathfind secrets and mechanics in the current room", "secret.mechanicbrowse", false, 100, 300);
parameters.put("linecolor", new FeatureParameter<Color>("linecolor", "Color", "Color of Pathfind line", Color.green, "color"));
parameters.put("linethickness", new FeatureParameter<Float>("linethickness", "Thickness", "Thickness of Pathfind line", 1.0f, "float"));
+ parameters.put("refreshrate", new FeatureParameter<Integer>("refreshrate", "Line Refreshrate", "How many ticks per line refresh?", 10, "integer"));
}
public Color getColor() {
@@ -50,6 +51,9 @@ public class FeatureMechanicBrowse extends GuiFeature implements GuiPreRenderLis
public float getThickness() {
return this.<Float>getParameter("linethickness").getValue();
}
+ public int getRefreshRate() {
+ return this.<Integer>getParameter("refreshrate").getValue();
+ }
SkyblockStatus skyblockStatus = e.getDungeonsGuide().getSkyblockStatus();
private UUID lastRoomUID = null;