Poludnie

can u make me a mod menu mode that opens when a player clicks right shift and there you can customize different stuff start with adding a section to customize toggle sprint so u can turn text shadow on and off text color display mode if u want brackets or just text and if u have it on it should say Sprinting (Toggled) with brackets [Sprinting (Toggled)] or a third option called fancy that says &oSprint Toggled with the color of your choice and make it so when u click right shift it also has a button to move the text around your screen

Kodari AI
KodariAug 15 at 4:25 am 6
ToggleSprintModMenu
Creates a client-side mod menu for Minecraft Fabric 1.19.4, opened by pressing right shift. The menu features a customizable toggle sprint section allowing users to adjust text shadow, text color, display mode (plain, brackets, or fancy italic), and a position button to move the sprint status text anywhere on the screen. All settings are saved persistently and applied in real-time.
  1. Create a Fabric 1.19.4 client mod with a Right Shift menu keybind and sprint-toggle HUD behavior.

  2. Add the customization screen for shadow, color, and normal/bracketed/fancy display modes.

  3. Add a drag-and-drop HUD positioning screen with persistent client settings.

Created the Fabric 1.19.4 client mod with:

  • Right Shift opening a toggle-sprint customization menu.

  • Configurable text shadow, text color, and display modes: plain, brackets, and italic fancy.

  • Sprint key toggling the sprint HUD, displaying “Sprinting (Toggled)” in the selected style.

  • A Move HUD button with drag-and-drop positioning.

  • Persistent settings saved to config/toggle-sprint-menu.properties.

Poludnie

The compilation failed with this error:

code
Compilation failed with 12 error(s):

ERROR in src/main/java/com/kodari/togglesprint/SprintHudRenderer.java at line 6: cannot find symbol
import net.minecraft.client.INVENTORY GUI.DrawContext;
                               ^
  symbol: class DrawContext
  location: package net.minecraft.client.INVENTORY GUI

