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
{{ message }}
Repository navigation
Commit a52bbd7
Browse filesBrowse the repository at this point in the historyBrowse files
Fix: CollectionSettings mapping stringified values instead of converting the collection to a tree (#204)
This pull request modifies slightly comparable collection settings by
converting the entire tree directly instead of mapping the collection
values to their stringified representations. Collection setting of
comparable types was removed and a new flag was introduce to chose the
setting core before creating the setting. This pull request also fixes
the friend list being serialized using the class collection setting
core.
Copy file name to clipboardExpand all lines: src/main/kotlin/com/lambda/config/groups/BreakSettings.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ open class BreakSettings(
57
57
overrideval breakDelay by c.setting("Break Delay", 0, 0..5, 1, "The delay between breaking blocks", " tick(s)").group(baseGroup, Group.General).index()
58
58
59
59
// Timing
60
-
overrideval tickStageMask by c.setting("Break Stage Mask", setOf(TickEvent.Input.Post), ALL_STAGES.toSet(), description ="The sub-tick timing at which break actions can be performed").group(baseGroup, Group.General).index()
60
+
overrideval tickStageMask by c.setting("Break Stage Mask", setOf(TickEvent.Input.Post), ALL_STAGES.toSet(), "The sub-tick timing at which break actions can be performed", displayClassName =true).group(baseGroup, Group.General).index()
61
61
62
62
// Swap
63
63
overrideval swapMode by c.setting("Break Swap Mode", BreakConfig.SwapMode.End, "Decides when to swap to the best suited tool when breaking a block").group(baseGroup, Group.General).index()
Copy file name to clipboardExpand all lines: src/main/kotlin/com/lambda/config/groups/HotbarSettings.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -33,5 +33,5 @@ class HotbarSettings(
33
33
overrideval swapDelay by c.setting("Swap Delay", 0, 0..3, 1, "The number of ticks delay before allowing another hotbar selection swap", " ticks").group(baseGroup).index()
34
34
overrideval swapsPerTick by c.setting("Swaps Per Tick", 3, 1..10, 1, "The number of hotbar selection swaps that can take place each tick") { swapDelay <=0 }.group(baseGroup).index()
35
35
overrideval swapPause by c.setting("Swap Pause", 0, 0..20, 1, "The delay in ticks to pause actions after switching to the slot", " ticks").group(baseGroup).index()
36
-
overrideval tickStageMask by c.setting("Hotbar Stage Mask", setOf(TickEvent.Input.Post), ALL_STAGES.toSet(), description ="The sub-tick timing at which hotbar actions are performed").group(baseGroup).index()
36
+
overrideval tickStageMask by c.setting("Hotbar Stage Mask", setOf(TickEvent.Input.Post), ALL_STAGES.toSet(), "The sub-tick timing at which hotbar actions are performed", displayClassName =true).group(baseGroup).index()
Copy file name to clipboardExpand all lines: src/main/kotlin/com/lambda/config/groups/InteractSettings.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ class InteractSettings(
34
34
overrideval airPlace by c.setting("Air Place", AirPlaceMode.None, "Allows for placing blocks without adjacent faces").group(baseGroup).index()
35
35
overrideval axisRotateSetting by c.setting("Axis Rotate", true, "Overrides the Rotate For Place setting and rotates the player on each axis to air place rotational blocks") { airPlace.isEnabled }.group(baseGroup).index()
36
36
overrideval sorter by c.setting("Interaction Sorter", ActionConfig.SortMode.Tool, "The order in which placements are performed").group(baseGroup).index()
37
-
overrideval tickStageMask by c.setting("Interaction Stage Mask", setOf(TickEvent.Input.Post), ALL_STAGES.toSet(), description ="The sub-tick timing at which place actions are performed").group(baseGroup).index()
37
+
overrideval tickStageMask by c.setting("Interaction Stage Mask", setOf(TickEvent.Input.Post), ALL_STAGES.toSet(), "The sub-tick timing at which place actions are performed", displayClassName =true).group(baseGroup).index()
38
38
overrideval interactConfirmationMode by c.setting("Interact Confirmation", InteractConfirmationMode.PlaceThenAwait, "Wait for block placement confirmation").group(baseGroup).index()
39
39
overrideval interactDelay by c.setting("Interact Delay", 0, 0..3, 1, "Tick delay between interacting with another block").group(baseGroup).index()
40
40
overrideval interactionsPerTick by c.setting("Interactions Per Tick", 1, 1..30, 1, "Maximum instant block places per tick").group(baseGroup).index()
0 commit comments