?♂️ 离线皮肤
? 使用自定义皮肤——即使没有网络!
Offline Skins 是一个轻量级的 Fabric 模组,允许你将本地 PNG 皮肤文件用作玩家皮肤——完全离线。
无需 Mojang API,无需身份验证——直接从游戏目录加载你自己的皮肤。
? 功能
✅ 离线支持:在没有互联网连接的情况下应用自定义皮肤。
?️ 本地皮肤文件夹:将 PNG 文件放入
.minecraft/config/offlineskins/
(与你的 mods 文件夹相同的目录)。
每个文件应以你的用户名或你通过命令选择的任何名称命名。
? 命令控制:
/offlineskins list — 显示所有可用的皮肤文件。
/offlineskins change <skin_name> — 立即切换到选定的皮肤。
/offlineskins default <alex|steve> — 重置为默认模型。
⚙️ 自动加载:在游戏启动或加入世界时自动加载你选择的皮肤。
? 持久设置:在简单的 config.json 中记住你选择的皮肤和模型。
? 工作原理
该模组替换了本地玩家的纹理源,从你的 config/offlineskins/ 文件夹加载皮肤。
OfflineSkinsClient
初始化模组,确保皮肤文件夹和配置存在,并注册命令。
OfflineSkinsCommands
提供用于管理离线皮肤的简单命令。
SkinStorage
加载并缓存 PNG 皮肤,将其注册为纹理,如果没有设置则默认为 Steve/Alex。
ConfigManager
将 selectedSkinName 和 defaultModel 偏好保存到 config.json。
AbstractClientPlayerEntitySkinMixin
覆盖本地玩家的纹理查找,以安全地使用离线皮肤。
? 文件夹布局
.minecraft/
├── mods/
├── config/
│ └── offlineskins/
│ ├── steve.png
│ ├── alex.png
│ ├── yourname.png
│ └── config.json
? 技术细节
仅客户端的 Fabric 模组
入口点在 fabric.mod.json 中定义
使用 Fabric Client Command API v2
Mixin 配置:mixins.offline_skins.json
无依赖项——简单的即插即用功能
? 示例
希望离线使用自定义皮肤?
将 your_skin_name.png 放入 config/offlineskins/ 并运行:
/offlineskins change your_skin_name
你的离线皮肤将立即在游戏中出现——无需互联网! ?
?♂️ Offline Skins
? Use Custom Skins — Even Without Internet!
Offline Skins is a lightweight Fabric mod that lets you use local PNG skin files as your player skin — completely offline.
No Mojang API, no authentication — just your own skins loaded straight from your game directory.
? Features
✅ Offline Support: Apply custom skins without an internet connection.
?️ Local Skin Folder: Place PNG files inside
.minecraft/config/offlineskins/
(the same directory where your mods folder is).
Each file should be named after your username or any name you select with a command.
? Command Controls:
/offlineskins list — Shows all available skin files.
/offlineskins change <skin_name> — Instantly switch to a chosen skin.
/offlineskins default <alex|steve> — Reset to the default model.
⚙️ Auto Loading: Automatically loads your selected skin when you start the game or join a world.
? Persistent Settings: Remembers your chosen skin and model in a simple config.json.
? How It Works
The mod replaces the local player’s texture source to load skins from your config/offlineskins/ folder.
OfflineSkinsClient
Initializes the mod, ensures the skin folder and config exist, and registers commands.
OfflineSkinsCommands
Provides simple commands for managing your offline skins.
SkinStorage
Loads and caches PNG skins, registers them as textures, and defaults to Steve/Alex if none are set.
ConfigManager
Saves selectedSkinName and defaultModel preferences to config.json.
AbstractClientPlayerEntitySkinMixin
Overrides the local player’s texture lookup to use offline skins safely.
? Folder Layout
.minecraft/
├── mods/
├── config/
│ └── offlineskins/
│ ├── steve.png
│ ├── alex.png
│ ├── yourname.png
│ └── config.json
? Technical Details
Client-only Fabric mod
Entry point defined in fabric.mod.json
Uses Fabric Client Command API v2
Mixin config: mixins.offline_skins.json
No dependencies — simple drop-in functionality
? Example
Want your custom skin offline?
Drop your_skin_name.png into config/offlineskins/ and run:
/offlineskins change your_skin_name
Your offline skin will instantly appear in-game — no internet required! ?
评论 0
登录后参与评分
还没有评论,来抢沙发吧