配置说明
LyPet 的全局配置在 config.yml,宠物配置放在 pet/ 目录。
配置文件
| 文件 / 目录 | 用途 |
|---|---|
config.yml | 宠物槽位、按键和移动刷新 |
pet/*.yml | 宠物配置 |
宠物槽位
yaml
plugin-slot: "Minecraft#8"| 格式 | 说明 |
|---|---|
DragonCore#槽位名 | 读取龙核槽位 |
GermPlugin#槽位名 | 读取萌芽槽位 |
Minecraft#槽位id | 读取原版背包槽位 |
LyInventoryReload#背包#类型 | 读取背包重置版槽位 |
MXSAttributeInventory#背包#格子id | 读取 MXS 背包槽位 |
PXRPG#类型#背包ID#槽位 | 读取 PXRPG 槽位 |
APInventory#分页id#槽位id | 读取梦星桐背包槽位 |
YeeJewelry#背包ID#槽位 | 读取清守饰品背包槽位 |
召唤按键
yaml
show-and-hide-key: "V"
register-keys:
- "Z"show-and-hide-key 是召唤或隐藏宠物的按键。register-keys 是可以在宠物技能中使用的按键列表。
龙核一般直接写键盘字符,例如 Z;萌芽一般写 KEY_Z。
移动刷新
yaml
move-update-tick: 5控制宠物移动刷新间隔,单位 tick。数值越小,跟随响应越快;数值越大,压力越低。