▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
🔥Тренд дняCaramel Chat⚡Сейчас качаютCaramel Chat🚪Сюда заходят чаще всегоCaramel Chat🚀Взрывает трендыPvp Haimiya Anime Pack🆕Новый хитTheastralpvp📉Люди сбегают отсюдаCaramel Chat🎮Сервер набирает популярностьHypixel🔻Теряет популярностьBlack Pvp Pack🧲Самый липкий ресурсSky V1🔥Тренд дняCaramel Chat⚡Сейчас качаютCaramel Chat🚪Сюда заходят чаще всегоCaramel Chat🚀Взрывает трендыPvp Haimiya Anime Pack🆕Новый хитTheastralpvp📉Люди сбегают отсюдаCaramel Chat🎮Сервер набирает популярностьHypixel🔻Теряет популярностьBlack Pvp Pack🧲Самый липкий ресурсSky V1🔥Тренд дняCaramel Chat⚡Сейчас качаютCaramel Chat🚪Сюда заходят чаще всегоCaramel Chat🚀Взрывает трендыPvp Haimiya Anime Pack🆕Новый хитTheastralpvp📉Люди сбегают отсюдаCaramel Chat🎮Сервер набирает популярностьHypixel🔻Теряет популярностьBlack Pvp Pack🧲Самый липкий ресурсSky V1🔥Тренд дняCaramel Chat⚡Сейчас качаютCaramel Chat🚪Сюда заходят чаще всегоCaramel Chat🚀Взрывает трендыPvp Haimiya Anime Pack🆕Новый хитTheastralpvp📉Люди сбегают отсюдаCaramel Chat🎮Сервер набирает популярностьHypixel🔻Теряет популярностьBlack Pvp Pack🧲Самый липкий ресурсSky V1🔥Тренд дняCaramel Chat⚡Сейчас качаютCaramel Chat🚪Сюда заходят чаще всегоCaramel Chat🚀Взрывает трендыPvp Haimiya Anime Pack🆕Новый хитTheastralpvp📉Люди сбегают отсюдаCaramel Chat🎮Сервер набирает популярностьHypixel🔻Теряет популярностьBlack Pvp Pack🧲Самый липкий ресурсSky V1🔥Тренд дняCaramel Chat⚡Сейчас качаютCaramel Chat🚪Сюда заходят чаще всегоCaramel Chat🚀Взрывает трендыPvp Haimiya Anime Pack🆕Новый хитTheastralpvp📉Люди сбегают отсюдаCaramel Chat🎮Сервер набирает популярностьHypixel🔻Теряет популярностьBlack Pvp Pack🧲Самый липкий ресурсSky V1
Моды/Sparkle's Morpher
Sparkle's Morpher

Sparkle's Morpher

A universal Minecraft custom model platform with custom models, animations, sounds, and a new cloud-based multiplayer architecture.

Оцените первым
12.9K
25
Все версии→Sparkle Morpher 2.4.0 - Fabric 26.1.2

Sparkle Morpher 2.4.0 - Fabric 26.1.2

Beta29.11.2026

Список изменений

Sparkle Morpher 2.4.0 (Beta)

Release date: 2026-11-29

This is a beta release. It replaces the inherited OpenYSM animation core with the independent spm-core 1.3.1 engine — a pure-Java scene runtime plus Rust SIMD kernels — rebuilds the external-mod compatibility layer on that engine, and adds static Cloud card thumbnails and a content-addressed Cloud disk cache. The unreleased 2.3.3 work (Cloud CDN routing and cross-instance cold-start recovery) is folded in; 2.3.3 was never published separately.

Animation core replaced by spm-core 1.3.1 (all builds): the inherited GeckoLib3 runtime and Molang package — com.micaftic.morpher.geckolib3.* (204 files), com.micaftic.morpher.molang.* (39 files), the bindings ArgsVariable / CtrlBinding / FnBinding / TLMBinding / YSMBinding and the functions/{ctrl,ysm} packages — are deleted, not bypassed. All four repositories compile against sixteen immutable dev.spm.core:*:1.3.1 modules pinned by SHA-256 in gradle/spm-core-artifacts.json and re-verified by verifySpmCoreArtifacts on every build; ArchitectureBoundaryTest.legacyOpenYsmPackagesAreCompletelyRemoved() asserts the absence at bytecode level, and common/src/main/resources/native-manifest.json records ABI 1, kernel 1.3.1 and source commit 977623dc. Only the third-party extension event class OpenYsmMaidScreenEvent keeps the old name.

