Перейти к содержимому
Mineforgian

Text Placeholder API

Placeholder and Text manipulation library for your Minecraft mods.

48.0M загрузок1K подписчиковLGPL-3.0-onlyfabricquilt

Обновлён 27 мая 2026 г. · опубликован 7 мая 2023 г.

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

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
3.1.0-beta.1+26.2Релиз26.2-pre-1, 26.2fabric27 мая 2026 г..jar (249 КБ)
3.1.0-beta.1+26.2Релиз26.2-pre-1fabric27 мая 2026 г..jar (249 КБ)
3.0.0+26.1Релиз26.1, 26.1.1, 26.1.2fabric11 апреля 2026 г..jar (248 КБ)
3.0.0-beta.2+26.1Релиз26.1, 26.1.1, 26w14a, 26.1.2fabric18 марта 2026 г..jar (241 КБ)
3.0.0-beta.1+26.1Бета26.1-snapshot-7fabric, quilt14 февраля 2026 г..jar (237 КБ)
2.8.2+1.21.10Релиз1.21.10, 1.21.11fabric, quilt1 февраля 2026 г..jar (262 КБ)
2.8.1+1.21.10Релиз1.21.9, 1.21.10, 1.21.11-pre1, 1.21.11fabric, quilt25 октября 2025 г..jar (262 КБ)
2.8.0+1.21.9Релиз1.21.9-rc1, 1.21.9, 1.21.10fabric, quilt28 сентября 2025 г..jar (259 КБ)
2.8.0-rc.1+1.21.9Релиз1.21.9-pre1, 1.21.9-pre2, 1.21.9-pre3fabric, quilt17 сентября 2025 г..jar (259 КБ)
2.7.2+1.21.8Релиз1.21.6, 1.21.7, 1.21.8fabric, quilt26 августа 2025 г..jar (257 КБ)
2.7.1+1.21.6Релиз1.21.6, 1.21.7, 1.21.8fabric, quilt22 июня 2025 г..jar (254 КБ)
2.6.4+1.21.5Релиз1.21.5fabric, quilt2 июня 2025 г..jar (252 КБ)
2.7.0+1.21.6Релиз1.21.6-pre2, 1.21.6fabric, quilt2 июня 2025 г..jar (255 КБ)
2.6.3+1.21.5Релиз1.21.5fabric, quilt28 апреля 2025 г..jar (251 КБ)
2.6.3+25w14craftmineБета25w14craftminefabric, quilt3 апреля 2025 г..jar (251 КБ)

Показаны последние 15 из 42 версий. Все версии — на Modrinth.

Ченджлог

3.1.0-beta.1+26.2Релиз26.2-pre-1, 26.2 · 27 мая 2026 г.
3.1.0-beta.1+26.2Релиз26.2-pre-1 · 27 мая 2026 г.
3.0.0+26.1Релиз26.1, 26.1.1, 26.1.2 · 11 апреля 2026 г.

What's Changed

New Contributors

Full Changelog: https://github.com/Patbox/TextPlaceholderAPI/compare/3.0.0-beta.2+26.1...3.0.0+26.1

3.0.0-beta.2+26.1Релиз26.1.1, 26w14a, 26.1.2 · 18 марта 2026 г.
3.0.0-beta.1+26.1Бета26.1-snapshot-7 · 14 февраля 2026 г.

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

2.8.2+1.21.10Релиз1.21.10, 1.21.11 · 1 февраля 2026 г.
2.8.1+1.21.10Релиз1.21.10, 1.21.11-pre1, 1.21.11 · 25 октября 2025 г.
2.8.0+1.21.9Релиз1.21.9-rc1, 1.21.9, 1.21.10 · 28 сентября 2025 г.

Полная история изменений — на Modrinth.

Комментарии

Загружаем…