nexoash_

Can u make it 1.21.4 +

Kodari AI
KodariApr 21 at 6:26 pm 3,949 (v2)

I’ll update your mod to Fabric 1.21.4. Let me first read your existing files to see what needs to be updated.

[Generation stopped]

nexoash_

Make it 1.21.4 - 1.21.11

Kodari AI
KodariApr 21 at 6:29 pm 2,811 (v2)

I’ll update your mod to Fabric 1.21.4. Let me read your existing files first to see what needs updating.

Now I’ll update your mod to Fabric 1.21.4 with support for versions 1.21.4 through 1.21.11.

Updated to Fabric 1.21.4 with compatibility for Minecraft 1.21.4 through 1.21.11. Created gradle.properties with correct versions and updated build.gradle to use Fabric Loom 1.9.2.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
README.md
settings.gradle
Code
7 415
src/main/java/com/shieldbreaker/ShieldBreakerCombo.java
package com.shieldbreaker;

import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
import net.minecraft.client.MinecraftClient;

public class ShieldBreakerCombo implements ClientModInitializer {
    
    @Override
    public void onInitializeClient() {
        ClientTickEvents.END_CLIENT_TICK.register(client -> {
            if (client.player != null && client.world != null) {
                ComboHandler.tick(client);
            }
        });
    }
}