Compatibility layer rebuilt on host bindings (all builds): HostMolangBindings and HostMolangSink now carry query.*, ysm.*, ctrl.* and tlm.*; HostControllerSlot, HostActionEvent, ModelScenePose and ModelBoneView form the new controller and sampling contract, with SpmEntityRenderer, SpmLayerRenderer, SpmReplacedEntityRenderer and SpmRenderMath on the render side. CoreCompatibilityProviders.registerAll() installs a provider for all twelve external integrations — Touhou Little Maid, TaCZ, Better Combat, Carry On, Parcool, Create, Curios, Immersive Melodies, Iron's Spellbooks, SlashBlade, SWEM and Sophisticated Storage — and equipment sampling goes through MinecraftHostSnapshotSampler. Mod detection moved to PlatformAPI so the shared layer no longer references Architectury Platform, while the 1.21.1-only APIs (bamboo chest boats, parrot shoulder NBT, elytraRotX/Y/Z, xCloak, the enchantment registry) are preserved.

Asset formats widened (all builds): .ysm V1/V2/V3 plus historical payloads are parsed by format-ysm; .figura / figura_assets_v1 bundles are accepted end to end through ImportSource, LocalShareSourceResolver and YSMFolderDeserializer, with avatars driven by a bounded pure-Java Lua 5.3 runtime (FiguraAvatarRuntime). glTF 2.0 import no longer rejects CUBICSPLINE interpolation or morph targets, GltfModel gains attachCoreBridge/closeCoreBridge, and ModelAssembly.unloadRuntime() releases the bridge with the assembly; bbmodel, Bedrock and V3D stay on the same ModelDocument path.

Legacy animation scripting is tolerated instead of collapsing (all builds): timeline fold markers and in-quote comments, HTML entities (<, >, &), {dataN} keyframe placeholders, bare NaN, unbalanced parentheses and controllers referencing a missing or implicit "empty" clip are recovered at compile time, and timeline instructions are always emitted as strings. A clip that still cannot be recovered degrades on its own instead of falling the whole library back to emptyModelDocument — the path that previously made builtin/default and several third-party models lose their main action and stop culling hidden outfits. Script-only parallel* entries carrying timeline events but no keyframes now register a slot, and "ysm-builtin" is recognised alongside null and the "builtin*" prefix.

Bone evaluation and GPU skinning (all builds): SpmCoreBoneMatrixWriter.evaluateInPlace writes bones into a ThreadLocal scratch struct with zero per-draw allocation and builds the 3×3 normal matrix only when needed; the previous toBonePose + BoneEvaluator.extract pair allocated five arrays per bone — about 2,530 allocations per draw on a 500-bone model — and computed a normal inverse-transpose even on the CPU fallback. Equivalence with dev.spm.core.render.cpu.BoneEvaluator is asserted to 1e-5f per bone by inPlaceEvaluatorMatchesSpmCoreBoneEvaluatorReference, and BuiltModel.ComputeCache caches evaluation order, parents and pivots. The OpenGL SSBO path (GpuRenderPath) and the Blaze3D/Vulkan bone-storage path (Blaze3DBoneMatrices, unchanged 144-byte layout) consume that single writer output.

Animation semantics unified (spm-core 1.3.1): coded slots and JSON state machines run in one CodedAnimationCollection sharing a single MolangState and MolangPhysics, instead of each JSON controller holding a private out-of-order context. CodedControllerDefinition.hostDriven(name, ticks, additive, jsonController) and the new LayeredPoseExecution keep the driven-channel mask exact, so channels that legitimately evaluate to [1,1,1] or [0,0,0] are no longer discarded as "equal to bind pose". JSON layers now compose by hierarchy — a bottom group (pre_parallel_*, pre_main, post_main, pre_hold) that fills bones only where the coded layer leaves them at bind pose, and a top group (post_hold, post_swing, post_use, parallel_*, armor_*) that overwrites as a full three-axis group — removing both the layer inversion and the per-axis Euler tearing behind Furina's broken player.pre_parallel_4. Additive layers add rotation only and overwrite position and scale, fixing the 0.0 * 1.0 = 0.0 scale lock on wings and clothing. Sampling is sparse, zero-step frames reuse the previous immutable pose without re-emitting effects, clips shorter than one 60 Hz step fire once per step, second_order state is scoped per bone, first_order clamps its step, randomInteger is closed-interval and Bedrock's this evaluates to 0.

Item use, spears and swings (all builds): continuous use now plays in LOOP unless the author declared hold_on_last_frame, so use_mainhand / use_offhand no longer twitch once and stop. The 26.x spear interception (WeaponKind.SPEAR without a custom lance_* clip returning STOP) is gone, *:spear is accepted wherever *:lance was, and off-hand use_offhand:lance / use_offhand:spear are valid candidates. LanceAnimationTiming regains closed-loop speed control in [0.05, 6.0], mapping the vanilla KineticWeapon delay, dismount, knockback, damage and +10 tick exhaustion points onto the authored 0.3333 / 4.0 / 8.0 / 12.0 / 13.0 s stages, which restores the 12–13 s full-exhaustion phase for every spear material instead of a hardcoded 1.0x. No predicate passes a tick count to setAnimationTickOverride any more — that API sets playback speed, not the animation clock. Above 60 Hz, HostControllerSlot.acknowledgeCommandDelivery() latches pendingReset/pendingReload until a fixed step consumes them, so swings no longer drop to idle; hold predicates pause only while vanilla is still swinging, during the first two pulse ticks, or while player.swing plays, and mining restarts (which vanilla re-triggers every 4–5 ticks) are detected by consumeVanillaSwingRestart.

