截图
介绍
Overview
VMD Animation Cache eliminates redundant MMD motion computation in SlashBlade Resharped, giving you ~3.8x FPS improvement (50 → 190 FPS) when SlashBlade entities are on screen.
When SlashBlade renders MMD-based blade animations, VmdAnimation.setupAnim() is called 60–120 times per entity per frame — once for every bone, every time a transform is queried. But the tick and partialTick don’t change within a frame. All 120 calls produce identical results, wasting ~20% of the render thread.
This mod adds a tiny per-frame cache: if setupAnim is called again with the same tick and partialTick, the entire MMD pipeline is skipped. 120 calls → 1 call per entity per frame.
Performance
| Scenario | Before | After |
|---|---|---|
| Third-person FPS (SlashBlade visible) | ~50 | ~190 |
Tested on Minecraft 1.20.1, Forge 47, SlashBlade Resharped 1.9.65. Single SlashBlade entity in view.
Requirements
- Minecraft 1.20.1
- Forge 47+
- SlashBlade Resharped 1.9.65
Installation
- Download the jar and drop it into your
mods/folder - Launch the game
Compatibility
Do not use with AntiEntropyCore — both mods inject into the same Mixin target (VmdAnimation) and will conflict.
How It Works
A single Mixin injects at the head of VmdAnimation.setupAnim(). It remembers the last (currentTick, partialTick) pair. Cache hit → method cancelled. Cache miss → update cache, run normally.
Only 32 lines of code. Client-side only. No coremod hacks.
Links
- Source: GitHub
- License: MIT
常见问题
VMD Animation Cache 支持哪些 Minecraft 版本?
VMD Animation Cache 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
VMD Animation Cache 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
Elten-huanghuang 的其他作品
查看全部 →
RS Integration
A major core optimization release featuring improved recursive crafting scheduling, recipe-index warm-up, safer transaction settlement, rewritten pinyin search, and optional Project MMO salvage integration.
BetterWaystonesMenu Fork
1.20.1 port of BetterWaystonesMenu with pinyin search, dimension filter, and Chinese config.
评论
登录后评论和评分