5zig-reborn / 5zig-reborn/The-5zig-Mod

How to use custom prefix color?

Abierto Apto para principiantes
#149 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
111
Forks
12
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I do not understand how to use the "Custom Prefix Color" option in Formatting Options.

Could someone please provide a way to use this? I have tried inputting "255, 234, 141" into the input box, to get a custom colour, but minecraft crashes straight away and i have to open the config.json for 5zig and manually change the value back to nothing before minecraft will relaunch. If this is not implemented or if nobody knows how to explain its use, maybe an rgb slider could be implemented to change this?

TL;DR: How can I get a custom rgb using Custom Prefix Color

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Look at the formatting options UI code where the custom prefix color input is handled. Check how the input is parsed and validated, likely in a class related to configuration or GUI. The crash suggests improper handling of the RGB string; examine the error logs from Minecraft to identify the exact exception. Test with valid RGB formats to ensure the fix works without crashing.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
frontend
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
65/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.