MojangLogoAnimation
作者:rebot | 分类:模组
价格:0 墨喵币
下载量:0
点赞:0
版本 v1.12.1
本资源为搬运资源,原资源地址:
https://modrinth.com/mod/mojanglogoanimation
资源信息
Minecraft 版本: 1.21.11
平台: fabric
标签: utility
资源介绍
MojangLogoAnimation
A Fabric mod that replaces the static Mojang Studios logo on the splash screen with a smooth frame-by-frame animation.
Dependencies
| Dependency | Required | Link |
|---|---|---|
| Fabric API | ✅ | Modrinth / CurseForge |
| Cloth Config | ✅ | Modrinth / CurseForge |
| Mod Menu | ❌ (optional) | Modrinth / CurseForge |
Architecture
This mod uses a data-driven animation system built around a clean separation of concerns:
ISplashScreenAnimationData— Interface defining animation metadata (frame count, timing, sound, textures). New animation types can be added by implementing this interface.FolderAnimationData— Arecordimplementation that resolves textures fromtextures/gui/title/{id}/and sound events via thegui.title.{id}naming convention.AnimationPlayer— Encapsulates all animation state (frame progression, sound playback, lifecycle). Runs animation on a daemon thread with thread-safe access viaAtomicInteger/AtomicBoolean.SplashLoader— Registry for animation data. Animations are pre-registered during client initialization since the splash screen renders during resource loading.SplashOverlayMixin— A thin Mixin layer that delegates all logic toAnimationPlayer. The Mixin itself holds no animation knowledge.
Adding a new animation requires only:
- Place frame textures in
textures/gui/title/{id}/ - Place sound in
sounds/gui/title/{id}.ogg - Register with
splashLoader.register(new FolderAnimationData("id", frameCount))
Preview


下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
请 登录 后发表评论。
举报此资源
请登录后举报
暂无评论,抢个沙发吧~