NeoCocoa
在跨平台(macOS、Windows、Wayland、X11)的 Minecraft 中支持 IME - 输入法编辑器(中文、日文、韩文等)。
这是 的一个硬分叉,而 又是该项目的上游分叉。
注意:X11 支持存在缺陷、部分损坏且已被弃用。请使用 Wayland 以获得更好的体验。
编译
NeoCocoa 的 Gradle 构建脚本负责原生库的构建,构建方法与常见模组类似。 然而,还需要一些额外的设置。
Git 仓库使用了 Git 子模块。请使用 --recursive 进行克隆,或者如果你已经克隆了仓库,请运行 git submodule update --init --recursive。
需要 Zig 来进行原生构建。
在非 macOS 类 Unix 平台上需要 OSXCross。
通过 osxcross-conf >> ~/.bashrc 设置 osxcross 环境变量。请使用 osxcross 分支 2.0-llvm-based。
Windows 构建需要 MSVC 或 Mingw。
如果你不想在 Gradle 构建过程中构建原生库,只需设置 SKIP_NATIVE_BUILD 环境变量即可。
编译原生库
NeoCocoa 需要 native-platform 库才能工作。此过程由 Gradle 完成,但如果你想手动编译,这里有一些参考信息。
要编译它们,安装 zig,然后运行:zig build [windows|wayland|x11|darwin] [options]
在使用 osxcross 时,你可能需要 -Dmacos-sdk-path=$OSXCROSS_SDK。
你可以使用 zig build windows -Dwindows-arch=aarch64 [other_options] 来为 Windows On Arm 构建。
安装
NeoCocoa 发布在 Modrinth 上。官方二进制文件包含以下目标平台的原生库:
- Windows x86_64
- GNU/Linux x86_64, glibc
- MacOS 11.0
如果你的操作系统不包含在内,请自行编译,然后将其放入 /path/to/minecraft/mods/../native/,并创建一个名为 <lib name>.keep 的空文件,例如 libwaylandcocoainput.so.keep。
NeoCocoa 需要 NeoForge 或 Fabric。
此模组使用了 Java Native Access (Apache License 2.0)。
许可证
Minecraft Mod Public License
NeoCocoa
Support IME - Input Method Editor (Chinese, Japanese, Korean and more) in Minecraft on Multi-platforms (macOS, Windows, Wayland, X11).
A hard fork of , which is a fork of .
Notice: X11 support is buggy, partially broken and deprecated. Please use Wayland for a better experience.
Compiling
NeoCocoa's Gradle build script handles native library build, the build method is similar to common mods. However, some additional setup is needed.
The Git repo uses Git submodule. Please clone with --recursive, or run git submodule update --init --recursive if you already cloned.
Zig is required for build with native.
OSXCross is needed on non-MacOS Unix like platforms.
Setup osxcross envvars with osxcross-conf >> ~/.bashrc. Please use osxcross branch 2.0-llvm-based.
MSVC or Mingw is needed for Windows build.
If you don't want to build native library in Gradle build process, just set SKIP_NATIVE_BUILD envvar.
Compile native library
NeoCocoa needs native-platform libraries to work. This process is done by Gradle, but here are some references if you want to compile it manually.
To compile them, install zig, then run: zig build [windows|wayland|x11|darwin] [options]
You may want -Dmacos-sdk-path=$OSXCROSS_SDK on osxcross.
You can use zig build windows -Dwindows-arch=aarch64 [other_options] to build for Windows On Arm.
Installing
NeoCocoa is published on Modrinth. The official binaries includes native libs for these targets:
- Windows x86_64
- GNU/Linux x86_64, glibc
- MacOS 11.0
If your OS is not included, please compile it yourself, then put it to /path/to/minecraft/mods/../native/, and create an empty file called <lib name>.keep, for example libwaylandcocoainput.so.keep.
NeoCocoa requires NeoForge or Fabric.
This mod uses Java Native Access (Apache License 2.0).
License
Minecraft Mod Public License
下载 NeoCocoa
下载 NeoCocoa
下载 NeoCocoa
下载 NeoCocoa
下载 NeoCocoa
下载 NeoCocoa
下载 NeoCocoa
下载 NeoCocoa
下载 NeoCocoa
下载 NeoCocoa
未指定更新日志。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
缓冲的原始输入和线程化的事件轮询
评论 0
登录后参与评分
还没有评论,来抢沙发吧