ERROR in src/main/java/com/kodari/togglesprint/SprintHudRenderer.java at line 21: cannot find symbol
    public static void draw(DrawContext drawContext, TextRenderer textRenderer) {
                            ^
  symbol: class DrawContext
  location: class SprintHudRenderer

ERROR in src/main/java/com/kodari/togglesprint/HudPositionScreen.java at line 3: cannot find symbol
import net.minecraft.client.INVENTORY GUI.DrawContext;
                               ^
  symbol: class DrawContext
  location: package net.minecraft.client.INVENTORY GUI

ERROR in src/main/java/com/kodari/togglesprint/HudPositionScreen.java at line 28: cannot find symbol
    public void render(DrawContext context, int mouseX, int mouseY, float delta) {
                       ^
  symbol: class DrawContext
  location: class HudPositionScreen

ERROR in src/main/java/com/kodari/togglesprint/ToggleSprintScreen.java at line 3: cannot find symbol
import net.minecraft.client.INVENTORY GUI.DrawContext;
                               ^
  symbol: class DrawContext
  location: package net.minecraft.client.INVENTORY GUI

ERROR in src/main/java/com/kodari/togglesprint/ToggleSprintScreen.java at line 50: cannot find symbol
    public void render(DrawContext context, int mouseX, int mouseY, float delta) {
                       ^
  symbol: class DrawContext
  location: class ToggleSprintScreen

ERROR in   src/main/java/com/kodari/togglesprint/SprintHudRenderer.java at line 6: cannot find symbol
  import net.minecraft.client.INVENTORY GUI.DrawContext;
                                 ^
  symbol: class DrawContext
  location: package net.minecraft.client.INVENTORY GUI

ERROR in   src/main/java/com/kodari/togglesprint/SprintHudRenderer.java at line 21: cannot find symbol
      public static void draw(DrawContext drawContext, TextRenderer textRenderer) {
                              ^
  symbol: class DrawContext
  location: class SprintHudRenderer

ERROR in   src/main/java/com/kodari/togglesprint/HudPositionScreen.java at line 3: cannot find symbol
  import net.minecraft.client.INVENTORY GUI.DrawContext;
                                 ^
  symbol: class DrawContext
  location: package net.minecraft.client.INVENTORY GUI

ERROR in   src/main/java/com/kodari/togglesprint/HudPositionScreen.java at line 28: cannot find symbol
      public void render(DrawContext context, int mouseX, int mouseY, float delta) {
                         ^
  symbol: class DrawContext
  location: class HudPositionScreen

ERROR in   src/main/java/com/kodari/togglesprint/ToggleSprintScreen.java at line 3: cannot find symbol
  import net.minecraft.client.INVENTORY GUI.DrawContext;
                                 ^
  symbol: class DrawContext
  location: package net.minecraft.client.INVENTORY GUI

ERROR in   src/main/java/com/kodari/togglesprint/ToggleSprintScreen.java at line 50: cannot find symbol
      public void render(DrawContext context, int mouseX, int mouseY, float delta) {
                         ^
  symbol: class DrawContext
  location: class ToggleSprintScreen


=== COMPILATION ERROR ANALYSIS ===

MISSING CLASSES:
  - DrawContext
ACTION: Create these classes or check imports

FILES TO INVESTIGATE:
  - src/main/java/com/kodari/togglesprint/SprintHudRenderer.java
  - src/main/java/com/kodari/togglesprint/HudPositionScreen.java
  - src/main/java/com/kodari/togglesprint/ToggleSprintScreen.java
  -   src/main/java/com/kodari/togglesprint/SprintHudRenderer.java
  -   src/main/java/com/kodari/togglesprint/HudPositionScreen.java
  -   src/main/java/com/kodari/togglesprint/ToggleSprintScreen.java

Please fix this error by creating a new artifact with the corrected code.

Kodari AI
KodariAug 15 at 4:26 am 2
  • Replace the unavailable DrawContext API with Fabric 1.19.4’s MatrixStack rendering API.

  • Update the HUD render callback and text draw calls.

  • Update both screen render overrides and title/instruction rendering.

Replaced the newer DrawContext API with Minecraft 1.19.4-compatible MatrixStack rendering in all three affected files. This corrects the invalid imports, HUD callback, screen render methods, and text drawing calls.

Poludnie

you should rename it cause when u clikc right shift theres gonna be more than just sprint toggle you know like subsections 1 main section and there should be mods in that one subsection that u can clikc to open and edit for the color secletor can u make like a hex color selector thing to choose out of thousands of colors yk and add a option so the text would be rainbow cahnging colors yk

Kodari AI
KodariAug 15 at 4:34 am 5
  1. Rename the UI from a sprint-only menu to an extensible main mods menu with a Toggle Sprint subsection.

  2. Add a Toggle Sprint editor with hex RGB input and rainbow HUD coloring.

  3. Preserve existing HUD positioning and settings persistence.

  • Convert the Right Shift screen into the extensible Mod Menu and add its Toggle Sprint module entry.

  • Move the existing sprint controls into a dedicated Toggle Sprint editor.

  • Store a custom six-digit hex color and rainbow preference; animate the HUD when rainbow is enabled.

Implemented the extensible Mod Menu flow:

  • Right Shift now opens Mod Menu, with Toggle Sprint as its first configurable module.

  • Toggle Sprint now has a dedicated editor with:

    • Text shadow toggle

    • Six-digit hex RGB color input, including #55FFAA style input

    • Rainbow Text on/off toggle with smoothly changing HUD colors

    • Display-mode cycling and HUD positioning

  • Custom color and rainbow settings persist in the existing config file.

Poludnie

Next option can u make a fullbright menu with editable sections like the ones on the screenshot just the options tho not the menu make it under right shift too like below the sprint toggle button

1 image attached
Kodari AI
KodariAug 15 at 4:40 am 6
  • Add Fullbright below Toggle Sprint in the Right Shift Mod Menu.

  • Create its editor with Night Vision, Normal/Fullbright/Custom brightness modes, and a percentage slider.

  • Persist brightness preferences and apply the selected client gamma immediately.

Added Fullbright below Toggle Sprint in the Right Shift Mod Menu.

  • New editable options: Night Vision, Normal, Fullbright, and Custom Brightness.

  • Custom brightness includes a 0–100% slider.

  • Settings persist in the existing configuration file.

  • Fullbright and custom brightness apply immediately; Normal restores the player’s saved gamma setting.

Poludnie

keep crashing after i added the new version you know why?

[06:42:12] [main/INFO]: Loading Minecraft 1.19.4 with Fabric Loader 0.19.3 [06:42:12] [main/INFO]: Loading 57 mods: - dollarsign 1.0.0 - fabric-api 0.87.2+1.19.4 |-- fabric-api-base 0.4.28+737a6ee8f4 |-- fabric-api-lookup-api-v1 1.6.29+504944c8f4 |-- fabric-biome-api-v1 13.0.10+6b242079f4 |-- fabric-block-api-v1 1.0.8+e022e5d1f4 |-- fabric-blockrenderlayer-v1 1.1.38+10ce000ff4 |-- fabric-client-tags-api-v1 1.1.1+0eee1254f4 |-- fabric-command-api-v1 1.2.31+f71b366ff4 |-- fabric-command-api-v2 2.2.10+10ce000ff4 |-- fabric-commands-v0 0.2.48+df3654b3f4 |-- fabric-containers-v0 0.1.59+df3654b3f4 |-- fabric-content-registries-v0 3.5.14+10ce000ff4 |-- fabric-convention-tags-v1 1.5.3+6d727b51f4 |-- fabric-crash-report-info-v1 0.2.17+aeb40ebef4 |-- fabric-data-generation-api-v1 11.5.2+26f09d40f4 |-- fabric-dimensions-v1 2.1.50+44c9c860f4 |-- fabric-entity-events-v1 1.5.17+10ce000ff4 |-- fabric-events-interaction-v0 0.6.1+4b6b93f0f4 |-- fabric-events-lifecycle-v0 0.2.56+df3654b3f4 |-- fabric-game-rule-api-v1 1.0.36+3f657af2f4 |-- fabric-item-api-v1 2.1.21+10ce000ff4 |-- fabric-item-group-api-v1 3.0.10+8400c67ef4 |-- fabric-key-binding-api-v1 1.0.35+504944c8f4 |-- fabric-keybindings-v0 0.2.33+df3654b3f4 |-- fabric-lifecycle-events-v1 2.2.19+10ce000ff4 |-- fabric-loot-api-v2 1.1.32+10ce000ff4 |-- fabric-loot-tables-v1 1.1.36+9e7660c6f4 |-- fabric-message-api-v1 5.1.5+53c11dadf4 |-- fabric-mining-level-api-v1 2.1.44+10ce000ff4 |-- fabric-model-loading-api-v1 1.0.2+3a1ea2f1f4 |-- fabric-models-v0 0.4.1+a0255436f4 |-- fabric-networking-api-v1 1.3.6+ae9c4c6af4 |-- fabric-networking-v0 0.3.46+df3654b3f4 |-- fabric-object-builder-api-v1 7.1.1+d63b52eaf4 |-- fabric-particles-v1 1.1.1+86d48884f4 |-- fabric-recipe-api-v1 1.0.13+10ce000ff4 |-- fabric-registry-sync-v0 2.3.2+95ae8716f4 |-- fabric-renderer-api-v1 2.4.2+90110d8df4 |-- fabric-renderer-indigo 1.4.2+90110d8df4 |-- fabric-renderer-registries-v1 3.2.42+df3654b3f4 |-- fabric-rendering-data-attachment-v1 0.3.32+10ce000ff4 |-- fabric-rendering-fluids-v1 3.0.25+10ce000ff4 |-- fabric-rendering-v0 1.1.45+df3654b3f4 |-- fabric-rendering-v1 2.1.5+10ce000ff4 |-- fabric-resource-conditions-api-v1 2.3.3+10ce000ff4 |-- fabric-resource-loader-v0 0.11.7+8400c67ef4 |-- fabric-screen-api-v1 1.0.49+10ce000ff4 |-- fabric-screen-handler-api-v1 1.3.25+10ce000ff4 |-- fabric-sound-api-v1 1.0.11+10ce000ff4 |-- fabric-transfer-api-v1 3.3.1+602c17c7f4 \-- fabric-transitive-access-wideners-v1 3.3.0+1b5f819af4 - fabricloader 0.19.3 \-- mixinextras 0.5.4 - java 17 - minecraft 1.19.4 - togglesprintmenu 1.0.0 [06:42:13] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.7 Source=file:/C:/Users/Natan/AppData/Roaming/ModrinthApp/meta/libraries/net/fabricmc/sponge-mixin/0.17.3+mixin.0.8.7/sponge-mixin-0.17.3+mixin.0.8.7.jar Service=Knot/Fabric Env=CLIENT [06:42:13] [main/INFO]: Compatibility level set to JAVA_17 [06:42:13] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.5.4). [06:42:17] [Datafixer Bootstrap/INFO]: 180 Datafixer optimizations took 132 milliseconds [06:42:18] [Render thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' [06:42:19] [Render thread/INFO]: Setting user: swagGarry [06:42:19] [Render thread/INFO]: [Indigo] Registering Indigo renderer!

Kodari AI
KodariAug 15 at 4:43 am 2

The log cuts off before the crash error—it ends during normal Fabric/Indigo startup, so it does not show the cause yet.

Please send the lines after Registering Indigo renderer!, especially the first Exception, Caused by:, or the file from:

.minecraft/crash-reports/crash-<date>-client.txt

The Fullbright code is the likely new area, but the crash stack trace is needed to identify the exact incompatible call and produce a correct fix.

Poludnie
📎 1 file 17,376 chars
📄
pasted-code-1786769053000.txt
txt 247 lines
▶
---- Minecraft Crash Report ----
// My bad.

Time: 2026-08-15 06:42:19
Description: Initializing game

java.lang.RuntimeException: Could not execute entrypoint stage 'client' due to errors, provided by 'togglesprintmenu' at 'com.kodari.togglesprint.ToggleSprintClient'!
	at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$0(FabricLoaderImpl.java:413)
	at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33)
	at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:411)
	at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:53)
	at knot//net.minecraft.class_310.(class_310.java:468)
	at knot//net.minecraft.client.main.Main.main(Main.java:198)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:514)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:72)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at com.modrinth.theseus.MinecraftLaunch.relaunch(MinecraftLaunch.java:63)
	at com.modrinth.theseus.MinecraftLaunch.main(MinecraftLaunch.java:28)
Caused by: java.lang.NoClassDefFoundError: java/lang/MatchException
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Unknown Source)
	at net.fabricmc.loader.impl.util.DefaultLanguageAdapter.create(DefaultLanguageAdapter.java:53)
	at net.fabricmc.loader.impl.entrypoint.EntrypointStorage$NewEntry.getOrCreate(EntrypointStorage.java:124)
	at net.fabricmc.loader.impl.entrypoint.EntrypointContainerImpl.getEntrypoint(EntrypointContainerImpl.java:53)
	at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:409)
	... 12 more
Caused by: java.lang.ClassNotFoundException: java.lang.MatchException
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
	at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:229)
	at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119)
	at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
	... 18 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Render thread
