Home›Java›Mods›TitleAPI [1.8.8+]
TitleAPI [1.8.8+]
ModsJava

TitleAPI [1.8.8+]

Java mod listed for Minecraft 1.8–1.11. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
TitleAPI
by xAdler

This TitleAPI is a slim but extremely powerful tool for developers.
You can not only send and design great Titles, but also extract their JSON to use it somewhere else!

The high modularity saves you a ton of time and also processing power.
Its easy to use and contributes to the legibility of your code!

All Versions above Minecraft 1.8.8 are supported, but they are not all implemented.
Just send me a message with the errorcode in it and I will update the API in a matter of seconds!



For Admins:
If a different Plugin send you here, just drop this in you plugins folder!

For Developers:
Download this Plugin and put it in your plugins folder and your buildpath!

Thats it! Happy Coding!



You found a bug? Please don't hesitate to contact me!


___________________________


I really enjoy making Plugins for free, so please help me to keep my work up!

Donate

___________________________

Example 1: just one title, just one row
​
Code (Text):
new Title().addText("Welcome ", Colors.DARK_GRAY).addText(player.getName(), Colors.DARK_RED).send(player);

Result:
Untitled-4.png



___________________________



Example 2: define it once, use it always
​
Code (Text):
TextComponent textComponent = new TextComponent().setColor(Colors.DARK_RED).setStyle(Styles.BOLD);
Title title = new Title().addTextComponent(textComponent).addText(" seconds left!", Colors.DARK_GRAY);

Bukkit.getScheduler().scheduleSyncRepeatingTask(main, new Runnable() {

    int secondsLeft = 30;

    @Override
    public void run() {

        textComponent.setText("" + secondsLeft);
        title.send(player);

        secondsLeft--;
    }

}, 0, 20);

Result:
Untitled-5.png ​
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.

TitleAPI [1.8.8+] is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11. Downloaded 383 times (via Spigot). Download it and open it directly in the game.

Explore more