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

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

Color Gradient Placeholders



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



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

${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

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]


Resource Information
Author:
----------
Total Downloads: 2,974
First Release: May 4, 2021
Last Update: Feb 5, 2022
Category: ---------------
All-Time Rating:
11 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings