Перейти к содержимому

InlineIME

Draws the text your IME is composing inside the text field itself, instead of the floating box vanilla shows next to it. 擺脫醜醜的聊天欄輸入框

FabricNeoForgeForge
Загрузчики
FabricNeoForgeForge
Скачиваний на Modrinth
66
Подписчиков на Modrinth
0
версия
1
Обновлён
3 сентября 20263 сент.
Опубликован
в 2026
兼容華碩智慧輸入法 · свайп

Коротко о моде

Работает на Fabric, NeoForge и Forge
Для Minecraft 26.2
Ставится только в игру; на сервер ставить не нужно
Последняя версия — 1.0.1+26.2 от 3 сентября 2026
Лицензия MIT — бесплатно
Где нужен
В игреобязателенНа серверене нужен

Ставится только в игру; на сервер ставить не нужно

Версии игры26.2
Перевода пока нет — показываем оригинал на английском

InlineIME

English

Draws the text your IME is composing inside the text field itself, instead of the floating box vanilla shows next to it.

Where you see the text while typing is where it will actually land. Works with any IME — Microsoft Bopomofo, Chewing, Sogou, ASUS Smart Input, Japanese / Korean IMEs, and so on.

What it looks like

Vanilla:                          This mod:
┌────────────────────────┐        ┌────────────────────────┐
│ hello |                │        │ hello ㄋㄧˇㄏㄠˇ|      │
└────────────────────────┘        └────────────────────────┘
        ┌───────────┐                      ‾‾‾‾‾‾‾‾  ← underlined: not committed
        │ ㄋㄧˇㄏㄠˇ │  ← floating box
        └───────────┘
  • Every clause of the composition is underlined, and the one the IME is currently converting gets a thicker line
  • Single line fields also dim the clauses that are not being converted, so the one that is stands out
  • The candidate window follows the composing text instead of sitting in one fixed spot on screen
  • The field reacts while you are still composing: the creative mode search filters, the chat bar's command suggestions keep up

Requirements

Minecraft26.2
LoaderFabric, Forge or NeoForge
Mod MenuOptional; only needed to open the settings screen on Fabric, the mod runs fine without it

This is a client side mod. It does not need to be installed on the server.

Where it works

  • Chat, command blocks, server names, every kind of search box, renaming in an anvil
  • Books, world descriptions and other multi line fields
  • Signs

Settings

LoaderOpening the settings screen
FabricMod Menu's mod list → InlineIME → settings button
ForgeMods list → InlineIME → Config
NeoForgeMods list → InlineIME → Config

Changes made in the settings screen take effect immediately; the file is written when the screen closes.

You can also edit config/inlineime.json directly, in which case you need to restart the game:

FieldDefaultWhat it does
enabledtrueTurn it off to go back to vanilla's floating box entirely
underlinetrueUnderline the composing text
underlineColor"inherit"Underline colour, #RRGGBB or inherit (follows the field's own text colour)
dimUnfocusedClausestrueDim the clauses that are not being converted (single line fields only)
unfocusedClauseColor"#AAAAAA"Colour of those clauses
focusedClauseColor"inherit"Colour of the clause being converted
highlightFocusedClausefalseMark the clause being converted with the selection highlight
reportCaretRectToImetrueLet the candidate window follow the composing text
liveValuetrueMake the field react while you are still composing (search, command suggestions…)
liveValueInAnvilfalseWhether the above also applies to the anvil
suggestWhileComposingtrueOpen the command suggestion list while composing
commitAsciiPreeditOnTabtruePressing Tab while typing letters commits them, so Tab works again (see below)
forceImeInputModefalseOnly needed alongside a mod that takes over IME handling, such as IMBlocker (see below)
debugLogfalseLog every step a composition takes, for working out where a problem is

The colour fields only offer a handful of common colours in the settings screen, but the json accepts any #RRGGBB. A colour that is not in the screen's list is not wiped either — it simply shows up in that option's cycle.

Renaming in an anvil is not live by default, because it would keep sending rename packets to the server while you are still composing. Turn on liveValueInAnvil if you want it anyway.

Command suggestions and Tab

While you are composing, the keyboard belongs to the IME — Tab gets taken for cycling candidates and never reaches the game at all. So:

  • Partway through typing a command, the suggestion list appears on its own; you do not press Tab
  • But you cannot use Tab or the arrow keys to pick an entry from it while composing. Commit the text in the IME first (Enter or space)
  • If your IME has an English mode (ASUS Smart Input, for one), pressing Tab while typing letters commits them straight away, hands the keyboard back to the game, and Tab works normally from then on

That last one currently only tested on Windows.

Turn commitAsciiPreeditOnTab off if you use a Pinyin IME. Pinyin is typed as plain letters, so with this on, pressing Tab midway through a word commits the raw Pinyin.

Using it with IMBlocker

InlineIME is compatible with IMBlocker: turn on forceImeInputMode, off by default and only needed for this case.

IMBlocker takes over the game's IME handling entirely, so without this option compositions never reach the game — there is nothing here to draw. Turning it on reroutes composition back to the text field, and IMBlocker's own pre-edit overlay steps aside so nothing is drawn twice. The one trade-off: IMBlocker's "Enable Ingame IME" (drawing candidates itself under exclusive fullscreen) no longer applies while composing.

把輸入法的組字文字直接畫在輸入框裡,而不是像原版那樣顯示在旁邊的浮動小框。