Model fidelity fixes (all builds): GeometryBaker.buildMesh now backfills parentIdx, parentName and the propagated partMask onto ModelBone as well as BakedBone. Every ModelBone.parentIdx used to stay -1, silently breaking skeleton construction, detectsFallFlyingRootRotation (elytra pitch was always read as fall-flying), particle locators, sword replacement and scene pose. Together with the additive-layer fix, Furina's wings now unfold in creative and elytra flight. On 26.x NeoForge, CosmeticArmorHelper.getElytraItem also checks DataComponents.GLIDER, matching Fabric, so modded gliders satisfy ysm.has_elytra. A 0.05 guard in HostEntityFrameState stops a single sub-tick displacement frame from flickering ctrl.walk to ctrl.idle, and sub-millimetre jitter can no longer flip the sign of ysm.input_vertical.

Third-person performance and native kernels (all builds): SpmEntity.processAnimationImpl no longer submits to YSMThreadPool and immediately blocks on Future.get(); it runs on the render thread unless a same-frame update was genuinely pre-submitted, removing two OS context switches and the pool lock from every third-person frame. At 120 Hz third person, 240-frame averages: builtin/default (681 bones, 27,757 quads, 17 coded slots) goes 0.771 → 0.251 ms/frame (3.07x); Furina (577 bones, 32,902 quads, 9 coded slots + 11 JSON state machines) goes 1.090 → 0.438 ms/frame for coded+JSON (2.49x), the JSON half alone 0.533 → 0.118 (4.52x). Engine-side, pulse stops recom✨g 25 relative anchors per step, ScriptBudget charges per step instead of per bone, and MolangContext stops rebuilding and lowercasing its query map per step. The Rust packed-bone kernel measures 75.18 → 57.40 µs full-motion and 10.10 → 5.74 µs static for 773 bones on a Ryzen 5 5600 (3.15x and 31.5x against the Java writer), and the new aarch64 NEON kernels cut that full-motion case from 59.85 to 36.47 µs on a Snapdragon 8+ Gen 1 phone (1.64x, 4.96x against Java). NativeSimdPolicy now defaults to OFF and honours the configured value instead of hardcoding AGGRESSIVE.

Eleven native targets in one JAR set (all builds): windows-x64, windows-x86, windows-arm64, linux-x64, linux-arm64, linux-riscv64, linux-loongarch64, macos-x64, macos-arm64, android-arm64 and android-arm32 are bundled and audited for container class and machine type (EM_RISCV 243, EM_LOONGARCH 258, ELF32/EM_ARM for arm32), with the JNI ABI markers Java_dev_spm_core_nativejni_NativeTransforms_* and spm_transform_positions_v1 verified at build time and the retired com/elfmcys/yesstevemodel symbols rejected. Windows on ARM is no longer misdetected as a 32-bit x86 host.

Cloud card thumbnails and disk cache (all builds): the model list renders server-generated static card thumbnails instead of building a live preview per entry. CloudThumbnailPolicy validates PNG magic and IHDR dimensions (≤1024 px, 512 KB cap), keeps at most 64 textures in an access-order LRU, limits itself to 4 concurrent fetches with 30 s failure backoff, and requests thumbnails without an Authorization header; any miss, 404, non-PNG or oversized response silently degrades to the existing placeholder. Display payloads are then cached on disk: CloudDiskCache stores model bytes and thumbnails as SHA-256-addressed blobs under config/sparkle-morpher/cloud-cache (objects/ and thumbs/ sharing one budget), 512 MB by default with a 64–8192 MB setting and its own toggle, evicted by mtime-LRU across both namespaces, written through a temp file and ATOMIC_MOVE, re-hashed on every read, and revalidated once per ref per client lifecycle with If-None-Match — a refused revalidation deletes the blob. Re-opening a cached model performs no model-byte request at all. The "Cloud display never writes to disk" audit gate was narrowed, not dropped: it now asserts that nothing outside cloud-cache is created, modified or deleted.

Cloud routing and cold-start recovery (client 2.4.0 protocol): PUBLIC assets download from /v1/public/assets/{id}/revisions/{rev}/… when the CDN switch (CloudCdnCache, default on) is enabled, while PRIVATE, missing or unrecognised visibility keeps the authenticated path, and a public 404 neither falls back to it nor triggers a login loop. Asset ids containing /, spaces, +, % or CJK characters are encoded into a single path segment, with the 128-byte and control-character checks kept. At startup the client resolves which configured instance the persisted selection came from and selects it before auto-login, so a model chosen on a second instance survives a restart. The client advertises X-SPM-Client-Version: 2.4.0 and moves .figura / figura_assets_v1 bundles through both Cloud and the peer channel.

