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

How to use custom prefix color?

Ouverte Adaptée aux débutants
#149 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
111
Forks
12
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
java
Domaine
frontend
Type d'issue
Bug
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
65/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.