Home›Java›Mods›ChatLib
ChatLib
ModsJava

ChatLib

Minecraft Java mod. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
Easily create custom messages and books!

Usage examples:

Code (Text):
Player p = e.getPlayer();
TextComp comp = new TextComp("Text!");
comp.setHoverEvent(new Hover("This is the hover!"));
comp.setClickEvent(new Click(ClickAction.OPEN_URL, "http://www.spigotmc.org"));
comp.setColor(TextColor.BLUE);
comp.send(p);
// comp.sendAll();
Code (Text):
List<BookTextComp> list = new ArrayList<>();
BookTextComp c1 = new BookTextComp("This is the message!", new BookHover("Hover in a book!!!"));
BookComp comp = new BookComp("Book Name!", "Book Author!", list);
comp.sendBook(p);
Oh, and don't put any extras inside other extras.
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.

ChatLib is a free Minecraft Java mod. Downloaded 166 times (via Spigot). Download it and open it directly in the game.

Explore more