HUD and preview corrections (1.21.1 and 26.x): on 1.21.1 the Classic HUD editor no longer shifts the character when model bounds differ from the nominal viewport — the new shared HudOverlayCrop.compositeOrigin subtracts the difference between crop origin and the one-by-two logical viewport origin, preserving the invariant that crop origin plus FBO model origin equals (x + scale/2, y + 2*scale); selection bounds, saved coordinates, drag, scale and FBO allocation are untouched. The 1.21.1 preview path caches bounds through BuiltModel.getOrComputeRenderBounds() instead of rescanning every vertex per frame, reuses persistent EXTRA_PLAYER_FBO_TYPE_BUFFERS / extraPlayerFboSharedBuffer instead of allocating a ByteBufferBuilder and a LinkedHashMap per HUD redraw without closing them, caps HUD resampling at CLASSIC_HUD_ANIMATION_SAMPLE_FPS, and only issues the second guiGraphics.flush() when isolated accelerated rendering is active. On 26.x, CardPreviewRefreshBudget counts the real off-screen PIP cost, and the detail preview queues the model's authored preview_animation, falling back to idle.

Localization, licensing and attribution: the eleven catalogs missing the two gui.sparkle_morpher.acceleration.auto strings — es_es, fr_fr, id_id, ja_jp, ko_kr, lzh, pt_br, ru_ru, tr_tr, uk_ua, vi_vn — are complete, fifteen catalogs gained the two cloud_disk_cache keys, and 1.21.1's duplicated vi_vn.json was consolidated into common. LICENSE and the mod metadata now state that 2.4.0 and later are built on the independent spm-core and that only 2.3.2 and earlier derive from OpenYSM/YSMParser, and the project moved to an All Rights Reserved + MIT hybrid: SPM original code and brand assets stay ARR, spm-core and the pre-2.4.0 OpenYSM-derived portions are MIT.

Supported builds

Fabric and NeoForge are provided for Minecraft 1.21.1, 26.1.2, 26.2 and 26.3 — eight loader/version variants, each shipped in a native variant (with the spm-core native libraries bundled) and a CurseForge variant, 16 JARs in total.

Notes

  • This is a beta. The engine swap touches every animation, model-loading and rendering path, so 2.4.0 is the first public build of the new core and should be treated as such.
  • No final in-game smoke test was performed for this build. The only runtime evidence is a client launch during the 2026-11-19 animation-regression work, which confirmed that the bundled spm_core_native.dll loads and the default model reaches the render queue; the release JARs themselves were not started in a game.
  • The Vulkan bone-storage path applies to the 26.2 and 26.3 builds only; 1.21.1 and 26.1.2 keep OpenGL. Its mechanism is unchanged from 2.3.2 and it was not re-validated on new hardware, so 2.3.2's single AMD Radeon RX 5700 / Windows result remains the only hardware evidence.
  • The Rust SIMD path is not wired into GPU buffers directly: Blaze3DRenderPath still hardcodes nativeComputed = false, so the OpenGL SSBO and Blaze3D/Vulkan paths consume the optimised Java writer output rather than a zero-copy native fill. NativeSimdPolicy also defaults to OFF, so the native path is opt-in and only pays off on larger batches.
  • Runtime evidence on real hardware exists only for x86-64 and Android arm64. linux-riscv64, linux-loongarch64 and android-arm32 are recorded as CROSS_COMPILED_NOT_EXECUTED — containers and machine types are checked, but nothing executed them; windows-arm64 ships as a cross-compiled binary; the aarch64 kernel was compiler-checked for macOS but never run on Apple hardware.
  • Thumbnail generation is server-side and outside this repository. While a server does not publish thumbnail / thumbnail_status, the client gets no thumbnail and silently keeps the previous live-preview path, so nothing breaks but nothing improves either. The disk cache is not per-account: identical public bytes are shared, and a blob is deleted when its revalidation is refused. Disabling the cache returns the client to memory-only behaviour.

Verification

All four remote branches passed GitHub Actions on ubuntu-24.04 — two loader jobs per branch (fabric, neoforge), each building the native and CurseForge variants, running the unit-test suites, the javac warning-fingerprint gate, the artifact content audit and the Modrinth alias check: main (26.2) at 4ad090c2, 26.3 at 3eb3ee78, 26.1.2 at 94235b41, 1.21.1 at f3460ef2, all success. Locally, all 16 release JARs passed a clean build and distribution audit under clean build --no-daemon --no-build-cache --rerun-tasks --offline, with the full SHA-256 manifest in docs/2026-11-27/release_artifacts.json. Every native build ran the complete test suite — more than 1,200 tests per loader/version combination, 0 failures, 0 errors, plus the pre-existing environment-gated skips (5 per 26.x run, 5–6 on 1.21.1) — and the new regression suites cover the additive-layer and bind-equal contract, the in-place bone evaluator, swing and spear staging, item-use looping and the SIMD/HUD hot paths. The translation audit is clean: 60 catalogs and 1,365 required keys, every English source key present, no invalid values and no placeholder mismatches. As stated in the notes, no final in-game smoke test was performed for these JARs.

