Minecrafterka

Create a Minecraft end credits mod inspired by the ending credits animation of Cyberpunk 2077: Phantom Liberty, specifically the sequence accompanied by Dawid Podsiadło's song "Phantom Liberty".

Visual style and animation:

  • Minimalist cinematic end credits.
  • Black background with clean, elegant white typography.
  • Slowly scrolling credits, similar to the Phantom Liberty ending.
  • Smooth transitions and subtle fade-in/fade-out effects.
  • A dark, melancholic and emotional atmosphere.
  • Simple, carefully spaced text with a professional cinematic appearance.
  • No colorful Minecraft-style animations or distracting visual effects.

Overall goal:

I want Minecraft's ending credits to feel like the ending of Phantom Liberty. The credits should be atmospheric, cinematic, emotional and minimalist, as if the player has just finished an important story.

The animation should replace or modify Minecraft's default end credits while preserving the ability to display the original Minecraft credit text.

Kodari AI
KodariThu at 6:46 pm 2
PhantomLibertyCredits
A Fabric mod that transforms Minecraft's end credits into a minimalist cinematic experience inspired by Cyberpunk 2077: Phantom Liberty. Replaces the default credits with a black background, elegant white typography, and slowly scrolling text with smooth fade-in/fade-out transitions. Preserves the original Minecraft credit lines while presenting them in a dark, melancholic, and emotional atmosphere. Features carefully spaced text, professional cinematic appearance, and subtle animation effects that evoke the feeling of completing an important story. No colorful distractions—just pure atmospheric storytelling through typography and motion.
  • Preserve Minecraft’s original poem and credit text and its skip and scroll controls.

  • Replace the background and logo with black, slow the scroll, and fade text at the screen edges.

Created cinematic end credits with a black background, slower scrolling, and subtle edge fades. Minecraft’s original poem, credits, and controls are preserved.

No song is included; Minecraft’s existing audio remains unchanged.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
6 138
src/client/java/com/kodari/cinematiccredits/mixin/WinScreenMixin.java
package com.kodari.cinematiccredits.mixin;

import net.minecraft.client.gui.GuiGraphicsExtractor;
import net.minecraft.client.gui.components.LogoRenderer;
import net.minecraft.client.gui.screens.WinScreen;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.Redirect;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;

@Mixin(WinScreen.class)
public abstract class WinScreenMixin {
    @Shadow private float scrollSpeed;

    @Inject(method = "<init>", at = @At("RETURN"))
    private void cinematicCredits$slowInitialScroll(boolean poem, Runnable onFinished, CallbackInfo ci) {
        this.scrollSpeed *= 0.55F;
    }

    @Inject(method = "calculateScrollSpeed", at = @At("RETURN"), cancellable = true)
    private void cinematicCredits$slowScroll(CallbackInfoReturnable<Float> cir) {
        cir.setReturnValue(cir.getReturnValue() * 0.55F);
    }

    @Inject(method = "extractBackground", at = @At("HEAD"), cancellable = true)
    private void cinematicCredits$blackBackground(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float delta, CallbackInfo ci) {
        WinScreen screen = (WinScreen) (Object) this;
        graphics.fill(0, 0, screen.width, screen.height, 0xFF000000);
        ci.cancel();
    }

    @Inject(method = "extractVignette", at = @At("HEAD"), cancellable = true)
    private void cinematicCredits$hideVignette(GuiGraphicsExtractor graphics, CallbackInfo ci) {
        ci.cancel();
    }

    @Redirect(method = "extractRenderState", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/gui/components/LogoRenderer;extractRenderState(Lnet/minecraft/client/gui/GuiGraphicsExtractor;IFI)V"))
    private void cinematicCredits$hideLogo(LogoRenderer logo, GuiGraphicsExtractor graphics, int width, float alpha, int y) {
    }

    @Inject(method = "extractRenderState", at = @At("TAIL"))
    private void cinematicCredits$fadeEdges(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float delta, CallbackInfo ci) {
        WinScreen screen = (WinScreen) (Object) this;
        int fade = Math.max(1, screen.height / 5);
        graphics.nextStratum();
        graphics.fillGradient(0, 0, screen.width, fade, 0xFF000000, 0x00000000);
        graphics.fillGradient(0, screen.height - fade, screen.width, screen.height, 0x00000000, 0xFF000000);
    }
}