Stacktrace:
	at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$0(FabricLoaderImpl.java:413)
	at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33)
	at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:411)
	at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:53)
	at knot//net.minecraft.class_310.(class_310.java:468)

-- Initialization --
Details:
	Modules: 
		ADVAPI32.dll:Advanced Windows 32 Base API:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		COMCTL32.dll:Biblioteka formantów czynności użytkownika:6.10 (WinBuild.160101.0800):Microsoft Corporation
		CRYPT32.dll:Crypto API32:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		CRYPTBASE.dll:Base cryptographic API DLL:10.0.19041.3636 (WinBuild.160101.0800):Microsoft Corporation
		CRYPTSP.dll:Cryptographic Service Provider API:10.0.19041.5856 (WinBuild.160101.0800):Microsoft Corporation
		DBGHELP.DLL:Windows Image Helper:10.0.19041.5848 (WinBuild.160101.0800):Microsoft Corporation
		DNSAPI.dll:Biblioteka DLL interfejsu API klienta usługi DNS:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		GDI32.dll:GDI Client DLL:10.0.19041.6157 (WinBuild.160101.0800):Microsoft Corporation
		IMM32.DLL:Multi-User Windows IMM32 API Client DLL:10.0.19041.6157 (WinBuild.160101.0800):Microsoft Corporation
		IPHLPAPI.DLL:IP Helper API:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation
		KERNEL32.DLL:Biblioteka DLL klienta Windows NT BASE API:10.0.19041.5915 (WinBuild.160101.0800):Microsoft Corporation
		KERNELBASE.dll:Biblioteka DLL klienta Windows NT BASE API:10.0.19041.5915 (WinBuild.160101.0800):Microsoft Corporation
		MpOav.dll:IOfficeAntiVirus Module:4.18.26070.9 (797b3603749206dfffe67a1cc891531b0a2cf438):Microsoft Corporation
		NLAapi.dll:Network Location Awareness 2:10.0.19041.6456 (WinBuild.160101.0800):Microsoft Corporation
		NSI.dll:NSI User-mode interface DLL:10.0.19041.3636 (WinBuild.160101.0800):Microsoft Corporation
		NTASN1.dll:Microsoft ASN.1 API:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation
		OLEAUT32.dll:OLEAUT32.DLL:10.0.19041.3636 (WinBuild.160101.0800):Microsoft Corporation
		Ole32.dll:Microsoft OLE for Windows:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		POWRPROF.dll:Pomocnicza biblioteka DLL dla profilu zasilania:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		PSAPI.DLL:Process Status Helper:10.0.19041.3636 (WinBuild.160101.0800):Microsoft Corporation
		Pdh.dll:Windows Performance Data Helper DLL:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation
		RPCRT4.dll:Czas wykonania zdalnego wywoływania procedury:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		SHCORE.dll:SHCORE:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		SHELL32.dll:Wspólna biblioteka DLL Powłoki systemu Windows:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		UMPDC.dll
		USER32.dll:Współużytkowana biblioteka DLL klienta Windows USER API:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		USERENV.dll:Userenv:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		VCRUNTIME140.dll:Microsoft® C Runtime Library:14.40.33810.0:Microsoft Corporation
		VERSION.dll:Version Checking and File Installation Libraries:10.0.19041.3636 (WinBuild.160101.0800):Microsoft Corporation
		WINHTTP.dll:Usługi Windows HTTP Services:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		WINMM.dll:MCI API DLL:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		WS2_32.dll:Biblioteka DLL 32-bitowej wersji usługi Windows Socket 2.0:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		Wldp.dll:Zasady blokady systemu Windows:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		amsi.dll:Anti-Malware Scan Interface:10.0.19041.4355 (WinBuild.160101.0800):Microsoft Corporation
		apphelp.dll:Biblioteka klienta zgodności aplikacji:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		bcrypt.dll:Biblioteka podstawowych elementów kryptograficznych systemu Windows:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		bcryptPrimitives.dll:Windows Cryptographic Primitives Library:10.0.19041.5007 (WinBuild.160101.0800):Microsoft Corporation
		clbcatq.dll:COM+ Configuration Catalog:2001.12.10941.16384 (WinBuild.160101.0800):Microsoft Corporation
		combase.dll:Microsoft COM for Windows:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		dbgcore.DLL:Windows Core Debugging Helpers:10.0.19041.5794 (WinBuild.160101.0800):Microsoft Corporation
		dhcpcsvc.DLL:Usługa klienta DHCP:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		dhcpcsvc6.DLL:Klient DHCPv6:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		extnet.dll:Zulu Platform x64 Architecture:17.0.20:Azul Systems Inc.
		fwpuclnt.dll:Interfejs API trybu użytkownika funkcji FWP/IPSec:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		gdi32full.dll:GDI Client DLL:10.0.19041.6157 (WinBuild.160101.0800):Microsoft Corporation
		instrument.dll:Zulu Platform x64 Architecture:17.0.20:Azul Systems Inc.
		java.dll:Zulu Platform x64 Architecture:17.0.20:Azul Systems Inc.
		javaw.exe:Zulu Platform x64 Architecture:17.0.20:Azul Systems Inc.
		jemalloc.dll
		jimage.dll:Zulu Platform x64 Architecture:17.0.20:Azul Systems Inc.
		jli.dll:Zulu Platform x64 Architecture:17.0.20:Azul Systems Inc.
		jna7674399891038669739.dll:JNA native library:6.1.4:Java(TM) Native Access (JNA)
		jsvml.dll:Zulu Platform x64 Architecture:17.0.20:Azul Systems Inc.
		jvm.dll:Zulu 64-Bit Server VM:17.0.20:Azul Systems Inc.
		kernel.appcore.dll:AppModel API Host:10.0.19041.3758 (WinBuild.160101.0800):Microsoft Corporation
		lwjgl.dll
		management.dll:Zulu Platform x64 Architecture:17.0.20:Azul Systems Inc.
		management_ext.dll:Zulu Platform x64 Architecture:17.0.20:Azul Systems Inc.
		msvcp140.dll:Microsoft® C Runtime Library:14.40.33810.0:Microsoft Corporation
		msvcp_win.dll:Microsoft® C Runtime Library:10.0.19041.3636 (WinBuild.160101.0800):Microsoft Corporation
		msvcrt.dll:Windows NT CRT DLL:7.0.19041.3636 (WinBuild.160101.0800):Microsoft Corporation
		mswsock.dll:Microsoft Windows Sockets 2.0 Dostawca usługi:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		napinsp.dll:Dostawca podkładek nazewnictwa poczty e-mail:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		ncrypt.dll:Router programu NCrypt w systemie Windows:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		net.dll:Zulu Platform x64 Architecture:17.0.20:Azul Systems Inc.
		nio.dll:Zulu Platform x64 Architecture:17.0.20:Azul Systems Inc.
		ntdll.dll:Biblioteka NT Layer DLL:10.0.19041.4842 (WinBuild.160101.0800):Microsoft Corporation
		perfos.dll:Biblioteka DLL obiektów wydajności systemu Windows:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		pnrpnsp.dll:Dostawca obszaru nazw PNRP:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		profapi.dll:User Profile Basic API:10.0.19041.6033 (WinBuild.160101.0800):Microsoft Corporation
		rasadhlp.dll:Remote Access AutoDial Helper:10.0.19041.6328 (WinBuild.160101.0800):Microsoft Corporation
		rsaenh.dll:Microsoft Enhanced Cryptographic Provider:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation
		sechost.dll:Host for SCM/SDDL/LSA Lookup APIs:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation
		shlwapi.dll:Biblioteka dodatkowych narzędzi powłoki:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		sunmscapi.dll:Zulu Platform x64 Architecture:17.0.20:Azul Systems Inc.
		ucrtbase.dll:Microsoft® C Runtime Library:10.0.19041.3636 (WinBuild.160101.0800):Microsoft Corporation
		vcruntime140_1.dll:Microsoft® C Runtime Library:14.40.33810.0:Microsoft Corporation
		verify.dll:Zulu Platform x64 Architecture:17.0.20:Azul Systems Inc.
		win32u.dll:Win32u:10.0.19041.6456 (WinBuild.160101.0800):Microsoft Corporation
		windows.storage.dll:Interfejs API magazynu systemu Microsoft WinRT:10.0.19041.4522 (WinBuild.160101.0800):Microsoft Corporation
		winrnr.dll:LDAP RnR Provider DLL:10.0.19041.3636 (WinBuild.160101.0800):Microsoft Corporation
		wshbth.dll:Windows Sockets Helper DLL:10.0.19041.5848 (WinBuild.160101.0800):Microsoft Corporation
		zip.dll:Zulu Platform x64 Architecture:17.0.20:Azul Systems Inc.
