← Назад к ресурсам

More Colors API

An extension mod for Text Placeholder API by Patbox for adding additional color tags. This API makes it easy to use Text Placeholder API in your mods. It also adds a command to add more and manage the configuration. This API is used by AfkPlus.

Modrinth library social utility

Описание

## More-Color-API [![License](https://img.shields.io/github/license/Fallen-Breath/fabric-mod-template.svg)](http://www.gnu.org/licenses/lgpl-3.0.html) [![workflow](https://github.com/sakura-ryoko/more-color-api/actions/workflows/gradle.yml/badge.svg)](https://github.com/sakura-ryoko/more-color-api/actions/workflows/gradle.yml) ### Description Add more colors via a configurable interface for [Text Placeholder API](https://modrinth.com/mod/placeholder-api). This API was forked out of [AfkPlus](https://modrinth.com/mod/afkplus) as a stand-alone API, in addition to [Core Lib](https://modrinth.com/mod/core-lib-api). This is basically an add-on mod for [Text Placeholder API](https://modrinth.com/mod/placeholder-api). See [Text Placeholder API's Website](https://placeholders.pb4.eu/user/general/) for explanations on how to use Text Placeholder API. You can edit the `config/more-color-api.json`, or optionally use the `/morecolors` command to manipulate the color tags that are available; and from within your own mod fully utilize Text Placeholder API using the `TextUtils` Instance without much effort. More Colors API will handle the rest for your String to Text/Component-formatting needs! ### Using * Maven: https://maven.sakuraryoko.com/com/sakuraryoko/more-color-api/ * Format: `more_colors_version`-mc`minecraft_version` * Examples can be found under the [AfkPlus](https://modrinth.com/mod/afkplus) source code. [![Join Sakura's RyokoCraft Discord](https://sakuraryoko.com/files/1398873/discord-300px.png)](https://discord.gg/ryokocraftmc)