HomeJavaMods⭐ AdvancedColorAPI ⭐ Gradients | Animations | Placeholders | RGB ✅ Easy Use
⭐ AdvancedColorAPI ⭐ Gradients | Animations | Placeholders | RGB ✅  Easy Use
ModsJava

⭐ AdvancedColorAPI ⭐ Gradients | Animations | Placeholders | RGB ✅ Easy Use

⬇ Download on Spigot
ADVANCED COLOR API WILL NOT BE UPDATED

A NEW VERSION OF THE PLUGIN IS DEVELOPED.
AdvancedColor2 will be posted on this page.


AdvancedColor2 is the same plugin but with a new codebase. It is planned to keep and transfer most of the functionality from the AdvancedColorAPI.
You can follow the development of AdvancedColor2 on the Discord server or GitHub repository


https://discord.gg/9kG9vBfuEc

head.png
Text.png
Plugin WIKI
Spoiler: Sreenshots
upload_2021-6-3_20-32-50.png
[​IMG]
[​IMG]

Spoiler: Placeholders
${nick}
allows you to substitute the player's nickname in the placeholder

%ac_gradient_ff0000,00ff00,0000ff_0.8_gradiented text!%
ff0000,00ff00,0000ff
- colors
0.8 - the degree of color blur
gradiented text! - the text to which the gradient will be applied

%
ac_color_464745_one color%

one color - fill with one color

Animations
%ac_rainbow_rainbow text%

rainbow text - transfusion of text with rainbow colors

%ac_an_move_0.8_1_ff0000,00ff00,0000ff_moving gradient!%
0.1 - the degree of color blur
1 - speed animation (recomended: 1)
ff0000,00ff00,0000ff - colors
rainbow text - text for gradient

Spoiler: API usage (May change)
Code (Text):
me.NitkaNikita.AdvancedColorAPI.api.types.AdvancedColor
The class describing the color. Stores the Color from java.awt

Static methods:
Also available static methods for converting colors
Code (Text):
String rgb2Hex(int r, int g, int b);
Color hex2Rgb(String hex);



Code (Text):
me.NitkaNikita.AdvancedColorAPI.api.types.GradientedText
A class describing the text with a gradient.

Code (Text):
TextComponent getFullText ();
Get gradiented text.

Static methods:
[DELETED. Use GradientTextBuilder class instead]

Code (Text):
GradientedText generateGradient(String text, ArrayList<AdvancedColor> colors, double X);
A method that generates a gradient for text.
text - string base
colors - gradient colors
X - color merging factor. Recommended 0.08



Code (Text):
AdvancedColor InterpolateColor(ArrayList<AdvancedColor> colors, double x, double c);
Get the color of a point on a gradient bar.
colors - gradient colors
x - point (0-1)
c - color merging factor. Recommended 0.08


Builders:
GradientTextBuilder

[​IMG]

SolidTextBuilder
[​IMG]


DS.png
Visit my Discord server!

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

⭐ AdvancedColorAPI ⭐ Gradients | Animations | Placeholders | RGB ✅ Easy Use is a free Minecraft Java mod. Compatible with Minecraft 1.16, 1.17, 1.18. Downloaded 3,098 times (via Spigot). Download it and open it directly in the game.

Explore more