跳到正文

sable-x-cpm

作者:Earu

Compatibility between sable physics engine ragdolls and cpm (Customizable Player Models)

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

sable-x-cpm

Renders Customizable Player Models outfits on Sable player ragdolls and corpses.

Without this, ragdolls show the vanilla skin: each ragdoll piece is drawn with a standalone PlayerModel that CPM never hooks. This mod binds the dead player’s CPM model to that PlayerModel through CPM’s plugin api right before each piece renders, so the ragdoll wears the outfit.

Requirements

  • NeoForge 1.21.1
  • Kotlin for Forge 5+
  • Customizable Player Models 0.6.20+
  • Sable: Player Ragdoll 0.7+

Client side only. Also covers Sable: Ragdoll Corpse, which reuses the same renderer.

Sources are Kotlin except the two mixin classes, which stay Java: the mixin processor merges class bytecode into the target and Kotlin metadata is not safe there.

Known limits

  • Capes and elytra on ragdolls stay vanilla (the ragdoll renders them outside the player model).
  • CPM parts far offset from their parent bone can look detached at piece seams, since each piece simulates separately.

常见问题

sable-x-cpm 支持哪些 Minecraft 版本?

sable-x-cpm 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

sable-x-cpm 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Earu 的其他作品

查看全部 →