Stacktrace:
	at knot//net.minecraft.client.main.Main.main(Main.java:198)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:514)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:72)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at com.modrinth.theseus.MinecraftLaunch.relaunch(MinecraftLaunch.java:63)
	at com.modrinth.theseus.MinecraftLaunch.main(MinecraftLaunch.java:28)

-- System Details --
Details:
	Minecraft Version: 1.19.4
	Minecraft Version ID: 1.19.4
	Operating System: Windows10 (amd64) version 10.0
	Java Version: 17.0.20, Azul Systems, Inc.
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Azul Systems, Inc.
	Memory: 152445168 bytes (145 MiB) / 467664896 bytes (446 MiB) up to 4294967296 bytes (4096 MiB)
	CPUs: 12
	Processor Vendor: GenuineIntel
	Processor Name: Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz
	Identifier: Intel64 Family 6 Model 165 Stepping 3
	Microarchitecture: unknown
	Frequency (GHz): 2.90
	Number of physical packages: 1
	Number of physical CPUs: 6
	Number of logical CPUs: 12
	Graphics card #0 name: Radeon RX 570 Series
	Graphics card #0 vendor: Advanced Micro Devices, Inc. (0x1002)
	Graphics card #0 VRAM (MB): 4095.00
	Graphics card #0 deviceId: 0x67df
	Graphics card #0 versionInfo: DriverVersion=31.0.21923.11000
	Memory slot #0 capacity (MB): 16384.00
	Memory slot #0 clockSpeed (GHz): 2.67
	Memory slot #0 type: DDR4
	Virtual memory max (MB): 28771.28
	Virtual memory used (MB): 23824.06
	Swap memory total (MB): 12461.95
	Swap memory used (MB): 1052.66
	JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx4096M
	Fabric Mods: 
		dollarsign: Dollar Sign 1.0.0
		fabric-api: Fabric API 0.87.2+1.19.4
			fabric-api-base: Fabric API Base 0.4.28+737a6ee8f4
			fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.29+504944c8f4
			fabric-biome-api-v1: Fabric Biome API (v1) 13.0.10+6b242079f4
			fabric-block-api-v1: Fabric Block API (v1) 1.0.8+e022e5d1f4
			fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.38+10ce000ff4
			fabric-client-tags-api-v1: Fabric Client Tags 1.1.1+0eee1254f4
			fabric-command-api-v1: Fabric Command API (v1) 1.2.31+f71b366ff4
			fabric-command-api-v2: Fabric Command API (v2) 2.2.10+10ce000ff4
			fabric-commands-v0: Fabric Commands (v0) 0.2.48+df3654b3f4
			fabric-containers-v0: Fabric Containers (v0) 0.1.59+df3654b3f4
			fabric-content-registries-v0: Fabric Content Registries (v0) 3.5.14+10ce000ff4
			fabric-convention-tags-v1: Fabric Convention Tags 1.5.3+6d727b51f4
			fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.17+aeb40ebef4
			fabric-data-generation-api-v1: Fabric Data Generation API (v1) 11.5.2+26f09d40f4
			fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.50+44c9c860f4
			fabric-entity-events-v1: Fabric Entity Events (v1) 1.5.17+10ce000ff4
			fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.6.1+4b6b93f0f4
			fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.56+df3654b3f4
			fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.36+3f657af2f4
			fabric-item-api-v1: Fabric Item API (v1) 2.1.21+10ce000ff4
			fabric-item-group-api-v1: Fabric Item Group API (v1) 3.0.10+8400c67ef4
			fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.35+504944c8f4
			fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.33+df3654b3f4
			fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.2.19+10ce000ff4
			fabric-loot-api-v2: Fabric Loot API (v2) 1.1.32+10ce000ff4
			fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.36+9e7660c6f4
			fabric-message-api-v1: Fabric Message API (v1) 5.1.5+53c11dadf4
			fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.44+10ce000ff4
			fabric-model-loading-api-v1: Fabric Model Loading API (v1) 1.0.2+3a1ea2f1f4
			fabric-models-v0: Fabric Models (v0) 0.4.1+a0255436f4
			fabric-networking-api-v1: Fabric Networking API (v1) 1.3.6+ae9c4c6af4
			fabric-networking-v0: Fabric Networking (v0) 0.3.46+df3654b3f4
			fabric-object-builder-api-v1: Fabric Object Builder API (v1) 7.1.1+d63b52eaf4
			fabric-particles-v1: Fabric Particles (v1) 1.1.1+86d48884f4
			fabric-recipe-api-v1: Fabric Recipe API (v1) 1.0.13+10ce000ff4
			fabric-registry-sync-v0: Fabric Registry Sync (v0) 2.3.2+95ae8716f4
			fabric-renderer-api-v1: Fabric Renderer API (v1) 2.4.2+90110d8df4
			fabric-renderer-indigo: Fabric Renderer - Indigo 1.4.2+90110d8df4
			fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.42+df3654b3f4
			fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.32+10ce000ff4
			fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.25+10ce000ff4
			fabric-rendering-v0: Fabric Rendering (v0) 1.1.45+df3654b3f4
			fabric-rendering-v1: Fabric Rendering (v1) 2.1.5+10ce000ff4
			fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.3.3+10ce000ff4
			fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.11.7+8400c67ef4
			fabric-screen-api-v1: Fabric Screen API (v1) 1.0.49+10ce000ff4
			fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.25+10ce000ff4
			fabric-sound-api-v1: Fabric Sound API (v1) 1.0.11+10ce000ff4
			fabric-transfer-api-v1: Fabric Transfer API (v1) 3.3.1+602c17c7f4
			fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 3.3.0+1b5f819af4
		fabricloader: Fabric Loader 0.19.3
			mixinextras: MixinExtras 0.5.4
		java: OpenJDK 64-Bit Server VM 17
		minecraft: Minecraft 1.19.4
		togglesprintmenu: Toggle Sprint Menu 1.0.0
	Launched Version: 1.19.4
	Backend library: LWJGL version 3.3.1 SNAPSHOT
	Backend API: Unknown
	Window size: 
	GL Caps: Using framebuffer using OpenGL 3.2
	GL debug messages: 
	Using VBOs: Yes
	Is Modded: Definitely; Client brand changed to 'fabric'
	Type: Client (map_client.txt)
	CPU: 
