Build the first release of Radiance Voice as a Fabric 1.21.11 client mod, independent of Simple Voice Chat. This project is the client half of a planned matching Paper 1.21.11 plugin, which will be implemented later; define and document a clear, versioned client/server protocol contract that the Paper plugin can implement, rather than inventing an opaque client-only protocol. Implement the client mod to the fullest feasible extent: polished, premium-looking voice screen opened by V; configurable keybinds (V opens UI, choose a sensible distinct default push-to-talk key and expose it); nearby/proximity voice controls, voice activity detection with sensitivity/configuration, mute/self-mute and per-player mute controls, group UI and client-side group workflow, audio input/output device selection where supported, microphone test/level meter, push-to-talk, settings persistence, clear connection/status/errors, and graceful handling when the matching server plugin is absent. Include actual microphone capture/playback and a transport/audio pipeline if feasible with project dependencies. Prioritize low latency and clean UX while avoiding any mandatory manual port configuration; explicitly document transport tradeoffs if Minecraft connection transport cannot provide adequate real-time behavior without extra ports. Do not claim server-backed features work until Paper counterpart exists; clearly separate operational client functionality from server-dependent features. Provide README/setup/use documentation and protocol specification in the project. Read the generated project structure first, follow its existing conventions and target version. Do not add Simple Voice Chat compatibility or depend on that mod. Done means implemented source/resources/docs with maintainable code, no invented server-side success claims, and explicit integration contract for the future Paper implementation.

Kodari AI
KodariOct 3 at 8:55 pm 4
RadianceVoice
RadianceVoice is a Fabric 1.21.11 client mod delivering a premium proximity voice chat experience independent of Simple Voice Chat. Press V to open a polished voice screen featuring configurable keybinds, push-to-talk, voice activity detection with adjustable sensitivity, per-player mute controls, self-mute, group management UI, microphone level meter, and audio device selection. It captures microphone input and plays received audio with low-latency processing. The mod defines a versioned client/server protocol contract documented for a future Paper plugin, gracefully handling server absence by showing clear connection status and errors. Settings persist locally, and transport tradeoffs are explicitly documented when Minecraft connection transport cannot provide real-time behavior without extra ports.
  1. Create the Fabric 1.21.11 client project scaffold and a versioned Paper integration protocol contract.

  2. Implement persisted voice settings, Java Sound capture/playback, VAD, push-to-talk, and low-latency audio framing.

  3. Add negotiated client/server transport, group and player workflows, and graceful behavior when the Paper plugin is absent.

  4. Build the voice screen and keybind/device controls, then document setup, limitations, and what is client-only versus server-dependent.

Created the Radiance Voice Fabric 1.21.11 client project, including a V-opened voice screen, configurable V and B keybinds, Java Sound capture/playback, mic monitoring and level meter, push-to-talk/VAD controls, device selection, saved preferences, and local per-player mutes.

The client defines and implements the v1 custom-payload handshake and group/player workflows. Server-backed voice, proximity routing, groups, and player lists require the future matching Paper plugin and are not presented as operational without it. The protocol, setup, feature boundaries, and TCP transport tradeoffs are documented in PROTOCOL.md and README.md.

eldevelopa

Dans "output volume" quand je click sur + ca diminue, au lieu de augmenter, et dans - ca ne fais rien. aussi le ui est trop grand, et tu peux clairement voir des texte qui overlap, et aussi je ne vois aucun de mon premium gold design que je voulais, aussi juste overall augmente la qualite et l'effort, donne toi de la peine et lock in. et aussi en bas a gauche tu peux aussi "ajouter le petit micro logo" de que une voice ce fais detecter, et disparait quand ya rien.

3 images attached
Kodari AI
KodariOct 4 at 4:27 pm 2
  1. Corriger le sens des boutons de volume et réduire la mise en page pour éviter les chevauchements.

  2. Refaire le style en doré premium, cohérent et lisible.

  3. Ajouter un indicateur micro discret en bas à gauche, visible seulement pendant une voix détectée.

  1. Volume de sortie corrigé : les boutons − et + sont séparés et cliquent maintenant exactement sur leur action respective, par pas de 10 %.

  2. Interface retravaillée : panneau plus compact, sections resserrées et palette sombre avec accents dorés. Les zones cliquables correspondent aux contrôles affichés, ce qui évite les chevauchements et les clics qui déclenchaient le mauvais réglage.

  3. Indicateur micro ajouté : la petite icône dorée apparaît en bas à gauche pendant une détection vocale locale et disparaît quand le niveau retombe. La capture locale nécessite que le micro soit actif, par exemple via le test micro ou une session prise en charge par le serveur.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
