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

How to use custom prefix color?

Đang mở Phù hợp với người mới
#149 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
111
Fork
12
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
frontend
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
65/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.