简体中文

发布日期:2026-11-29

这是一个 beta(预发布) 版本。本次把继承自 OpenYSM 的动画核心整体换成独立引擎 spm-core 1.3.1(纯 Java 场景运行时 + Rust SIMD 内核),并在这套引擎上重建了外部模组兼容层,另外加入 Cloud 卡片静态缩略图与内容寻址的 Cloud 磁盘缓存。未发布的 2.3.3 改动(Cloud CDN 路由与跨实例冷启动恢复)已并入本版,2.3.3 本身从未单独发布。

动画核心换成 spm-core 1.3.1(全部构建): 继承来的 GeckoLib3 运行时与 Molang 包已整体删除,而不是被绕过:com.micaftic.morpher.geckolib3.*(204 个文件)、com.micaftic.morpher.molang.*(39 个文件)、ArgsVariable / CtrlBinding / FnBinding / TLMBinding / YSMBinding 五个绑定类,以及 functions/{ctrl,ysm} 包。四个版本仓现在全部编译于 16 个不可变的 dev.spm.core:*:1.3.1 模块,它们在 gradle/spm-core-artifacts.json 里按 SHA-256 钉死,每次构建由 verifySpmCoreArtifacts 重新校验;ArchitectureBoundaryTest.legacyOpenYsmPackagesAreCompletelyRemoved() 在字节码层面断言旧包不可能残留,common/src/main/resources/native-manifest.json 记录 ABI 1、内核 1.3.1 与源码提交 977623dc。只有第三方扩展事件类 OpenYsmMaidScreenEvent 沿用旧名。

兼容层在宿主绑定上重建(全部构建): HostMolangBindings 与 HostMolangSink 统一承载 query.*、ysm.*、ctrl.*、tlm.*;HostControllerSlot、HostActionEvent、ModelScenePose、ModelBoneView 构成新的控制器与采样契约,渲染侧对应 SpmEntityRenderer、SpmLayerRenderer、SpmReplacedEntityRenderer 与 SpmRenderMath。CoreCompatibilityProviders.registerAll() 为全部十二项外部兼容注册提供者——车万女仆、TaCZ、Better Combat、Carry On、Parcool、Create、Curios、Immersive Melodies、Iron's Spellbooks、SlashBlade、SWEM 与 Sophisticated Storage,装备采样统一走 MinecraftHostSnapshotSampler。模组探测改用 PlatformAPI,共享层不再直接引用 Architectury 的 Platform;1.21.1 独有的 API(竹制带箱船、鹦鹉肩部 NBT、elytraRotX/Y/Z、xCloak、附魔注册表)全部保留。

资源格式支持面扩大(全部构建): .ysm 的 V1/V2/V3 与历史 payload 由 format-ysm 解析;.figura / figura_assets_v1 包可从头到尾导入,链路经过 ImportSource、LocalShareSourceResolver 与 YSMFolderDeserializer,头像由一套有界的纯 Java Lua 5.3 运行时(FiguraAvatarRuntime)驱动。glTF 2.0 导入不再拒绝 CUBICSPLINE 插值与 morph target,GltfModel 增加 attachCoreBridge / closeCoreBridge,ModelAssembly.unloadRuntime() 随装配释放桥接;bbmodel、Bedrock 与 V3D 继续走同一条 ModelDocument 路径。

旧版动画脚本改为容错而不是整库崩塌(全部构建): 时间轴折叠标记与引号内注释、HTML 实体(<、>、&)、关键帧 {dataN} 占位符、裸 NaN、不配对括号、以及引用了缺失或隐式 "empty" 剪辑的控制器,都会在编译期被恢复,时间轴指令始终输出为字符串。仍然救不回来的剪辑只在自己身上降级,不会再把整个库回退成 emptyModelDocument——此前正是这条路径让 builtin/default 和若干第三方模型丢掉主动作、并且不再剔除默认的多余服装。只含时间轴事件、没有关键帧的 parallel* 现在也会注册槽位,"ysm-builtin" 与 null、"builtin*" 前缀一并识别。

