Мова

Text Placeholder API

Text Placeholder API

Modrinth

Placeholder and Text manipulation library for your Minecraft mods.

58.2M завантажень 1.6k підписників оновлено 2mo ago
остання v3.1.0-beta.1+26.2 Modrinth
Fabric Quilt 1.17 – 26.2 Library

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.1.0-beta.1+26.2
fabric · 26.2-pre-1, 26.2 · 2mo ago
**Full Changelog**: https://github.com/Patbox/TextPlaceholderAPI/compare/3.0.0+26.1...3.1.0-beta.1+26.2
4.2M
Release
3.1.0-beta.1+26.2
fabric · 26.2-pre-1 · 2mo ago
**Full Changelog**: https://github.com/Patbox/TextPlaceholderAPI/compare/3.0.0+26.1...3.1.0-beta.1+26.2
718
Release
3.0.0+26.1
fabric · 26.1, 26.1.1, 26.1.2 · 4mo ago
## 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…
3.5M
Release
3.0.0-beta.2+26.1
fabric · 26.1-pre-3, 26.1, 26.1.1 · 5mo ago
**Full Changelog**: https://github.com/Patbox/TextPlaceholderAPI/compare/3.0.0-beta.1+26.1...3.0.0-beta.2+26.1
2.7M
Beta
3.0.0-beta.1+26.1
fabric, quilt · 26.1-snapshot-7 · 6mo ago
First release for new cycle! Includes bunch of refactors and renames and intruduces support for common and client placeholders! For migration, most notable…
5.6k
Release
2.8.2+1.21.10
fabric, quilt · 1.21.10, 1.21.11 · 6mo ago
**Full Changelog**: https://github.com/Patbox/TextPlaceholderAPI/compare/2.8.1+1.21.10...2.8.2+1.21.10
7.7M
Release
2.8.1+1.21.10
fabric, quilt · 1.21.9, 1.21.10, 1.21.11-pre1 · 9mo ago
## What's Changed * Add player head texture argument by @DrexHD in https://github.com/Patbox/TextPlaceholderAPI/pull/87 **Full Changelog**:…
10.1M
Release
2.8.0+1.21.9
fabric, quilt · 1.21.9-rc1, 1.21.9, 1.21.10 · 10mo ago
**Full Changelog**: https://github.com/Patbox/TextPlaceholderAPI/compare/2.8.0-rc.1+1.21.9...2.8.0+1.21.9
3.6M
Release
2.8.0-rc.1+1.21.9
fabric, quilt · 1.21.9-pre1, 1.21.9-pre2, 1.21.9-pre3 · 11mo ago
**Full Changelog**: https://github.com/Patbox/TextPlaceholderAPI/compare/2.7.2+1.21.8...2.8.0-rc.1+1.21.9
623
Release
2.7.2+1.21.8
fabric, quilt · 1.21.6, 1.21.7, 1.21.8 · 11mo ago
## What's Changed * Fix parsing during server start by @arvitus in https://github.com/Patbox/TextPlaceholderAPI/pull/83 ## New Contributors * @arvitus made…
2.3M
Release
2.7.1+1.21.6
fabric, quilt · 1.21.6, 1.21.7, 1.21.8 · 14mo ago
**Full Changelog**: https://github.com/Patbox/TextPlaceholderAPI/compare/2.7.0+1.21.6...2.7.1+1.21.6
3.2M
Release
2.6.4+1.21.5
fabric, quilt · 1.21.5 · 14mo ago
**Full Changelog**: https://github.com/Patbox/TextPlaceholderAPI/compare/2.6.3+1.21.5...2.6.4+1.21.5
1.9M

Коментарі 0

Поки немає коментарів. Будь першим, хто поділиться думкою.

FAQ

Як встановити Text Placeholder API?

Завантажте файл під свою версію Minecraft і завантажувач із цієї сторінки, потім покладіть .jar у папку mods (або plugins) і запустіть гру.

Text Placeholder API безкоштовний?

Text Placeholder API можна завантажити безкоштовно на Modgrid — ми ведемо прямо до офіційного джерела.

Які версії Minecraft підтримує Text Placeholder API?

Працює з Fabric, Quilt. Підтримуються версії 1.17–26.2. Перелік підтримуваних версій і завантажувачів — у блоці завантаження на цій сторінці.

Завантажити Text Placeholder API

