Commit 61f7feb 1 parent b953674 commit 61f7feb Copy full SHA for 61f7feb
File tree 1 file changed +5
-9
lines changed
forge/origin/src/main/java/io/github/kituin/chatimage
1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ public static class ClientModEvents {
77
77
CONFIG = ChatImageConfig .loadConfig ();
78
78
ChatImageCodeInstance .CLIENT_ADAPTER = new ChatImageClientAdapter ();
79
79
}
80
- // IF > forge-1.18.2
80
+ // IF >= forge-1.19
81
81
// @SubscribeEvent
82
82
// public static void onKeyBindRegister(RegisterKeyMappingsEvent event) {
83
83
// KeyBindings.init(event);
@@ -88,9 +88,11 @@ public static class ClientModEvents {
88
88
@ SubscribeEvent
89
89
public static void onClientSetup (FMLClientSetupEvent event ) {
90
90
LOGGER .info ("[ChatImage]Client start" );
91
+ // IF >= forge-1.16 || < forge-1.19
92
+ // KeyBindings.init();
93
+ // LOGGER.info("KeyBindings Register");
94
+ // END IF
91
95
// IF forge-1.16.5
92
- // KeyBindings.init();
93
- // LOGGER.info("KeyBindings Register");
94
96
// ModLoadingContext.get().registerExtensionPoint(ExtensionPoint.CONFIGGUIFACTORY,
95
97
// () -> (mc, screen) -> new ConfigScreen(screen));
96
98
// ELSE
@@ -135,12 +137,6 @@ public static void onKeyInput(#InputEvent.Key# event) {
135
137
}
136
138
137
139
public static void onClientStaring (RegisterCommandsEvent event ) {
138
-
139
140
}
140
-
141
141
}
142
-
143
-
144
-
145
-
146
142
}
You can’t perform that action at this time.
0 commit comments