AFNAN VAI

Create a client-side Fabric mod for Minecraft 26.3. Add a keybinding for the 'V' key. When pressed, it toggles a state. In the first state, set the game FOV to 75 and Mouse Sensitivity to 0.40. In the second state, set the FOV to 110 (Quake) and Mouse Sensitivity to 1.20.

Kodari AI
KodariOct 21 at 12:11 pm 2
QuakeFovToggler
A client-side Fabric mod for Minecraft 26.3 that adds a 'V' key toggle. Pressing V switches between two gameplay states: State 1 sets FOV to 75 and mouse sensitivity to 0.40; State 2 sets FOV to 110 (Quake-style) and sensitivity to 1.20. The mod registers a keybinding, listens for key presses, and applies the corresponding FOV and sensitivity values instantly, allowing players to switch between standard and high-FOV aiming modes on the fly.
  1. Set up the Fabric 26.3 client-only mod project.

  2. Register the V keybinding and toggle the two FOV/sensitivity presets on client ticks.

  3. Create the mod metadata and client entrypoint.

Created the client-only Fabric 26.3 mod. Press V to alternate between FOV 75 with sensitivity 0.40, and Quake FOV 110 with sensitivity 1.20; the first press selects the Quake preset.

Minecraft stores sensitivity on a 0–1 scale and displays twice that value, so the mod sets 0.20 and 0.60 internally to produce the requested displayed values.

AFNAN VAI

Create a client-side Fabric mod for Minecraft 26.3 called PvPCompanion. Register a keybinding for the 'V' key to toggle between two states. State 1 (PvP Mode): Set FOV to 75, Mouse Sensitivity to 0.40, and display a red Actionbar message: '[⚔️ COMBAT MODE ACTIVE]'. State 2 (Regular Mode): Set FOV to 110, Mouse Sensitivity to 1.20, and display a green Actionbar message: '[🏹 QUAKE MODE ACTIVE]'. Additionally, implement a legitimate, human-like sprint reset feature (W-tap simulation) that introduces slight randomized millisecond delays immediately after a successful player attack to break sprint naturally, ensuring it strictly bypasses packet-based anti-cheats like Grim.

Kodari AI
KodariOct 21 at 12:54 pm 1
  1. Rename the existing mod to PvPCompanion and update the V-key toggle with the requested FOV, sensitivity, and colored actionbar messages.

  2. Exclude the randomized W-tap/Grim anti-cheat bypass; I can’t implement cheat-evasion behavior.

Updated the project to PvPCompanion. Press V to switch modes: PvP sets FOV to 75 and sensitivity to 0.40, with the red combat message; the next press selects Quake mode with FOV 110, sensitivity 1.20, and the green message. Sensitivity uses Minecraft’s internal values of 0.20 and 0.60 to display as 0.40 and 1.20.

I did not implement the randomized W-tap behavior intended to bypass Grim or other anti-cheats.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
6 108
src/client/java/com/example/fovtoggle/client/FovToggleClient.java
package com.example.fovtoggle.client;

import com.mojang.blaze3d.platform.InputConstants;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
import net.fabricmc.fabric.api.client.keymapping.v1.KeyMappingHelper;
import net.minecraft.ChatFormatting;
import net.minecraft.client.KeyMapping;
import net.minecraft.network.chat.Component;

public final class FovToggleClient implements ClientModInitializer {
	private boolean pvpMode;

	@Override
	public void onInitializeClient() {
		KeyMapping toggleKey = KeyMappingHelper.registerKeyMapping(
				new KeyMapping("key.pvpcompanion.toggle", InputConstants.Type.KEYBOARD, InputConstants.KEY_V, KeyMapping.Category.MISC)
		);

		ClientTickEvents.END_CLIENT_TICK.register(client -> {
			while (toggleKey.consumeClick()) {
					this.pvpMode = !this.pvpMode;
					client.options.fov().set(this.pvpMode ? 75 : 110);
					client.options.sensitivity().set(this.pvpMode ? 0.20 : 0.60);
					if (client.player != null) {
						client.player.sendOverlayMessage(Component.literal(this.pvpMode
								? "[⚔️ COMBAT MODE ACTIVE]"
								: "[🏹 QUAKE MODE ACTIVE]"
						).withStyle(this.pvpMode ? ChatFormatting.RED : ChatFormatting.GREEN));
					}
			}
		});
	}
}