R 3.1.0-beta.1+26.2 26.2-pre-1, 26.2 fabric 249 KB R 3.1.0-beta.1+26.2 26.2-pre-1 fabric 249 KB R 3.0.0+26.1 26.1, 26.1.1, 26.1.2 fabric 248 KB R 3.0.0-beta.2+26.1 26.1-pre-3, 26.1, 26.1.1 fabric 241 KB B 3.0.0-beta.1+26.1 26.1-snapshot-7 fabric, quilt 237 KB R 2.8.2+1.21.10 1.21.10, 1.21.11 fabric, quilt 262 KB R 2.8.1+1.21.10 1.21.9, 1.21.10, 1.21.11-pre1 fabric, quilt 262 KB R 2.8.0+1.21.9 1.21.9-rc1, 1.21.9, 1.21.10 fabric, quilt 259 KB R 2.8.0-rc.1+1.21.9 1.21.9-pre1, 1.21.9-pre2, 1.21.9-pre3 fabric, quilt 259 KB R 2.7.2+1.21.8 1.21.6, 1.21.7, 1.21.8 fabric, quilt 257 KB R 2.7.1+1.21.6 1.21.6, 1.21.7, 1.21.8 fabric, quilt 254 KB R 2.6.4+1.21.5 1.21.5 fabric, quilt 252 KB R 2.7.0+1.21.6 1.21.6-pre2, 1.21.6 fabric, quilt 255 KB R 2.6.3+1.21.5 1.21.5 fabric, quilt 251 KB B 2.6.3+25w14craftmine 25w14craftmine fabric, quilt 251 KB R 2.6.2+1.21.5 1.21.5 fabric, quilt 251 KB R 2.6.1+1.21.5 1.21.5-rc1, 1.21.5 fabric, quilt 248 KB R 2.6.0+1.21.5 1.21.5-rc1 fabric, quilt 246 KB R 2.1.1+1.19.4 1.19.3, 1.19.4 fabric, quilt 132 KB R 2.1.4+1.20.1 1.20.1 fabric, quilt 143 KB R 2.2.1+1.20.2 1.20.2-rc2, 1.20.2 fabric, quilt 143 KB R 2.4.0-pre.3+1.20.4 1.20.3, 1.20.4 fabric, quilt 225 KB R 2.4.0-pre.2+1.20.5 1.20.5-rc1 fabric, quilt 225 KB R 2.4.2+1.21 1.21, 1.21.1 fabric, quilt 227 KB R 2.5.2+1.21.3 1.21.2, 1.21.3, 1.21.4 fabric, quilt 232 KB R 2.5.1+1.21.3 1.21.3, 1.21.4 fabric, quilt 232 KB R 2.5.0+1.21.2 1.21.2-rc1, 1.21.2, 1.21.3 fabric, quilt 228 KB R 2.4.1+1.21 1.21, 1.21.1 fabric, quilt 227 KB R 2.4.0+1.21 1.21 fabric, quilt 225 KB R 2.4.0-pre.1+1.20.4 1.20.4 fabric, quilt 225 KB R 2.4.0-pre.2+1.21 1.21-pre2, 1.21 fabric, quilt 225 KB R 2.4.0-pre.1+1.20.5 1.20.5-rc1, 1.20.5, 1.20.6 fabric, quilt 225 KB R 2.3.0+1.20.3 1.20.3-rc1, 1.20.3, 1.20.4 fabric, quilt 144 KB R 2.2.0+1.20.2 1.20.2-rc2, 1.20.2 fabric, quilt 143 KB R 2.1.3+1.20.1 1.20.1 fabric, quilt 143 KB R 2.1.2+1.20.1 1.20.1 fabric 138 KB R 2.1.1+1.20 1.20, 1.20.1 fabric 133 KB R 2.1.0+1.19.4 1.19.4 fabric, quilt 131 KB B 2.0.0-rc.1+1.19.3 1.19.3 fabric, quilt 115 KB B 2.0.0-pre.1+1.19.2 1.19.1, 1.19.2 fabric, quilt 105 KB B 2.0.0-beta.7+1.19 1.19 fabric, quilt 87 KB R 1.1.3+1.17.1 1.17, 1.17.1, 1.18 fabric, quilt 45 KB

Файли надаються напряму з першоджерела. Modgrid не зберігає та не змінює їх.