LocalCape
LocalCape 是一个轻量级的仅客户端 Fabric 模组,适用于 Minecraft 26.2。它会从当前 Minecraft 实例中加载 PNG 披风文件,并允许你在游戏内选择一款。披风仅在单人游戏中本地应用;其他玩家无法看到它。
功能特性
- 自动发现
capes 目录中的 PNG 文件。
- 在 选项 > 皮肤自定义 中添加 Local Cape 选择器。
- 在不同启动之间记住所选的文件名。
- 仅在单人游戏中为本地玩家应用披风。
- 当文件缺失或无效时,回退使用原版披风。
- 支持通过 Minecraft 的
F3+T 资源重载来重新加载披风。
- 仅需 Fabric Loader;不需要 Fabric API。
要求
- Minecraft 26.2
- Fabric Loader 0.19.3 或更高版本
- Java 25
安装与使用
- 为 Minecraft 26.2 安装 Fabric Loader。
- 将 LocalCape JAR 文件放入实例的
mods 目录中。
- 在 Minecraft 实例目录内创建一个
capes 目录。
- 向该目录中添加一个或多个 PNG 披风文件。
- 打开 选项 > 皮肤自定义,并使用 Local Cape 选择文件。
对于 Prism Launcher,披风路径通常为:
<Prism instance>/.minecraft/capes/
选择器会在每次打开“皮肤自定义”界面时扫描该目录。添加或删除文件后,请重新打开该屏幕。如果在游戏运行时替换了所选的 PNG 文件,请按 F3+T 进行重载。
所选文件名存储在 config/localcape.txt 中。如果尚未保存任何选择,LocalCape 默认使用 cape.png。
当前限制
- 目前仅支持 PNG 图像格式;不支持 WebP,且 JPEG 缺乏披风透明度。
- 选择器显示文件名但无预览图。
- 菜单中没有禁用本地披风的选项。
- 披风绝不会分发给其他玩家或由其他玩家显示。
致谢
LocalCape 是对 FabricTailor(由 samo_lego 及其贡献者开发)进行了大量精简后的分支项目。原始项目提供了基础,本地独占披风实现即由此衍生而来。
许可证
本软件依据 GNU Lesser General Public License v3.0 授权。详见
LICENSE。
LocalCape
LocalCape is a minimal, client-only Fabric mod for Minecraft 26.2. It loads PNG
capes from the current Minecraft instance and lets you select one in-game. The
cape is applied locally in single-player; other players cannot see it.
Features
- Discovers PNG files in the
capes directory.
- Adds a Local Cape selector to Options > Skin Customization.
- Remembers the selected filename between launches.
- Applies the cape only to the local player in single-player.
- Falls back to the vanilla cape when the file is missing or invalid.
- Reloads the cape with Minecraft's
F3+T resource reload.
- Requires Fabric Loader only; Fabric API is not required.
Requirements
- Minecraft 26.2
- Fabric Loader 0.19.3 or newer
- Java 25
Installation and usage
- Install Fabric Loader for Minecraft 26.2.
- Put the LocalCape JAR in the instance's
mods directory.
- Create a
capes directory inside the Minecraft instance directory.
- Add one or more PNG capes to that directory.
- Open Options > Skin Customization and use Local Cape to choose a file.
For Prism Launcher, the cape path is normally:
<Prism instance>/.minecraft/capes/
The selector scans the directory whenever Skin Customization opens. Reopen that
screen after adding or removing files. If you replace the selected PNG while the
game is running, press F3+T to reload it.
The selected filename is stored in config/localcape.txt. If no selection has
been saved, LocalCape defaults to cape.png.
Current limitations
- PNG is the only listed image format; WebP is unsupported and JPEG lacks cape
transparency.
- The selector displays filenames without previews.
- There is no in-menu option to disable the local cape.
- Capes are never distributed to or displayed by other players.
Credits
LocalCape is a heavily stripped fork of
FabricTailor by samo_lego and its
contributors. The original project provided the foundation from which the
local-only cape implementation was derived.
License
Licensed under the GNU Lesser General Public License v3.0. See
LICENSE.
评论 0
登录后参与评分
还没有评论,来抢沙发吧