Player Doll
一款功能丰富的玩家人偶模组,支持创建和放置自定义玩家人偶实体。该模组提供默认的 Steve 和 Alex 人偶,并支持从游戏目录中动态加载自定义皮肤纹理的人偶。此外,模组具备强大的姿势和动作系统,允许你为人偶设置各种静态姿势和动态动画。
✨ 特性
核心特性
- 默认人偶:提供宽臂(Steve)和细臂(Alex)的默认人偶
- 动态加载:自动扫描并注册来自游戏目录的自定义皮肤纹理人偶
- 右键放置:使用人偶物品右键点击方块,在其旁边放置对应的人偶实体
- 姿势系统:支持自定义静态姿势配置(站立、坐着、躺卧等)
- 动作系统:支持创建动态动画序列(挥手、跳舞等),具有循环播放和关键帧插值功能
- 模型类型:支持宽臂(Steve)和细臂(Alex)两种模型类型
? 要求
- Minecraft 版本:1.21.1
- NeoForge 版本:21.1.217 或更高
- Java 版本:21 或更高
安装步骤
- 确保已安装 NeoForge 21.1.217 或更高版本
- 将模组文件(
.jar)放入 mods 文件夹
- 启动游戏,模组将自动创建必要的配置目录
? 玩家指南
基本用法
- 进入创造模式并打开物品栏
- 在 "Player Doll" 标签页中找到人偶物品
- 手持人偶物品,右键点击方块以在其旁边放置对应的人偶实体
添加自定义皮肤人偶
模组支持从游戏目录自动加载自定义皮肤纹理,无需修改代码即可添加新的人偶。
? 目录位置
自定义皮肤文件应放置在以下目录中:
Game Root Directory/
└── player_doll/
└── png/ # 自定义皮肤纹理目录(首次启动时自动创建)
├── SMy_Character.png
└── A123_ABC__qwe.png
? 文件命名规则
- 文件名必须以
S 或 A 开头,表示模型类型:
S = 宽臂模型(Steve 模型)
A = 细臂模型(Alex 模型)
- 第一个字符之后的部分将用作人偶的显示名称
- 名称处理规则:
- 单个下划线
_ 将被替换为空格
- 双下划线
__ 将被替换为单个下划线 _
? 命名示例
| 文件名 |
模型类型 |
显示名称 |
备注 |
SMy_Character.png |
宽臂 |
My Character |
单个下划线变为空格 |
A123_ABC__qwe.png |
细臂 |
123 ABC_qwe |
单个下划线变为空格,双下划线变为单下划线 |
SHero_Doll.png |
宽臂 |
Hero Doll |
单个下划线变为空格 |
AVillager_Guard.png |
细臂 |
Villager Guard |
单个下划线变为空格 |
? 使用流程
- 将皮肤纹理 PNG 文件放入
player_doll/png/ 目录
- 启动游戏或按
F3+T 重新加载资源包
- 模组将自动扫描目录并注册所有符合规则的 PNG 文件
- 在创造模式物品栏的 "Player Doll" 标签页中找到新注册的人偶物品
- 使用人偶物品放置对应的人偶实体
⚠️ 重要提示
- 文件名的第一个字符必须是
S 或 A,否则文件将被忽略
- 文件名长度至少为 2 个字符(第一个字符 + 至少 1 个字符)
- 仅支持 PNG 格式的图像文件
- 皮肤纹理文件应符合 Minecraft 标准皮肤格式(64x64 或 64x32 像素)
- 不符合规则的文件将被跳过,并在日志中记录警告
- 目录会在模组启动时自动扫描
配置人偶姿势和动作
模组支持通过 JSON 配置文件自定义人偶的姿势和动作。配置文件位于 player_doll/ 目录中。
? 配置文件目录结构
Game Root Directory/
└── player_doll/
├── png/ # 自定义皮肤纹理目录
├── poses/ # 姿势配置文件目录
│ ├── standing.json
│ ├── sitting.json
│ └── ...
├── actions/ # 动作配置文件目录
│ ├── wave.json
│ ├── dance.json
│ └── ...
└── README.md # 详细配置文档
有关详细的配置说明,请参阅 player_doll/README.md 文件,其中包括:
- 姿势文件格式及字段描述
- 动作文件格式及关键帧配置
- 角度参考值和常见姿势示例
- 完整的使用教程和示例
? 重新加载配置
修改配置文件后,按 F3+T 重新加载资源包即可应用更改,无需重启游戏。
配置选项
模组配置文件位于 config/player_doll_addon-common.toml:
- testMode(测试模式):
- 类型:布尔值
- 默认值:
true
- 描述:启用时,输出详细的调试日志,以帮助分析皮肤加载和模型识别问题
? 常见问题
Q: 自定义皮肤未显示?
A: 请检查:
- 文件名是否以
S 或 A 开头
- 文件是否为有效的 PNG 格式
- 文件是否放置在
player_doll/png/ 目录中
- 是否按
F3+T 重新加载了资源包
- 查看日志文件中的错误信息
Q: 如何修改人偶姿势?
A: 编辑 player_doll/poses/ 目录中的 JSON 文件,或创建新的姿势文件。详细说明请参考 player_doll/README.md。
Q: 如何创建自定义动作?
A: 在 player_doll/actions/ 目录中创建 JSON 文件并定义关键帧序列。详细说明请参考 player_doll/README.md。
Q: 如果模组崩溃了该怎么办?
A:
- 检查 Minecraft、NeoForge 和 Java 版本是否匹配
- 检查
logs/ 目录中的错误日志
- 启用测试模式(
testMode = true)以查看详细日志
- 检查配置文件格式是否正确
? 许可证
本项目采用 MIT License 开源许可证。
MIT License 是一种宽松的开源许可证,允许:
唯一的要求是保留版权声明和许可证文本。
如需查看完整的许可证文本,请参阅 LICENSE 文件。
? 作者
作者: 蓝也(lan_ye)
?? 中文说明
简介
Player Doll 是一个功能丰富的玩家玩偶模组,支持创建和放置自定义玩家玩偶实体。模组提供了 Steve 和 Alex 的默认玩偶,并支持从游戏目录动态加载自定义皮肤材质玩偶。此外,模组还提供了强大的姿态(Poses)和动作(Actions)系统,让您可以为玩偶设置各种静态姿势和动态动画。
核心功能
- 默认玩偶:提供 Steve(粗手臂)和 Alex(细手臂)的默认玩偶
- 动态加载:从游戏目录自动扫描并注册自定义皮肤材质玩偶
- 右键放置:使用玩偶物品右键方块可以在指定位置放置玩偶实体
- 姿态系统:支持自定义静态姿势配置(如站立、坐下、趴下等)
- 动作系统:支持创建动态动画序列(如挥手、跳舞等),支持循环播放和关键帧插值
- 模型类型:支持粗手臂(Steve)和细手臂(Alex)两种模型类型
快速使用
- 安装要求:Minecraft 1.21.1,NeoForge 21.1.217+,Java 21+
- 基础使用:创造模式 → 物品栏"玩家玩偶"标签 → 右键方块放置
- 自定义皮肤:将 PNG 文件放入
player_doll/png/ 目录,文件名以 S(粗手臂)或 A(细手臂)开头,按 F3+T 重载
- 配置姿态和动作:在
player_doll/poses/ 和 player_doll/actions/ 目录下创建 JSON 配置文件,详细说明请查看 player_doll/README.md
常见问题
- 皮肤不显示:检查文件名是否以 S/A 开头、格式是否正确、是否重载资源包
- 修改姿势:编辑
player_doll/poses/ 目录下的 JSON 文件
- 创建动作:在
player_doll/actions/ 目录下创建 JSON 文件定义关键帧
- 模组崩溃:检查版本匹配、查看错误日志、启用测试模式
许可证
本项目采用 MIT License 开源许可证,允许商业使用、修改、分发和私人使用。
最后更新:2025-01-XX
Player Doll
A feature-rich player doll mod that supports creating and placing custom player doll entities. The mod provides default Steve and Alex dolls, and supports dynamically loading custom skin texture dolls from the game directory. Additionally, the mod features a powerful pose and action system, allowing you to set various static poses and dynamic animations for your dolls.
✨ Features
Core Features
- Default Dolls: Provides Steve (wide arms) and Alex (slim arms) default dolls
- Dynamic Loading: Automatically scans and registers custom skin texture dolls from the game directory
- Right-click Placement: Use doll items to right-click blocks and place corresponding doll entities
- Pose System: Supports custom static pose configurations (standing, sitting, lying, etc.)
- Action System: Supports creating dynamic animation sequences (waving, dancing, etc.) with loop playback and keyframe interpolation
- Model Types: Supports both wide-armed (Steve) and slim-armed (Alex) model types
? Requirements
- Minecraft Version: 1.21.1
- NeoForge Version: 21.1.217 or higher
- Java Version: 21 or higher
Installation Steps
- Ensure NeoForge 21.1.217 or higher is installed
- Place the mod file (
.jar) into the mods folder
- Launch the game, the mod will automatically create necessary configuration directories
? Player Guide
Basic Usage
- Enter creative mode and open the inventory
- Find doll items in the "Player Doll" tab
- Hold a doll item and right-click a block to place the corresponding doll entity next to it
Adding Custom Skin Dolls
The mod supports automatically loading custom skin textures from the game directory, allowing you to add new dolls without modifying code.
? Directory Location
Custom skin files should be placed in the following directory:
Game Root Directory/
└── player_doll/
└── png/ # Custom skin texture directory (auto-created on first launch)
├── SMy_Character.png
└── A123_ABC__qwe.png
? File Naming Rules
- File names must start with
S or A, indicating the model type:
S = Wide-armed model (Steve model)
A = Slim-armed model (Alex model)
- The part after the first character will be used as the doll's display name
- Name processing rules:
- Single underscore
_ will be replaced with a space
- Double underscore
__ will be replaced with a single underscore _
? Naming Examples
| File Name |
Model Type |
Display Name |
Notes |
SMy_Character.png |
Wide-armed |
My Character |
Single underscore becomes space |
A123_ABC__qwe.png |
Slim-armed |
123 ABC_qwe |
Single underscore becomes space, double underscore becomes single |
SHero_Doll.png |
Wide-armed |
Hero Doll |
Single underscore becomes space |
AVillager_Guard.png |
Slim-armed |
Villager Guard |
Single underscore becomes space |
? Usage Workflow
- Place skin texture PNG files into the
player_doll/png/ directory
- Launch the game or press
F3+T to reload resource packs
- The mod will automatically scan the directory and register all PNG files that match the rules
- Find newly registered doll items in the "Player Doll" tab in creative mode inventory
- Use doll items to place corresponding doll entities
⚠️ Important Notes
- The first character of the file name must be
S or A, otherwise the file will be ignored
- File name must be at least 2 characters long (first character + at least 1 character)
- Only PNG format image files are supported
- Skin texture files should follow Minecraft standard skin format (64x64 or 64x32 pixels)
- Files that don't match the rules will be skipped and a warning will be logged
- The directory is automatically scanned when the mod starts
Configuring Doll Poses and Actions
The mod supports customizing doll poses and actions through JSON configuration files. Configuration files are located in the player_doll/ directory.
? Configuration File Directory Structure
Game Root Directory/
└── player_doll/
├── png/ # Custom skin texture directory
├── poses/ # Pose configuration file directory
│ ├── standing.json
│ ├── sitting.json
│ └── ...
├── actions/ # Action configuration file directory
│ ├── wave.json
│ ├── dance.json
│ └── ...
└── README.md # Detailed configuration documentation
For detailed configuration instructions, please refer to the player_doll/README.md file, which includes:
- Pose file format and field descriptions
- Action file format and keyframe configuration
- Angle reference values and common pose examples
- Complete usage tutorials and examples
? Reloading Configuration
After modifying configuration files, press F3+T to reload resource packs to apply changes without restarting the game.
Configuration Options
Mod configuration file is located at config/player_doll_addon-common.toml:
- testMode (Test Mode):
- Type: Boolean
- Default:
true
- Description: When enabled, outputs detailed debug logs to help analyze skin loading and model recognition issues
? FAQ
Q: Custom skin not displaying?
A: Please check:
- Whether the file name starts with
S or A
- Whether the file is a valid PNG format
- Whether the file is placed in the
player_doll/png/ directory
- Whether you pressed
F3+T to reload resource packs
- Check log files for error messages
Q: How to modify doll poses?
A: Edit JSON files in the player_doll/poses/ directory, or create new pose files. For detailed instructions, please refer to player_doll/README.md.
Q: How to create custom actions?
A: Create JSON files in the player_doll/actions/ directory and define keyframe sequences. For detailed instructions, please refer to player_doll/README.md.
Q: What to do if the mod crashes?
A:
- Check if Minecraft, NeoForge, and Java versions match
- Check error logs in the
logs/ directory
- Enable test mode (
testMode = true) to view detailed logs
- Check if configuration file formats are correct
? License
This project is licensed under the MIT License.
The MIT License is a permissive open-source license that allows:
- ✅ Commercial use
- ✅ Modification
- ✅ Distribution
- ✅ Private use
The only requirement is to retain the copyright notice and license text.
For the complete license text, please see the LICENSE file.
? Author
Author: 蓝也(lan_ye)
?? 中文说明
简介
Player Doll 是一个功能丰富的玩家玩偶模组,支持创建和放置自定义玩家玩偶实体。模组提供了 Steve 和 Alex 的默认玩偶,并支持从游戏目录动态加载自定义皮肤材质玩偶。此外,模组还提供了强大的姿态(Poses)和动作(Actions)系统,让您可以为玩偶设置各种静态姿势和动态动画。
核心功能
- 默认玩偶:提供 Steve(粗手臂)和 Alex(细手臂)的默认玩偶
- 动态加载:从游戏目录自动扫描并注册自定义皮肤材质玩偶
- 右键放置:使用玩偶物品右键方块可以在指定位置放置玩偶实体
- 姿态系统:支持自定义静态姿势配置(如站立、坐下、趴下等)
- 动作系统:支持创建动态动画序列(如挥手、跳舞等),支持循环播放和关键帧插值
- 模型类型:支持粗手臂(Steve)和细手臂(Alex)两种模型类型
快速使用
- 安装要求:Minecraft 1.21.1,NeoForge 21.1.217+,Java 21+
- 基础使用:创造模式 → 物品栏"玩家玩偶"标签 → 右键方块放置
- 自定义皮肤:将 PNG 文件放入
player_doll/png/ 目录,文件名以 S(粗手臂)或 A(细手臂)开头,按 F3+T 重载
- 配置姿态和动作:在
player_doll/poses/ 和 player_doll/actions/ 目录下创建 JSON 配置文件,详细说明请查看 player_doll/README.md
常见问题
- 皮肤不显示:检查文件名是否以 S/A 开头、格式是否正确、是否重载资源包
- 修改姿势:编辑
player_doll/poses/ 目录下的 JSON 文件
- 创建动作:在
player_doll/actions/ 目录下创建 JSON 文件定义关键帧
- 模组崩溃:检查版本匹配、查看错误日志、启用测试模式
许可证
本项目采用 MIT License 开源许可证,允许商业使用、修改、分发和私人使用。
Last updated: 2025-01-XX
评论 0
登录后参与评分
还没有评论,来抢沙发吧