Modhold
Minecraft
Freev3.2.0+26.3

Text Placeholder API

Placeholder and Text manipulation library for your Minecraft mods.

Patbox3 @PatboxCredited author
Sign in to download One-click install with the free Modhold app. Get the app
Share
X Facebook Reddit

Sign in to get 25 XP when someone opens your link.

0Unique downloads
76.8MDownloads, all sites
3Views
0Vouches
–no scores yetScore
Shared under its open licence (LGPL-3.0-only)
Made by Patbox. Its licence lets anyone share it, with credit. See the proof · Original page · Are you Patbox?
About this modWritten by Modhold staff

Text Placeholder API is a small library for placing markers such as %modid:type% inside text, which compatible mods replace with live information. It also offers a simple style format, so configs and chat can be formatted without writing JSON by hand.

Kind
Library mod
Version
3.2.0+26.3
Needs
Nothing else
Installs with
The Modhold app

What it does

  • Placeholders parsed in strings and text components
  • Simple text format for styling without JSON
  • Lets compatible mods share one config style
  • Mods usually bundle it themselves

How to install

  1. Press Install on this page, or in the Modhold app.
  2. You normally need it only when another mod asks.
  3. Download the latest version if one is missing.

Developer docs are on the project page.

The author’s description by Patbox, shared word for wordRead it

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

Install

Put the .jar file in your Minecraft mods folder (with Fabric Loader installed for that Minecraft version), then start the game.

Requirements

  • Minecraft: Java Edition with Fabric

New to Minecraft mods? Read how to install Minecraft mods.

Credits

Patbox (Owner). Original page: https://modrinth.com/mod/placeholder-api

Permissions

Open licence: LGPL-3.0-only. Source code: https://github.com/Patbox/TextPlaceholderAPI. Original page: https://modrinth.com/mod/placeholder-api. Shared on Modhold under that licence and credited to its authors; the files are unchanged.

Permission proof

Why this mod is on Modhold

The mod's original page, where it says what the mod is:

The top of the mod's original page: its name, author and details

This mod is released under an open licence, LGPL-3.0-only, which lets anyone share it as long as its authors are credited and the licence comes with it. Its source code: github.com/Patbox/TextPlaceholderAPI · The licence

Captured 20 Nov 2026 from the original page. The author can claim this page, or have it taken down, at any time.