You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-16Lines changed: 14 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,6 @@ PrismaticAPI is a powerful, versatile utility designed to enhance text formattin
8
8
9
9
The **PrismaticAPI** package offers a suite of methods to:
10
10
11
-
-**Map Colors:**
12
-
Convert AWT `Color` objects to Bukkit `ChatColor` using a predefined color map, ensuring that both legacy and modern RGB color support are handled.
13
-
14
11
-**Apply Color Effects:**
15
12
Apply gradient and rainbow effects to strings. These methods generate arrays of `ChatColor` objects that are then applied character-by-character to create smooth color transitions.
16
13
@@ -51,23 +48,24 @@ All these functionalities are provided in a single, unified API that makes it si
51
48
packagecom.example.myplugin;
52
49
53
50
importme.croabeast.prismatic.PrismaticAPI;
51
+
importorg.bukkit.Bukkit;
54
52
importorg.bukkit.entity.Player;
55
53
importorg.bukkit.plugin.java.JavaPlugin;
56
54
57
55
publicclassMyPluginextendsJavaPlugin {
58
56
59
-
@Override
60
-
publicvoidonEnable() {
61
-
// Example player (could be obtained from an event)
0 commit comments