Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

FarLandsMC/ComponentUtils

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ComponentUtils

A library on top of Adventure for dealing with Components in an easy way for developers.

Usage

Get ComponentUtils from JitPack

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

<!-- ... -->

<dependencies>
    <dependency>
        <groupId>com.github.FarLandsMC</groupId>
        <artifactId>ComponentUtils</artifactId>
        <version>main-SNAPSHOT</version>
    </dependency>
</dependencies>

Use it in your code:

import net.farlandsmc.componentutils.ComponentUtils;

String name = "bob";
ComponentUtils.format("Hello {:red}", name)

About

A collection of utilities for dealing with Minecraft text components

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.