reserveword / IMBlocker

A mod for Minecraft helping control Input Methods
GNU General Public License v3.0
55 stars 12 forks source link

兼容建议 #12

Closed OcrSu closed 2 years ago

OcrSu commented 2 years ago

模拟殖民地的建筑命名不可以切换到中文,望修复

reserveword commented 2 years ago

使用的Minecraft版本、IMBlocker版本、模拟殖民地版本分别是什么?

OcrSu commented 2 years ago

1.16.5 Java11 imblocker-1.16.5-3.0 minecolonies-1.16.5-1.0.709-ALPHA

使用的Minecraft版本、IMBlocker版本、模拟殖民地版本分别是什么?

我在游玩这款整合包的时候发现的https://www.curseforge.com/minecraft/modpacks/lcw/files/3782537 YB 1ANV$}L9I3U6SLF3BZ~6

reserveword commented 2 years ago

你把com.ldtteam.blockout.gui.BlockOutScreenGui这一条加到配置文件的screenWhitelist里试试,预期效果应该是在所有模拟殖民地的gui打开时都打开输入法 先试试看能不能用,我再看看怎么修

reserveword commented 2 years ago

这模组的代码看得我头大,代码里写着引用了blockout的类,到blockout去找发现根本没有对应的文件,一通搜索发现是旧版本blockout的东西,返回去找引用了哪个版本的blockout发现依赖项里根本没有blockout

reserveword commented 2 years ago

你装了blockout这个mod吗?如果装了把完整log发给我看看吧 还有就是建议更新一下mod,现在最新版是3.0.1 https://github.com/reserveword/IMBlocker/releases/tag/mc1.16.5-3.0.1

reserveword commented 2 years ago

用新版本启动之后如果还不能解决,可以

  1. 删掉com.ldtteam.blockout.gui.BlockOutScreenGui
  2. enableScreenRecovering改成true
  3. 重启游戏之后打开重命名的gui
  4. 看看recoveredScreens项目里的名字
  5. 把长得像重命名gui的名字复制到screenWhitelist
OcrSu commented 2 years ago

每次往screenWhitelist加入新的名字,启动后都会被重置。。

OcrSu commented 2 years ago

我觉得是这个名字 structurize:com.ldtteam.blockout.BOScreen

reserveword commented 2 years ago

每次往screenWhitelist加入新的名字,启动后都会被重置。。

不应该啊,你更新到3.0.1版本了吗?代码里没有主动修改screenWhitelist的逻辑啊

OcrSu commented 2 years ago

已经更新到最新了 U`4 ISE)42VL8XN0A32MP3F

OcrSu commented 2 years ago

已经更新到最新了 U`4 ISE)42VL8XN0A32MP3F

启动后就变成这样了 2PH9 `JTT5{M0HC(NOQ8%5E

reserveword commented 2 years ago

有完整log文件吗?最好是debug版本的

OcrSu commented 2 years ago

debug-1.log

OcrSu commented 2 years ago

好困,我睡觉了,早点休息!

reserveword commented 2 years ago

明白了,应该是格式问题,你把structure:删掉只留下com.ldtteam.blockout.BOScreen应该就好了 我后期应该会更新代码兼容不同格式,你这边先这么试试吧

OcrSu commented 2 years ago

FTB任务的窗口也不兼容。 ZV 309UA$B0C_V6$7~QV5ZK

reserveword commented 2 years ago

ftb好像自己实现了一遍输入框,这真的不太容易兼容,建议照样给screen添加白名单 你找到screen名之后告诉我一声,我添加到默认白名单好了

OcrSu commented 2 years ago

ftblibrary:dev.ftb.mods.ftblibrary.ui.ScreenWrapper 确认是这个

OcrSu commented 2 years ago

目前没有别的发现的不兼容的了,辛苦作者了!

reserveword commented 2 years ago

com.ldtteam.blockout.BOScreen已添加到白名单,后续更新会带上 ftblibrary:dev.ftb.mods.ftblibrary.ui.ScreenWrapper这个东西我研究了一下,把ftblib的文本框也考虑进来,不需要额外配置了(也在下次更新里面)

OcrSu commented 2 years ago

确认兼容