Hex Banners
Adds the ability to use RGB codes for banner colors.
This does not change any gameplay feature, but allows only to render more colors.
Any pattern color ID between 0 and 15 (unless Dye Depot is loaded, in which case up to 32) will still provide the vanilla colors. Otherwise, replacing the banner data's pattern color for either a hex string or a number bigger (matching the hexadecimal value) will allow to render more detailed colors.
Accepted values are:
- Any number between 16* and 16777215 included
- Any hexadecimal string up to six characters long
- Any hexadecimal string starting with a
#
with up to six hexadecimal characters (e.g.#ABC123
*: in vanilla. Mods such as Dye Depot tweak the numbers of dye colors, and in order to not break using them on banners, these are dynamically accepted as well when parsing number values.
The banner rendering is purely client-side, and thus, this mod can be used solely on the clients. However, the data handling logic also is loaded on the server, for mods that do rely on it for additional features.
However, there is no added way to craft banners with more detailed colors. As such, you need to manually create them using commands. Don't hesitate to look up the wiki for more info about how to do that.
Additionally, please note that on 1.20.1, the banner pattern color data key is not color
, but Color
, with an uppercase C
.
External resources
Project members
RecraftorsMC
Owner
Nerjal_Nosk
Developer