File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
src/main/java/io/github/jamalam360/jamlib/keybind Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 22
33### Features
44
5- - Add a method overload to send an empty packet with JamLib network channels .
5+ - Return the backing keybind when registering JamLib keybinds .
66
77Closed issues: None.
88
9- [ Full Changelog] ( https://github.com/JamCoreModding/JamLib/compare/0.3.0 ...0.3.1 )
9+ [ Full Changelog] ( https://github.com/JamCoreModding/JamLib/compare/0.3.1 ...0.3.2 )
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ org.gradle.parallel=true
33
44archive_base_name =jamlib
55
6- mod_version =0.3.1
7- release_name =V0.3.1 [1.19]
6+ mod_version =0.3.2
7+ release_name =V0.3.2 [1.19]
88supported_versions =1.19
99
1010github_user =JamCoreModding
Original file line number Diff line number Diff line change 4040public class JamLibKeybinds {
4141 private static final List <JamLibKeybindImpl > KEY_BINDS = new ArrayList <>();
4242
43- public static void register (JamLibKeybind keyBind ) {
43+ public static KeyBind register (JamLibKeybind keyBind ) {
4444 KeyBind keyBindBacker = new KeyBind (
4545 "key." + keyBind .modId () + "." + keyBind .name (),
4646 InputUtil .Type .KEYSYM ,
@@ -54,6 +54,8 @@ public static void register(JamLibKeybind keyBind) {
5454 ));
5555
5656 KeyBindingHelper .registerKeyBinding (keyBindBacker );
57+
58+ return keyBindBacker ;
5759 }
5860
5961 @ ApiStatus .Internal
You can’t perform that action at this time.
0 commit comments