VMD Animation Cache

Per-frame cache for SlashBlade MMD animation

Редакция NLZONE · 1 мин чтения · 1 просмотр
VMD Animation Cache
Скачать VMD Animation Cache1.20.1 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

Per-frame cache for SlashBlade MMD animation

  • Тип: мод
  • Загрузчик: forge
  • Версии Minecraft: 1.20.1
  • Скачиваний на Modrinth: 4 980

Подробно

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.

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.

Minecraft 1.20.1 Forge 47+ SlashBlade Resharped 1.9.65

Download the jar and drop it into your mods/ folder Launch the game

Do not use with AntiEntropyCore — both mods inject into the same Mixin target ( VmdAnimation ) and will conflict.

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.

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также