MojangLogoAnimation
This mod changes loading screen.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
MojangLogoAnimation
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 | |---|---|---| | Mod Menu | ✅ | Mod Menu / %%MD1%% | | Mod Menu | ✅ | %%MD2%% / %%MD3%% | | Mod Menu | ❌ (optional) | %%MD4%% / %%MD5%% |
Architecture
This mod uses a data-driven animation system built around a clean separation of concerns:
- `SplashOverlayMixin` — Interface defining animation metadata (frame count, timing, sound, textures). New animation types can be added by implementing this interface. - `SplashOverlayMixin` — A `record` implementation that resolves textures from `textures/gui/title/{id}/` and sound events via the `gui.title.{id}` naming convention. - `SplashOverlayMixin` — Encapsulates all animation state (frame progression, sound playback, lifecycle). Runs animation on a daemon thread with thread-safe access via `AtomicInteger`/`AtomicBoolean`. - `SplashOverlayMixin` — 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 to `AnimationPlayer`. The Mixin itself holds no animation knowledge.
Adding a new animation requires only: 1. Place frame textures in `textures/gui/title/{id}/` 2. Place sound in `sounds/gui/title/{id}.ogg` 3. Register with `splashLoader.register(new FolderAnimationData("id", frameCount))`
Preview

