Text Placeholder API

Text Placeholder API

v3.1.0-beta.1+26.2
Modrinth 1 502 подписчики Загрузок: 52 310 533
от Patbox
Войти

Placeholder and Text manipulation library for your Minecraft mods.

Товар

О товаре

About Placeholder API

It's a small, JIJ-able API that allows creation and parsing placeholders within strings and Minecraft Text Components.
Placeholder API uses a simple format of %modid:type% or %modid:type data% (%modid:type/data% prior to 1.19).
It also includes simple, general usage text format indented for simplifying user input in configs/chats/etc.

For users

It allows users to configure multiple mods in similar way without losing compatibility between mods.
Placeholders allow changing what and where any information is present within compatible mods.

Additionally, Simplified Text Format allows to style them in readable way without the requirement of writing JSON manually or using
generators.
- Using placeholders
- Default placeholder list
- Mod placeholder list
- QuickText
- Simplified Text Format

Mods generally using this api should just include it directly, but you can downloaded updated version from here if needed!

For developers

Usage of Placeholder API is a simple way to achieve good mod compatibility without having to implement
multiple mod specific apis. Additionally, the placeholder parsing system can be used for replacing
own static (or dynamic placeholders) in Text created by player or read from config. This with combination
of Simplified Text Format allows creating great user/admin experience.

*[JIJ]: Jar-in-Jar

Окружение

Требования и совместимость

Совместимость и требования

FabricQuilt1.17 – 1.21.1126.126.1.126.1.226.2

Локальный хост

Optional

Хостинг на сервисах

Optional

Условия

Лицензия

Условия использования, изменения и распространения этого товара.

GNU Lesser General Public License v3.0 onlyModrinth
Релиз

Последний релиз

v3.1.0-beta.1+26.2

27.05.2026 · Modrinth