骨骼求值与 GPU 蒙皮(全部构建): SpmCoreBoneMatrixWriter.evaluateInPlace 把骨骼求值写入 ThreadLocal 暂存结构,每次绘制零堆分配,法线矩阵按需计算;此前的 toBonePose + BoneEvaluator.extract 为每根骨骼分配五个数组——500 骨模型单次绘制约 2,530 次分配——而且在 CPU 回退路径上也照样算 3×3 法线逆转置。与 dev.spm.core.render.cpu.BoneEvaluator 的等价性由 inPlaceEvaluatorMatchesSpmCoreBoneEvaluatorReference 按骨骼断言到 1e-5f,BuiltModel.ComputeCache 把求值顺序、父级链与支点缓存一次。OpenGL SSBO 路径(GpuRenderPath)与 Blaze3D/Vulkan 骨骼存储路径(Blaze3DBoneMatrices,每骨 144 字节布局不变)消费同一份写入结果。

动画语义统一(spm-core 1.3.1): 编码槽位与 JSON 状态机跑在同一个 CodedAnimationCollection 里,共享同一个 MolangState 与 MolangPhysics,不再是每个 JSON 控制器各自持有私有上下文、而且乱序执行。CodedControllerDefinition.hostDriven(name, ticks, additive, jsonController) 与新增的 LayeredPoseExecution 精确保留被驱动通道掩码,所以正常求值就等于 [1,1,1] 或 [0,0,0] 的通道不会再被当成「等于 bind pose」丢弃。JSON 层改为按层级合成——底层(pre_parallel_*、pre_main、post_main、pre_hold)只在编码层把骨骼留在 bind pose 时填充,顶层(post_hold、post_swing、post_use、parallel_*、armor_*)按完整三轴矢量组覆盖——同时消除层级倒置与逐轴欧拉角撕裂,后者正是芙宁娜 player.pre_parallel_4 错乱的根因。叠加层只叠加旋转、覆写位移与缩放,修掉翅膀与衣物骨骼上 0.0 * 1.0 = 0.0 的缩放锁死。采样改为稀疏,零步进帧复用上一帧的不可变姿态且不重复发射特效,短于一个 60 Hz 步长的剪辑每步只触发一次,second_order 状态按骨骼隔离,first_order 对步长做钳制,randomInteger 改为闭区间,Bedrock 的 this 求值为 0。

物品使用、矛与挥动(全部构建): 持续使用物品现在以 LOOP 播放,除非作者显式声明 hold_on_last_frame,use_mainhand / use_offhand 不会再抽搐一下就停。26.x 里对矛的拦截(WeaponKind.SPEAR 且没有自定义 lance_* 剪辑时返回 STOP)已移除,原先只认 *:lance 的地方都接受 *:spear,副手的 use_offhand:lance / use_offhand:spear 也成为合法候选。LanceAnimationTiming 恢复闭环倍速控制(区间 [0.05, 6.0]),把原版 KineticWeapon 的蓄力、下马、击退、伤害与 +10 tick 疲惫节点对齐到动作资产编排的 0.3333 / 4.0 / 8.0 / 12.0 / 13.0 s 五个阶段,各种材质的长矛因此重新拥有 12–13 s 的完全疲惫段,而不是被硬编码成 1.0 倍速。任何谓词都不再向 setAnimationTickOverride 传 tick 数——那个 API 改的是播放倍速,不是动画时钟。帧率高于 60 Hz 时,HostControllerSlot.acknowledgeCommandDelivery() 把 pendingReset / pendingReload 锁存到固定步真正消费为止,挥剑不再回落到 idle;持物谓词只在原版仍在挥动、本地脉冲前两 tick、或 player.swing 仍在播放时让位;原版每 4–5 tick 重新触发的挖掘重启由 consumeVanillaSwingRestart 识别。

模型还原度修复(全部构建): GeometryBaker.buildMesh 现在把 parentIdx、parentName 与传播后的 partMask 同时回填到 ModelBone,不只是 BakedBone。此前每个 ModelBone.parentIdx 恒为 -1,导致骨架构建、detectsFallFlyingRootRotation(鞘翅俯仰角永远被当成滑翔)、粒子定位、拔刀替换与场景姿态全部悄悄失效。配合叠加层语义的修复,芙宁娜的翅膀在创造模式飞行与鞘翅飞行中正常展开。26.x NeoForge 的 CosmeticArmorHelper.getElytraItem 补上 DataComponents.GLIDER 判定,与 Fabric 一致,带滑翔组件的模组装备因此满足 ysm.has_elytra。HostEntityFrameState 增加 0.05 的走路速度保护,单个不足一 tick 的位移帧不再把 ctrl.walk 瞬闪成 ctrl.idle;亚毫米级插值抖动也不再能翻转 ysm.input_vertical 的符号。

