COWMODSКаталог модов

Text Placeholder API

Placeholder and Text manipulation library for your Minecraft mods.

Автор: Patbox75,8 млн1,9 тыс.обновлён 9 сент. 2026 г.
Библиотеки

Описание

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.

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

Последние версии

Все версии →
release

3.2.0+26.3

3.2.0+26.3
9 сент. 2026 г.3,3 млнMinecraft: 26.3-pre-3, 26.3fabric
Скачать
Что нового
**Full Changelog**: https://github.com/Patbox/TextPlaceholderAPI/compare/3.1.0-beta.1+26.2...3.2.0+26.3
release

3.1.0-beta.1+26.2

3.1.0-beta.1+26.2
27 мая 2026 г.9,5 млнMinecraft: 26.2-pre-1, 26.2fabric
Скачать
Что нового
**Full Changelog**: https://github.com/Patbox/TextPlaceholderAPI/compare/3.0.0+26.1...3.1.0-beta.1+26.2
release

3.1.0-beta.1+26.2

3.1.0-beta.1+26.2
27 мая 2026 г.1,7 тыс.Minecraft: 26.2-pre-1fabric
Скачать
Что нового
**Full Changelog**: https://github.com/Patbox/TextPlaceholderAPI/compare/3.0.0+26.1...3.1.0-beta.1+26.2
release

3.0.0+26.1

3.0.0+26.1
11 апр. 2026 г.4,9 млнMinecraft: 26.1, 26.1.1, 26.1.2fabric
Скачать
Что нового
## What's Changed * Bump Gradle, Fix build.yml, etc by @sakura-ryoko in https://github.com/Patbox/TextPlaceholderAPI/pull/93 * Create zh_cn.json by @NumberSir in https://github.com/Patbox/TextPlaceholderAPI/pull/63 * 🌐 add Argentine Spanish localization by @Texaliuz in https://github.com/Patbox/TextPlaceholderAPI/pull/77 * Added language support for Turkish with tr_tr.json by @Runteryaa in https://github.com/Patbox/TextPlaceholderAPI/pull/84 * Create uk_ua.json by @StarmanMine142 in https://github.com/Patbox/TextPlaceholderAPI/pull/94 ## New Contributors * @NumberSir made their first contribution in https://github.com/Patbox/TextPlaceholderAPI/pull/63 * @Texaliuz made their first contribution in https://github.com/Patbox/TextPlaceholderAPI/pull/77 * @Runteryaa made their first contribution in https://github.com/Patbox/TextPlaceholderAPI/pull/84 * @StarmanMine142 made their first contribution in https://github.com/Patbox/TextPlaceholderAPI/pull/94 **Full Changelog**: https://github.com/Patbox/TextPlaceholderAPI/compare/3.0.0-beta.2+26.1...3.0.0+26.1
release

3.0.0-beta.2+26.1

3.0.0-beta.2+26.1
18 мар. 2026 г.2,7 млнMinecraft: 26.1-pre-3, 26.1, 26.1.1, 26w14a, 26.1.2fabric
Скачать
Что нового
**Full Changelog**: https://github.com/Patbox/TextPlaceholderAPI/compare/3.0.0-beta.1+26.1...3.0.0-beta.2+26.1
beta

3.0.0-beta.1+26.1

3.0.0-beta.1+26.1
14 февр. 2026 г.5,9 тыс.Minecraft: 26.1-snapshot-7fabric, quilt
Скачать
Что нового
First release for new cycle! Includes bunch of refactors and renames and intruduces support for common and client placeholders! For migration, most notable changes: What previously was PlaceholderContext was moved to ServerPlaceholderContext, and alike (ParserBuilder changed placeholders() -> serverPlaceholders()) for those who want previous features. Renamed getText and alike to getComponent. TextNodes are still TextNodes through. **Full Changelog**: https://github.com/Patbox/TextPlaceholderAPI/compare/2.8.1+1.21.10...3.0.0-beta.1+26.1
release

2.8.2+1.21.10

2.8.2+1.21.10
1 февр. 2026 г.11,7 млнMinecraft: 1.21.10, 1.21.11fabric, quilt
Скачать
Что нового
**Full Changelog**: https://github.com/Patbox/TextPlaceholderAPI/compare/2.8.1+1.21.10...2.8.2+1.21.10
release

2.8.1+1.21.10

2.8.1+1.21.10
25 окт. 2025 г.10,5 млнMinecraft: 1.21.9, 1.21.10, 1.21.11-pre1, 1.21.11fabric, quilt
Скачать
Что нового
## What's Changed * Add player head texture argument by @DrexHD in https://github.com/Patbox/TextPlaceholderAPI/pull/87 **Full Changelog**: https://github.com/Patbox/TextPlaceholderAPI/compare/2.8.0+1.21.9...2.8.1+1.21.10
release

2.8.0+1.21.9

2.8.0+1.21.9
28 сент. 2025 г.3,6 млнMinecraft: 1.21.9-rc1, 1.21.9, 1.21.10fabric, quilt
Скачать
Что нового
**Full Changelog**: https://github.com/Patbox/TextPlaceholderAPI/compare/2.8.0-rc.1+1.21.9...2.8.0+1.21.9
release

2.8.0-rc.1+1.21.9

2.8.0-rc.1+1.21.9
17 сент. 2025 г.689Minecraft: 1.21.9-pre1, 1.21.9-pre2, 1.21.9-pre3fabric, quilt
Скачать
Что нового
**Full Changelog**: https://github.com/Patbox/TextPlaceholderAPI/compare/2.7.2+1.21.8...2.8.0-rc.1+1.21.9