VMD Animation Cache 图标

VMD Animation Cache

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/vmd-animation-cache
资源信息

Minecraft 版本: 1.20.1

平台: forge

标签: optimization

资源介绍

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

ScenarioBeforeAfter
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

Installation

  1. Download the jar and drop it into your mods/ folder
  2. 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

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
SMPPotionLimit

价格:0 墨喵币
下载量:0

查看详情
Waxed lightly weathered cut copper mod

价格:0 墨喵币
下载量:0

查看详情
Life

价格:0 墨喵币
下载量:0

查看详情
Creepigs

价格:0 墨喵币
下载量:0

查看详情