第三人称性能与原生内核(全部构建): SpmEntity.processAnimationImpl 不再"提交到 YSMThreadPool 后立刻阻塞 Future.get()"——除非同帧确实有预提交的更新,否则直接在渲染线程执行,每个第三人称帧省掉两次 OS 上下文切换与线程池锁争用。120 Hz 第三人称稳态、240 帧平均实测:builtin/default(681 骨、27,757 quads、17 个 coded 槽)从 0.771 降到 0.251 ms/帧(3.07 倍);芙宁娜(577 骨、32,902 quads、9 个 coded 槽 + 11 个 JSON 状态机)的 coded+JSON 合计从 1.090 降到 0.438 ms/帧(2.49 倍),JSON 部分单独从 0.533 降到 0.118(4.52 倍)。引擎侧,pulse 不再每步重算 25 次相对锚点,ScriptBudget 改为按步而非按骨骼扣减,MolangContext 不再每步重建或小写化查询表。Rust 打包骨骼内核在 Ryzen 5 5600 上,773 骨全动 75.18 → 57.40 µs、静止 10.10 → 5.74 µs(相对 Java 写入器 3.15 倍与 31.5 倍);新增的 aarch64 NEON 内核在骁龙 8+ Gen 1 手机上把同一全动档位从 59.85 压到 36.47 µs(1.64 倍,相对 Java 4.96 倍)。NativeSimdPolicy 默认改为 OFF,并真实读取配置值,不再硬编码 AGGRESSIVE。

一套 JAR 带十一个原生目标(全部构建): windows-x64、windows-x86、windows-arm64、linux-x64、linux-arm64、linux-riscv64、linux-loongarch64、macos-x64、macos-arm64、android-arm64、android-arm32 全部随包分发,并逐项审计容器类别与机器码(EM_RISCV 243、EM_LOONGARCH 258、arm32 为 ELF32/EM_ARM);构建期校验 JNI ABI 标记 Java_dev_spm_core_nativejni_NativeTransforms_* 与 spm_transform_positions_v1,已退役的 com/elfmcys/yesstevemodel 符号一律拒绝。Windows on ARM 也不再被误判成 32 位 x86 宿主。

Cloud 卡片缩略图与磁盘缓存(全部构建): 模型列表改为渲染服务端生成的静态卡片缩略图,不再给每个条目都建实时预览。CloudThumbnailPolicy 校验 PNG magic 与 IHDR 尺寸(≤1024 px,512 KB 上限),以访问序 LRU 最多保留 64 张纹理,并发抓取限 4 路,失败退避 30 s,且请求缩略图时不带 Authorization 头;任何未命中、404、非 PNG 或超尺寸响应都静默降级到既有占位图标。在此基础上,展示负载开始落盘:CloudDiskCache 把模型字节与缩略图以 SHA-256 内容寻址的形式存在 config/sparkle-morpher/cloud-cache 下(objects/ 与 thumbs/ 共用一个容量预算),默认 512 MB、可配 64–8192 MB 并带独立开关,跨两个命名空间按 mtime 做 LRU 淘汰,写入走临时文件加 ATOMIC_MOVE,每次读取都重算摘要,每个 ref 在客户端生命周期内做一次 If-None-Match 复验——复验被拒即删除该 blob。重新打开已缓存过的模型不再产生任何模型字节的网络请求。「Cloud 展示路径零磁盘写入」的审计门禁是收窄而不是取消:现在断言 cloud-cache 之外没有任何创建、修改或删除。

Cloud 路由与冷启动恢复(客户端 2.4.0 协议): CDN 开关(CloudCdnCache,默认开启)打开时,PUBLIC 资产改从 /v1/public/assets/{id}/revisions/{rev}/… 下载;PRIVATE、缺失或无法识别的 visibility 继续走鉴权路径,公开路径 404 既不会回退鉴权路径、也不会触发登录循环。含 /、空格、+、% 或中文的资产 id 被完整编码成单个路径段,128 字节与控制字符的校验保留。启动时客户端会反查持久化选择来自哪个已配置的 Cloud 实例,并在自动登录前切到该实例,因此在另一个实例上选的模型能跨重启恢复。客户端上报 X-SPM-Client-Version: 2.4.0,并可经 Cloud 与联机通道传输 .figura / figura_assets_v1 资源包。

HUD 与预览修正(1.21.1 与 26.x): 1.21.1 的经典 HUD 编辑器在模型包围盒与标称视口不一致时不再让角色位移——新增的共享 HudOverlayCrop.compositeOrigin 减去裁剪原点与 1:2 逻辑视口原点之间的差值,保持「裁剪原点 + FBO 模型原点恒等于 (x + scale/2, y + 2*scale)」这一不变式;选择框、已保存坐标、拖拽、缩放与 FBO 分配都未改动。1.21.1 的预览路径改为通过 BuiltModel.getOrComputeRenderBounds() 缓存包围盒,不再每帧扫描全模型顶点;改为复用持久化的 EXTRA_PLAYER_FBO_TYPE_BUFFERS / extraPlayerFboSharedBuffer,而不是每次 HUD 重绘新建 ByteBufferBuilder 与 LinkedHashMap 又不关闭;HUD 重新采样上限改为 CLASSIC_HUD_ANIMATION_SAMPLE_FPS;第二次 guiGraphics.flush() 只在开启隔离加速渲染时执行。26.x 上,CardPreviewRefreshBudget 开始计入真实的离屏 PIP 准备耗时,详情预览按模型自带的 preview_animation 排队,缺失时回退 idle。

