Описание
# ContingameIME-Neo (Maintenance Fork)
This mod is a **subsequent maintenance version ** of [XPlus-ContingameIME](https://github.com/Wudji/XPlus-ContingameIME), further developed with reference to [IngameIME](https://github.com/Windmill-City/IngameIME-Minecraft). It enables Input Method usage in full-screen Minecraft, with various fixes and improvements based on the original version.
# Highlights
- Now works on the NeoForge loader (Minecraft 1.21-1.21.3).
- Detects the active IME instead of brute-checking the client locale.
- Candidate list uses a clear selection highlight with customizable highlight color in config.
- Fixed bug where IME candidate window would not display after toggling onscreen and restarting.
- Fixes caret tracking when Caxton or Modern UI is installed.
# Preview
### Window Mode Demo
### Fullscreen Mode Demo
### Input Styles Adaptation
The IME integrates perfectly even in special interfaces.
| | Fullscreen (Fullscreen) | Windowed (Windowed) |
| :---: | :---: | :---: |
| **Sign** |  |  |
| **Book** |  |  |
# Toggle Key
- Single press the hotkey to switch between **Temporary Input State** and **Closed State**.
- Double press the hotkey to switch to **Open Mode**.
- When the mouse moves and an event occurs, **Temporary Input State** switches to **Closed State**.
## Dependencies
- NeoForge
- [Kotlin for NeoForge](https://www.curseforge.com/minecraft/mc-mods/kotlin-for-forge)
- [Cloth Config API (NeoForge)](https://www.curseforge.com/minecraft/mc-mods/cloth-config)
- [Architectury API (NeoForge)](https://www.curseforge.com/minecraft/mc-mods/architectury-api)
- System Runtime
- [Microsoft Visual C++ Redistributable (VCRuntime142+)](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist)
# Tested Environment
This mod has been tested with the following IME:
- Microsoft Pinyin IME
- Japanese IME
Other IME implementations may work but have not been fully tested.
# Code Reference/Usage
- [Windmill-City/IngameIME-Minecraft](https://github.com/Windmill-City/IngameIME-Minecraft) (LGPL-2.1)
- [Windmill-City/IngameIME](https://github.com/Windmill-City/IngameIME) (LGPL-2.1)
- [Wybxc/IngameIME-Minecraft](https://github.com/Wybxc/IngameIME-Minecraft) (LGPL-2.1)