Vectr0Y Extra

Create a Minecraft PvP-focused client-side mod designed for legitimate combat practice and performance improvement.

Features:

  • A clean and customizable Combat HUD showing FPS, ping, CPS, coordinates, and current target information.
  • A Target HUD displaying the opponent's health, armor durability, distance, and active potion effects.
  • A Combo Counter that tracks consecutive successful hits.
  • A Hit Indicator with subtle visual feedback whenever the player successfully hits an opponent.
  • An Armor and Weapon Durability HUD with configurable colors and warning indicators.
  • A Potion Effects HUD showing active effects, icons, amplifier levels, and remaining duration.
  • A customizable Keystrokes display for WASD, sprint, jump, and mouse buttons.
  • A configurable UI system allowing players to move, resize, enable, or disable individual HUD components.
  • Performance-conscious rendering with minimal FPS impact.
  • Compatibility with standard Minecraft PvP gameplay and common practice servers.
  • No cheats, automated combat, aim assistance, reach modification, packet manipulation, or other features that provide an unfair gameplay advantage.

Make the interface modern, lightweight, readable, and suitable for competitive PvP practice.

Kodari AI
KodariOct 1 at 12:09 pm 4
PvPCombatHUD
A client-side Minecraft mod for legitimate PvP practice, featuring a customizable Combat HUD with FPS, ping, CPS, coordinates, and target info. Includes a Target HUD displaying opponent health, armor durability, distance, and potion effects. Tracks consecutive hits with a Combo Counter, provides subtle Hit Indicators, and shows armor/weapon durability with configurable warnings. Displays active potion effects with icons and timers, plus a customizable Keystrokes panel. All HUD elements are movable, resizable, and toggleable via an intuitive UI system. Optimized for minimal FPS impact and compatible with standard PvP gameplay, offering no unfair advantages.
  1. Set up a client-only Fabric 1.21.11 project.

  2. Add a lightweight combat/practice HUD with target, combo, hit feedback, gear, effects, and keystrokes.

  3. Add a HUD editor with movable, resizable, toggleable components and saved settings.

Created Kodari PvP Practice as a client-only Fabric 1.21.11 mod, with client code in the split src/client source set.

It includes a combat HUD for FPS, ping, CPS, and coordinates; a crosshair target HUD with health, armor durability, distance, and effect icons; combo and hit indicators; gear durability warnings; potion effects; and keystrokes. Press Right Shift to open the editor, then drag, resize, or toggle individual panels. Settings save to config/pvppractice.properties.

The mod is informational only: it adds no automated combat, aim assistance, reach changes, or packet manipulation.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
9 804
src/client/java/dev/kodari/pvppractice/PracticeClient.java
package dev.kodari.pvppractice;

import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper;
import net.fabricmc.fabric.api.client.rendering.v1.hud.HudElementRegistry;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.option.KeyBinding;
import net.minecraft.util.Identifier;
import org.lwjgl.glfw.GLFW;

import java.nio.file.Path;

public final class PracticeClient implements ClientModInitializer {
    public static final String MOD_ID = "pvppractice";
    private static final Path CONFIG_FILE = Path.of("config", "pvppractice.properties");

    @Override
    public void onInitializeClient() {
        Path configPath = MinecraftClient.getInstance().runDirectory.toPath().resolve(CONFIG_FILE);
        HudConfig.load(configPath);

        KeyBinding.Category category = KeyBinding.Category.create(Identifier.of(MOD_ID, "main"));
        KeyBinding editorKey = KeyBindingHelper.registerKeyBinding(
                new KeyBinding("key.pvppractice.open_editor", GLFW.GLFW_KEY_RIGHT_SHIFT, category)
        );

        ClientTickEvents.END_CLIENT_TICK.register(client -> {
            if (editorKey.wasPressed() && client.currentScreen == null) {
                client.setScreen(new HudEditorScreen(configPath));
            }
            CombatHud.tick(client);
        });

        HudElementRegistry.addLast(Identifier.of(MOD_ID, "combat_hud"),
                (context, tickCounter) -> CombatHud.render(context, false));
    }
}