本地化、许可与来源声明: 缺少 gui.sparkle_morpher.acceleration.auto 两条文案的十一个语言目录(es_es、fr_fr、id_id、ja_jp、ko_kr、lzh、pt_br、ru_ru、tr_tr、uk_ua、vi_vn)已补齐,十五个语言目录补上 cloud_disk_cache 的两条键,1.21.1 里重复放置的 vi_vn.json 收口到 common。LICENSE 与模组元数据现在明确:2.4.0 及以后基于独立核心 spm-core,只有 2.3.2 及更早版本源自 OpenYSM/YSMParser;整仓许可证切换为「保留所有权利(ARR)+ MIT」混合模式——SPM 原创代码与品牌资源保留 ARR,spm-core 与 2.4.0 之前的 OpenYSM 衍生部分适用 MIT。

支持的构建

为 Minecraft 1.21.1、26.1.2、26.2 与 26.3 分别提供 Fabric 与 NeoForge 构建,共八种加载器/游戏版本组合;每种组合各有 native 变体(随包携带 spm-core 原生库)与 CurseForge 变体,合计 16 个 JAR。

说明

  • 这是 beta 版本。核心换代触及每一条动画、模型加载与渲染路径,2.4.0 是新核心的第一个公开构建,请按此对待。
  • 本次发布未做最终游戏内实机烟测。唯一的运行时证据是 2026-11-19 处理动画回归时的一次客户端启动,确认随包的 spm_core_native.dll 能加载、默认模型能进渲染队列;发行 JAR 本身没有进游戏跑过。
  • Vulkan 骨骼存储路径仅适用于 26.2 与 26.3 构建,1.21.1 与 26.1.2 仍走 OpenGL。其机制自 2.3.2 起未变,本次也未在新硬件上重新验证,因此 2.3.2 那份「单台 AMD Radeon RX 5700 / Windows」的结果仍是唯一硬件证据。
  • Rust SIMD 尚未与 GPU 缓冲区直连:Blaze3DRenderPath 仍硬编码 nativeComputed = false,所以 OpenGL SSBO 与 Blaze3D/Vulkan 两条路径消费的仍是优化后的 Java 写入结果,而不是原生零拷贝填充映射缓冲。NativeSimdPolicy 默认也是 OFF,原生路径属于按需开启,只有批量足够大时才划算。
  • 真机运行证据只存在于 x86-64 与 Android arm64。linux-riscv64、linux-loongarch64 与 android-arm32 记录为 CROSS_COMPILED_NOT_EXECUTED——容器与机器码校验通过,但没有任何设备执行过;windows-arm64 同样是交叉编译产物;aarch64 内核在 macOS 上只做过编译器验证,未在 Apple 硬件上运行。
  • 缩略图生成本身属服务端职责,不在本仓库范围。服务端未下发 thumbnail / thumbnail_status 期间,客户端取不到缩略图,会静默沿用旧的实时预览路径,功能不受影响但也没有收益。磁盘缓存不区分账号:相同的公开字节跨账号共享,复验被拒时删除该 blob。关闭磁盘缓存即回到纯内存行为。

验证

四条远端分支在 ubuntu-24.04 上通过 GitHub Actions:每分支两个 loader 任务(fabric、neoforge),各自构建 native 与 CurseForge 两种变体,执行单元测试、javac 告警指纹门禁、产物内容审计与 Modrinth 别名检查——main(26.2)4ad090c2、26.3 3eb3ee78、26.1.2 94235b41、1.21.1 f3460ef2,全部 success。本地 16 个发行 JAR 在 clean build --no-daemon --no-build-cache --rerun-tasks --offline 下全部通过干净构建与发行审计,完整 SHA-256 清单记录在 docs/2026-11-27/release_artifacts.json。每个 native 构建都执行了完整测试套件——每种加载器/版本组合均超过 1,200 项测试,0 失败、0 错误,另有各仓既有的环境性跳过(26.x 每次 5 项,1.21.1 为 5–6 项);新增回归测试覆盖叠加层与 bind-equal 通道契约、原地骨骼求值器、挥动与长矛阶段、物品使用循环以及 SIMD/HUD 热路径。翻译审计干净:60 个语言目录、1,365 个必需键,英文源键全部存在,无非法值、无占位符错配。如说明所述,这批 JAR 未做最终游戏内实机烟测。

Файлы

sparkle-morpher-2.4.0-fa26.1.x.jar(11.55 MiB)
Основной
Скачать

Метаданные

Канал релиза

Beta

Номер версии

2.4.0

Загрузчики

Fabric

Версии игры

26.1.2

Загрузок

6

Дата публикации

29.11.2026

Загрузил

ID версии

Главная