PROTOCOL.md
README.md
settings.gradle
Code
17 2,073
src/client/java/dev/radiancevoice/RadianceVoiceClient.java
package dev.radiancevoice;

import dev.radiancevoice.audio.AudioEngine;
import dev.radiancevoice.config.SettingsStore;
import dev.radiancevoice.config.VoiceSettings;
import dev.radiancevoice.network.VoiceNetwork;
import dev.radiancevoice.screen.VoiceScreen;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents;
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.networking.v1.ClientPlayConnectionEvents;
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 java.io.IOException;
import java.nio.file.Path;
import java.util.concurrent.atomic.AtomicReference;

public final class RadianceVoiceClient implements ClientModInitializer {
    private VoiceSettings settings;
    private SettingsStore settingsStore;
    private AudioEngine audio;
    private VoiceNetwork network;
    private KeyBinding openVoice;
    private KeyBinding pushToTalk;
    private volatile String settingsError = "";

    @Override
    public void onInitializeClient() {
        settingsStore = new SettingsStore(Path.of("config"));
        settings = settingsStore.load();
        AtomicReference<VoiceNetwork> networkReference = new AtomicReference<>();
        audio = new AudioEngine(settings, frame -> {
            VoiceNetwork voiceNetwork = networkReference.get();
            if (voiceNetwork != null) {
                voiceNetwork.sendVoiceFrame(frame);
            }
        });
        network = new VoiceNetwork(audio);
        networkReference.set(network);
        VoiceNetwork.registerPayloadTypes();
        network.registerReceiver();

        KeyBinding.Category category = KeyBinding.Category.create(Identifier.of("radiancevoice", "voice"));
        openVoice = KeyBindingHelper.registerKeyBinding(new KeyBinding("key.radiancevoice.open", 86, category));
        pushToTalk = KeyBindingHelper.registerKeyBinding(new KeyBinding("key.radiancevoice.push_to_talk", 66, category));

        HudElementRegistry.addLast(Identifier.of("radiancevoice", "microphone_activity"), (context, tickCounter) -> {
            MinecraftClient client = MinecraftClient.getInstance();
            if (client.player == null) {
                return;
            }
            AudioEngine.AudioStatus status = audio.status();
            if (!status.voiceDetected()) {
                return;
            }
            int x = 12;
            int y = client.getWindow().getScaledHeight() - 40;
            context.fill(x, y, x + 30, y + 30, 0xD910141C);
            context.fill(x, y, x + 2, y + 30, 0xFFE6BD70);
            context.fill(x + 12, y + 5, x + 18, y + 16, 0xFFFFD98B);
            context.fill(x + 9, y + 10, x + 12, y + 16, 0xFFE6BD70);
            context.fill(x + 18, y + 10, x + 21, y + 16, 0xFFE6BD70);
            context.fill(x + 12, y + 16, x + 18, y + 18, 0xFFE6BD70);
            context.fill(x + 14, y + 18, x + 16, y + 22, 0xFFE6BD70);
            context.fill(x + 11, y + 22, x + 19, y + 24, 0xFFE6BD70);
            int levelWidth = Math.max(1, Math.round(20 * status.inputLevel()));
            context.fill(x + 5, y + 27, x + 5 + levelWidth, y + 29, 0xFFE6BD70);
        });

        ClientTickEvents.END_CLIENT_TICK.register(client -> {
            if (openVoice.wasPressed()) {
                client.setScreen(new VoiceScreen(this));
            }
            audio.setPushToTalkDown(pushToTalk.isPressed());
            network.tick();
        });
        ClientPlayConnectionEvents.JOIN.register((handler, sender, client) -> network.onJoin());
        ClientPlayConnectionEvents.DISCONNECT.register((handler, client) -> {
            audio.setPushToTalkDown(false);
            network.onDisconnect();
        });
        ClientLifecycleEvents.CLIENT_STOPPING.register(client -> audio.close());
    }

    public VoiceSettings settings() {
        return settings;
    }

    public AudioEngine audio() {
        return audio;
    }

    public VoiceNetwork network() {
        return network;
    }

    public String settingsError() {
        return settingsError;
    }

    public void saveSettings() {
        try {
            settingsStore.save(settings);
            settingsError = "";
        } catch (IOException exception) {
            settingsError = "Could not save settings: " + (exception.getMessage() == null
                    ? exception.getClass().getSimpleName() : exception.getMessage());
        }
    }

    public void openScreen(MinecraftClient client) {
        client.setScreen(new VoiceScreen(this));
    }
}