跳到正文

More Colors API

作者:sakura-ryoko

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.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

More-Color-API

License
workflow

Description

Add more colors via a configurable interface for Text Placeholder API. This API was forked out of AfkPlus as a stand-alone API, in addition to Core Lib.
This is basically an add-on mod for Text Placeholder API. See Text Placeholder API’s Website 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-mcminecraft_version
  • Examples can be found under the AfkPlus source code.

Join Sakura's RyokoCraft Discord

常见问题

More Colors API 支持哪些 Minecraft 版本?

More Colors API 支持 Minecraft Java 版 1.19.1–26.3,共 28 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

More Colors API 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

sakura-ryoko 的其他作品

查看全部 →