GradientAPI icon

GradientAPI -----

Bring Your Text to Life with Smooth RGB Gradients!



Bring Your Text to Life with Smooth RGB Gradients!

What is GradientAPI?
GradientAPI is a lightweight, Adventure-based utility library that lets developers easily apply smooth RGB gradients to Minecraft text — perfect for chat messages, titles, menus, or anywhere you use Component!

No dependencies used other than Adventure
Java 17+ compatible
Battle-tested across multiple projects
Works in any plugin with Adventure API

Installation
If you are a user (you downloaded a plugin that needs this):
  1. Download the latest file.
  2. Drop it into your server's /plugins/ folder.
  3. Restart the server. Done!
✅You do not need to configure anything. The plugin using GradientAPI will handle the rest.

‍ If you are a developer:

Maven Setup

drop the JAR into your /src/main/libs/ folder
Code (YAML):
<dependency >
   <groupId>com.idebugger</groupId >
   <artifactId>gradient-api</artifactId >
   <version>1.0</version >
   <scope>system</scope >
   <systemPath>$ {project.basedir }/src/main/libs/gradient-api-1.0.jar</systemPath >
</dependency>
Or mark it as provided in your
IDE/project .

️ Usage

Method
Code (Java):
import com.idebugger.gradientAPI.GradientAPI ;
Component result = GradientAPI. gradient ( "My Fancy Text", List. of ( Color. RED, Color. ORANGE, Color. YELLOW ) ) ;


Each character of the string will be smoothly colorized across the gradient you define!

Fancy Example (Multiple Colors)
Code (Java):
import com.idebugger.gradientAPI.GradientAPI ;
import java.awt.Color ;

List <Color > primaryColors = List. of (
    new Color ( 102, 255, 255 ), // Aqua Glow (#66FFFF)
    new Color ( 0, 191, 255 ),   // Deep Sky Blue (#00BFFF)
    new Color ( 0, 128, 255 )     // Vivid Blue (#0080FF)
) ;

Component result = GradientAPI. gradient ( "Ocean Breeze", primaryColors ) ;
The text "Ocean Breeze" will flow from bright aqua to deep sky blue to vivid blue.


And to show it to player:
Code (Java):
import net.kyori.adventure.text.Component ;
player. sendMessage ( Component. text ( ). append (first_gradient ). append ( Component. text ( "any other text messages if required" ) ). append (second_gradient_if_required_etc ). build ( ) ) ;
API Summary
Code (Java):
public static Component gradient ( String text, List <Color > gradientColors )
  • text: The string to colorize (each character will get a color)
  • gradientColors: List of java.awt.Color to transition between
Minimum of 2 colors required.

Why Use GradientAPI?
Because plain colors are boring, and this gives your plugin:
  • ✅ Eye-catching style
  • ✅ Professional polish
  • ✅ Fully Adventure-compatible text generation
  • ✅ Reusable across all your plugins
Resource Information
Author:
----------
Total Downloads: 52
First Release: Jul 13, 2025
Last Update: Jul 14, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings