You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Max tooltips, Show Time, and Fade Time.
Animations updated to be much smoother. Hovering over tooltips will
force the oldest tooltips to start fading instantly if there are more
than "Max Tooltips" already on screen.
After tooltips begin fading, hovering on the tooltip will fade it back
in instead of bringing them instantly to full opacity.
Copy file name to clipboardExpand all lines: src/main/java/ninja/genuine/tooltips/client/config/Config.java
+28-13Lines changed: 28 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -46,23 +46,35 @@ public boolean isEnabled() {
46
46
}
47
47
48
48
publicintgetRenderDistance() {
49
-
returnbase.getInt("Maximum Drawing Distance", category_behavior, 8, 2, 64, "Set the maximum distance that tooltips should be displayed from.");
49
+
returnbase.getInt("Maximum Drawing Distance", category_behavior, 12, 2, 64, "Sets the maximum distance that tooltips will be displayed.");
50
+
}
51
+
52
+
publicintgetMaxTooltips() {
53
+
returnbase.getInt("Max Tooltips", category_behavior, 4, 0, 999, "Sets the maximum number of tooltips shown on screenat once.");
54
+
}
55
+
56
+
publicintgetShowTime() {
57
+
returnbase.getInt("Ticks to Show", category_behavior, 40, 0, 1000, "Sets the number of ticks to show the tooltips before they fade.");
58
+
}
59
+
60
+
publicintgetFadeTime() {
61
+
returnbase.getInt("Fade Duration", category_behavior, 10, 0, 1000, "Sets the duration in ticks for the fading process.");
50
62
}
51
63
52
64
publicbooleanisOverridingOutline() {
53
-
returnbase.getBoolean("Override Outline Color", category_behavior, false, "If enabled outline color will be manually set instead of default behavior.");
65
+
returnbase.getBoolean("Override Outline Color", category_behavior, false, "Use the custom outline color instead.");
54
66
}
55
67
56
68
publicbooleanisHidingModName() {
57
-
returnbase.getBoolean("Hide Mod Name", category_behavior, false, "Hide mod names on tooltips. Enable if you see two mod names.");
69
+
returnbase.getBoolean("Hide Mod Name", category_behavior, false, "Hide mod names on tooltips. Enable this if you see two mod names.");
58
70
}
59
71
60
72
publicPropertygetOpacity() {
61
-
returnbase.get(category_appearance, "Tooltip Opacity", 0.75, "Set the opacity for the tooltips; 0 being completely invisible and 1 being completely opaque.", 0.0, 1.0);
73
+
returnbase.get(category_appearance, "Tooltip Opacity", 0.75, "Sets the opacity for the tooltips; 0 being completely invisible and 1 being completely opaque.", 0.0, 1.0);
62
74
}
63
75
64
76
publicPropertygetScale() {
65
-
returnbase.get(category_appearance, "Tooltip Scale", 1.0, "Set the scale for the tooltips; 0.1 being one thenth the size and 4 being four times the size.", 0.1, 4.0);
77
+
returnbase.get(category_appearance, "Tooltip Scale", 1.0, "Sets the scale for the tooltips; 0.1 being one thenth the size and 4 being four times the size.", 0.1, 4.0);
66
78
}
67
79
68
80
publicPropertygetOutline() {
@@ -81,22 +93,25 @@ public int getOutlineColor() {
0 commit comments