打字時看到的位置,就是字最後會落下的位置。任何輸入法都適用 —— 微軟注音、新酷音、搜狗、華碩智慧輸入法、 日文 / 韓文輸入法…

效果

原版:                            這個 mod:
┌────────────────────────┐        ┌────────────────────────┐
│ hello |                │        │ hello ㄋㄧˇㄏㄠˇ|      │
└────────────────────────┘        └────────────────────────┘
        ┌───────────┐                      ‾‾‾‾‾‾‾‾  ← 底線標示尚未送出
        │ ㄋㄧˇㄏㄠˇ │  ← 浮動小框
        └───────────┘
  • 組字中的每個文節都會加上底線,輸入法正在轉換的那一節底線加粗
  • 單行輸入框還會把非焦點的文節調暗,讓正在轉換的那一節更明顯
  • 候選字視窗會跟著組字文字走,不會再固定開在畫面上某個位置
  • 組字期間輸入框就會即時反應:創造模式的搜尋框開始篩選、聊天欄的指令建議跟著跳

需求

Minecraft26.2
載入器Fabric、Forge 或 NeoForge
Mod Menu選用;Fabric 上要開設定畫面才需要,沒裝一樣能玩

這是客戶端 mod,伺服器不用裝。

支援的畫面

  • 聊天欄、命令方塊、伺服器名稱、各種搜尋框、鐵砧改名
  • 書本、世界描述等多行輸入
  • 告示牌

設定

載入器開啟設定畫面
FabricMod Menu 的 mod 清單 → InlineIME → 設定按鈕
ForgeMods 清單 → InlineIME → Config
NeoForgeMods 清單 → InlineIME → Config

設定畫面裡改的值會立刻生效,關掉畫面時才寫回檔案。

也可以直接編輯 config/inlineime.json,改完要重開遊戲:

欄位預設說明
enabledtrue關掉就完全回到原版的浮動小框
underlinetrue在組字文字下方畫底線
underlineColor"inherit"底線顏色,#RRGGBB 或 inherit(跟著輸入框文字顏色)
dimUnfocusedClausestrue把非焦點文節調暗(僅單行輸入框)
unfocusedClauseColor"#AAAAAA"非焦點文節的顏色
focusedClauseColor"inherit"焦點文節的顏色
highlightFocusedClausefalse用反白(選取色)標示焦點文節
reportCaretRectToImetrue讓候選字視窗跟著組字文字走
liveValuetrue組字期間輸入框就即時反應(搜尋、指令建議…)
liveValueInAnvilfalse上面那項是否也套用到鐵砧
suggestWhileComposingtrue組字期間自動顯示指令建議清單
commitAsciiPreeditOnTabtrue打英文時按 Tab 直接送出,讓 Tab 恢復作用(見下)
forceImeInputModefalse只有在裝了 IMBlocker 這類接管輸入法的 mod 時才需要打開(見下)
debugLogfalse把組字經過的每一段寫進 log,用來查問題出在哪

顏色欄位在設定畫面裡只提供常用的幾個顏色,但 json 可以填任意 #RRGGBB;填了畫面上沒有的顏色也不會被洗掉, 會直接出現在該選項的循環清單裡。

鐵砧改名預設不即時套用,因為那會在你還在組字的時候就不停對伺服器送出改名封包。想要的話把 liveValueInAnvil 打開。

指令建議與 Tab

組字的時候鍵盤是歸輸入法管的 —— Tab 會被拿去切候選字,遊戲根本收不到。所以:

  • 打指令打到一半,建議清單會自己出現,不用按 Tab
  • 但組字期間沒辦法用 Tab 或方向鍵去選清單裡的項目,要先用輸入法把字送出(Enter 或空白)
  • 如果你的輸入法有英文模式(例如華碩智慧輸入法),打英文的時候按 Tab 會直接把字送出,鍵盤就交還給遊戲, Tab 從此正常運作

最後這項目前只在 Windows 測試過。

拼音類輸入法請把 commitAsciiPreeditOnTab 關掉。 拼音打的本來就是英文字母,開著的話打到一半按 Tab 會直接送出原始拼音。

和 IMBlocker 一起用

InlineIME 和 IMBlocker 相容:打開 forceImeInputMode 就好,這個選項預設關閉,只有在這種情況下才需要用到。

IMBlocker 會把遊戲的輸入法處理整個接管過去,沒開這個選項的話組字內容根本進不了遊戲,這裡自然沒東西可畫。 打開後組字會改回交給輸入框處理,IMBlocker 自己那層組字浮層也會讓開,不會出現畫兩份的情況。唯一的代價是 IMBlocker 的「啟用遊戲內輸入法」(獨佔全螢幕時自己算繪候選字)在組字時不會再作用。

Частые вопросы

Как установить InlineIME?

Установите Fabric под свою версию Minecraft, скачайте InlineIME под ту же версию и загрузчик, положите файл в папку mods и запустите игру с профилем загрузчика.

Для каких версий Minecraft есть InlineIME?

У InlineIME есть сборки для Minecraft 26.2.

Нужен ли InlineIME на сервере?

Ставится только в игру; на сервер ставить не нужно

Лицензия и источник
MIT Licenseможно свободно использовать и распространять с указанием автора
Оригинал — Modrinth↗Файлы — без изменений, проверены по SHA-512Это ваш мод? Правообладателям

Сайт использует cookie: необходимые — для входа и темы, а также счётчики посещений Яндекс Метрика и LiveInternet — по ним мы видим, как пользуются сайтом. Рекламных cookie у нас нет. Подробнее