Kodari AI
KodariAug 15 at 4:44 am 3
  • The crash is caused by a Java 21-generated switch expression referencing java.lang.MatchException, which does not exist in Minecraft’s Java 17 runtime.

  • Replace that switch expression with Java-17-safe conditional logic.

  • The corrected build will load on Fabric 1.19.4 with Java 17.

Fixed the startup crash in ToggleSprintClient.

The mod contained a switch expression compiled with Java 21 behavior, which references java.lang.MatchException. Minecraft 1.19.4 runs on Java 17, where that class does not exist. Replaced it with Java-17-compatible conditional logic.

Poludnie

can u make the fullbright option make it so even at night it superr bright like day time fullbright should just change the gamma to like 9999 or something yk

Kodari AI
KodariAug 15 at 4:52 am 2
  • Set Fullbright gamma to 9999.0D.

  • Keep existing Normal mode restoration unchanged.

Fullbright now forces gamma to 9999.0D, making nighttime render brightly; switching back to Normal still restores the previous gamma.

Poludnie

actually yk what just scrap the fullbright option delete it and replace with nametags section with these options: option to tutrn on and off nametag visibilty in f5 for yourself and nametag text shadow on and off option to turn the background off and on

Kodari AI
KodariAug 15 at 5:00 am 9
  1. Remove the brightness/fullbright setting and its gamma handling.

  2. Replace its menu section with Nametags controls for self visibility, text shadow, and background.

  3. Add the client rendering hooks needed for each Nametags control.

  • Replaced Fullbright with a Nametags menu.

  • Added toggles for your own nametag in F5, nametag text shadow, and nametag background.

  • Removed all fullbright, custom brightness, and night-vision code/settings.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
14 700
src/main/java/com/kodari/togglesprint/ToggleSprintClient.java
package com.kodari.togglesprint;

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.minecraft.client.option.KeyBinding;
import net.minecraft.client.util.InputUtil;
import org.lwjgl.glfw.GLFW;

public class ToggleSprintClient implements ClientModInitializer {
    private static final KeyBinding MENU_KEY = KeyBindingHelper.registerKeyBinding(new KeyBinding(
            "key.togglesprintmenu.open_menu",
            InputUtil.Type.KEYSYM,
            GLFW.GLFW_KEY_RIGHT_SHIFT,
            "category.togglesprintmenu"
    ));

    @Override
    public void onInitializeClient() {
        SprintHudSettings.load();
        SprintHudRenderer.register();

        ClientTickEvents.END_CLIENT_TICK.register(client -> {
            while (MENU_KEY.wasPressed()) {
                if (client.currentScreen == null) {
                    client.setScreen(new ModMenuScreen());
                }
            }

            if (client.player != null) {
                while (client.options.sprintKey.wasPressed()) {
                    SprintHudSettings.toggleSprint();
                }

                if (SprintHudSettings.isSprintToggled()) {
                    client.player.setSprinting(true);
                }
            }
        });
    }
}