File tree Expand file tree Collapse file tree
common/src/main/java/io/github/reserveword/imblocker/common Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- - 增加 REI 的兼容层
2- - 修复 26.2 相关的微小兼容问题
1+ # v7.2.0
2+ 此版本兼容 26.x 正式版以及最新快照版本
3+ ## 新功能
4+ - 适配 BlazeSDL 模组以及原版最新快照的 SDL 后端([ #154 ] ( https://github.com/reserveword/IMBlocker/issues/154 ) )
5+ - 原生兼容 [ LDLib2] ( https://github.com/Low-Drag-MC/LDLib2 ) 模组
6+ - 增加 SuperMartijn642's Core Lib 的兼容层
7+ - 增加 Linux 英文状态命令配置,若正确设置可将 ` CONVERSION_STATUS ` 作为英文状态实现方式(参见 [ #150 ] ( https://github.com/reserveword/IMBlocker/issues/150 ) )
8+ - 增加命令前缀正则表达式配置,可以加入“/”以外的命令前缀
9+ ## 修复与改进
10+ - 额外缩放配置项现在开放给所有平台的 GLFW 后端
11+ - 兼容新版本的 Reese's Sodium Options 模组并** 不再兼容旧版本**
12+ - 增加按键翻译补丁解决非 Windows 平台在 ` DISABLE_IM ` 英文状态实现方式下由于 ` SDL_StopTextInput ` 无法输入字符的问题([ #154 ] ( https://github.com/reserveword/IMBlocker/issues/154 ) ,[ #131 ] ( https://github.com/reserveword/IMBlocker/issues/131 ) )
13+ ## 杂项
14+ - Windows 平台的游戏内输入法将** 始终保留为可选项** (需要通过 Cloth Config 打开)
315
416[ 历史更新日志] ( https://github.com/reserveword/IMBlocker/blob/26.1%2B/Changelog_History.md )
Original file line number Diff line number Diff line change 1+ # v7.2.0
2+ 此版本兼容 26.x 正式版以及最新快照版本
3+ ## 新功能
4+ - 适配 BlazeSDL 模组以及原版最新快照的 SDL 后端([ #154 ] ( https://github.com/reserveword/IMBlocker/issues/154 ) )
5+ - 原生兼容 [ LDLib2] ( https://github.com/Low-Drag-MC/LDLib2 ) 模组
6+ - 增加 SuperMartijn642's Core Lib 的兼容层
7+ - 增加 Linux 英文状态命令配置,若正确设置可将 ` CONVERSION_STATUS ` 作为英文状态实现方式(参见 [ #150 ] ( https://github.com/reserveword/IMBlocker/issues/150 ) )
8+ - 增加命令前缀正则表达式配置,可以加入“/”以外的命令前缀
9+ ## 修复与改进
10+ - 额外缩放配置项现在开放给所有平台的 GLFW 后端
11+ - 兼容新版本的 Reese's Sodium Options 模组并** 不再兼容旧版本**
12+ - 增加按键翻译补丁解决非 Windows 平台在 ` DISABLE_IM ` 英文状态实现方式下由于 ` SDL_StopTextInput ` 无法输入字符的问题([ #154 ] ( https://github.com/reserveword/IMBlocker/issues/154 ) ,[ #131 ] ( https://github.com/reserveword/IMBlocker/issues/131 ) )
13+ ## 杂项
14+ - Windows 平台的游戏内输入法将** 始终保留为可选项** (需要通过 Cloth Config 打开)
15+
16+ <br >
17+
118# 7.1.7
219 - 增加 REI 的兼容层
320 - 修复 26.2 相关的微小兼容问题
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ public boolean isScreenRecoveringEnabled() {
7373 }
7474
7575 public EnglishStateImpl getEnglishStateImpl () {
76- return false ? EnglishStateImpl .CONVERSION_STATUS : EnglishStateImpl .DISABLE_IM ; //FIXME 26.3 testing.
76+ return Platform . isWindows () ? EnglishStateImpl .CONVERSION_STATUS : EnglishStateImpl .DISABLE_IM ;
7777 }
7878
7979 public EnglishState getPrimaryEnglishState () {
Original file line number Diff line number Diff line change @@ -36,13 +36,16 @@ public class IMBlockerMixinPlugin implements IMixinConfigPlugin {
3636
3737 if (Platform .isWindows ()) {
3838 validMixins .add ("WindowsIngameIMEInitializer" );
39- }else if (MinecraftClientUtil .isGameVersionReached (777 /*26.3*/ )) {
40- validMixins .add ("SDLKey2CharPatch" );
4139 }
4240
43- if (IMBlockerCore . IS_SDL_PRESENT ) {
41+ if (MinecraftClientUtil . isGameVersionReached ( 777 /*26.3*/ ) ) {
4442 validMixins .add ("SDLIMEHintTweaker" );
45- }else if (Platform .isLinux ()) {
43+ if (!Platform .isWindows ()) {
44+ validMixins .add ("SDLKey2CharPatch" );
45+ }
46+ }
47+
48+ if (!IMBlockerCore .IS_SDL_PRESENT && Platform .isLinux ()) {
4649 validMixins .add ("LinuxKeyboardPatch" );
4750 }
4851
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ neo_version=26.1.2.66-beta
1515# Mod
1616mod_id =imblocker
1717mod_name =IMBlocker
18- mod_version =7.2.0-dev
18+ mod_version =7.2.0
1919mod_logo =imblocker.png
2020mod_description =Blocks Input Methods when you're not using it.\\ n\u5728\u4F60\u4E0D\u6253\u5B57\u7684\u65F6\u5019\u81EA\u52A8\u5173\u95ED\u8F93\u5165\u6CD5
2121mod_url =https://github.com/reserveword/IMBlocker
You can’t perform that action at this time.
0 commit comments