promotional bannermobile promotional banner
premium banner
This is a mod to add custom color codes for use in signs, lang keys, etc.

Description

This is a mod that allows you to make custom color codes. You can also use special effects from a predefined list. Shake, wave, pulse, glitch, pure gradient (none), and static rainbow. Each of these effects can use a singular hex code or multiple to act as a gradient.

These codes can be used in game using the ampersand symbol (&) in stuff like signs, books, and chat. For example &zHello would be the color electric violet.

You can use any unicode symbol and and hex code.

If you want to add your own codes you can add them in the config file: phoenix_chromatic_colors_codes.yaml

The syntax for adding new color codes is symbol:hexcode. Eg. "p:ff2100".

The syntax for adding new effect codes is symbol:colorSpeed,movementSpeed, movementID, hexCode, hexCode...... Eg. "w:1.0:1.0:wave:ff2100, f2300". rainbow is also a valid hexCode.

There is also the discord effect, that aims to recreate the gradient you see on boosted servers.

 

I wanted to make items/fluids that can only work with lang be able to have more color and effect options.

By default there is electric violet (code &z), chili red (code &p), a wave example, a static rainbow example, a pulse example, a pure gradient example, a shake example, and a glitch example.

Other mods can also add thier own unique effects to use in the config via ChromaticAPI (more info on the github).

I hope you enjoy the mod!