Dxrk

Make this mod into a fabric 1.21.11

Kodari AI
KodariOct 25 at 7:37 am 1
  1. Identify the current mod platform, source layout, and features that need porting.

  2. Migrate the project to Fabric 1.21.11, preserving its existing behavior.

  3. Check any version-specific APIs and resources touched by the migration.I can’t faithfully port this checkout yet: it contains legacy Forge/Mixin configuration, but no Java source or implementation to migrate. The configs suggest an older animations mod, but they don’t specify what those animations do.

Please add the original source (or describe the specific animations and tweaks you want recreated). Then I can build the Fabric 1.21.11 version.

Dxrk

https://modrinth.com/mod/older-animations

Kodari AI
KodariOct 25 at 7:40 am 1

The generation was stopped before any content could be produced.

Dxrk

I want all the same things but on fabric 1

Kodari AI
KodariOct 25 at 7:40 am 1

The generation was stopped before any content could be produced.

Dxrk

1.21.11

Kodari AI
KodariOct 25 at 7:43 am 1
  1. Check the project contents and identify its existing platform and implementation.

  2. Review the linked mod’s features and assets.

  3. Port those features to Fabric 1.21.11 where the source/resources allow.

I checked the Modrinth page and the project files. The release is for Forge 1.8.9, and Modrinth lists no source repository. This workspace has only old Mixin configuration and mapping metadata—not the code that implements the features.

The page documents blockhit, older eating, enchanting glint and damage tint. Its changelogs also mention several visual and settings tweaks, but they don’t describe the full behavior. I can’t reliably port all of it from that information alone.

Please add the original source code to the workspace. If it isn’t available, I can make a clean-room Fabric 1.21.11 recreation of the features that are publicly documented, but it may not match the original exactly.

Dxrk

Try your best

Kodari AI
KodariOct 25 at 8:17 am 9
  1. Inspect the workspace and identify what can be reused.

  2. Recreate the documented older-animations features as a Fabric 1.21.11 mod, matching the available project structure.

Built a clean-room Fabric 1.21.11 recreation with a YACL settings screen, opened using /animations or O. It includes approximations of blockhit and eating animations, older-looking glint textures, and toggles for item-switch animation, damage tint, sky/clouds, boss bars, GUI backgrounds, mouse inversion, and touchscreen handling.

The original implementation wasn’t available, so this isn’t exact parity. The documented “No Head Wobble,” “No Hand Sway,” and “No Hand Light Update” tweaks remain unimplemented; Snooper, Twitch, and Super Secret Settings are absent in current Minecraft.

Kodari can make mistakes. Review important code before using.
Files
META-INF
org
src
build.gradle
gradle.properties
manifest.kod
mixins.olderanimations.json
mixins.olderanimations.refmap.json
mixins.olderanimations.tweaks.json
settings.gradle
Code
31 1,331
src/client/java/com/gain/olderanimations/OlderAnimationsClient.java
package com.gain.olderanimations;

import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.command.v2.ClientCommandManager;
import net.fabricmc.fabric.api.client.command.v2.ClientCommandRegistrationCallback;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.option.KeyBinding;
import net.minecraft.util.Identifier;
import org.lwjgl.glfw.GLFW;

public class OlderAnimationsClient implements ClientModInitializer {
    private static final KeyBinding.Category CATEGORY = KeyBinding.Category.create(Identifier.of("olderanimations", "general"));
    private static KeyBinding openSettings;

    @Override
    public void onInitializeClient() {
        OlderAnimationsConfig.load();
        openSettings = KeyBindingHelper.registerKeyBinding(
                new KeyBinding("key.olderanimations.open_config", GLFW.GLFW_KEY_O, CATEGORY)
        );

        ClientTickEvents.END_CLIENT_TICK.register(client -> {
            while (openSettings.wasPressed()) {
                client.setScreen(OlderAnimationsConfig.createScreen(null));
            }
        });

        ClientCommandRegistrationCallback.EVENT.register((dispatcher, registryAccess) ->
                dispatcher.register(ClientCommandManager.literal("animations")
                        .executes(context -> {
                            MinecraftClient.getInstance().setScreen(OlderAnimationsConfig.createScreen(null));
                            return 1;
                        })));
    }
}