Text Placeholder API (Neoforge edition)
Text Placeholder API is a NeoForge library for setting and replacing placeholder values in text, built on Minecraft's Component translation system.
What it does
Modders use the library to change text values without editing components directly. The author notes describe an example in which text is replaced and switched depending on the scenario, with the placeholder values set through the library's tools. The library itself adds no visible content to the game; it provides tools that other mods can call.
The project is set up by adding the Modrinth repository to the build, and by declaring the requirement in neoforge.mods.toml. Because NeoForge support uses underscores in the mod id, the library is identified as placeholderapi. The files target 26.1 – 26.1.2, and the latest is 3.0.0+26.1 for 26.1.2, released 2026-05-03. The code is under the GNU Lesser General Public License v3.0 only, and the project is open source.
Key features
Placeholder values
Text can carry placeholder values that are set and replaced at runtime by code that uses the library.
Component-based text
Replacement works through Minecraft's Component translation system, so the results follow the game's own text handling.
Scenario-based replacement
The same text can be switched to different values depending on the scenario a mod sets up.
Library for other modders
The mod has no content of its own and exists so that other mod developers can use its tools.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Modders building text features
A developer who needs text that changes with game state can call the library rather than write the substitution logic from scratch.
Project setup
Developers add the Modrinth repository and the requirement entry in neoforge.mods.toml to depend on the library.
Who it’s for: The library is aimed at mod developers working on NeoForge 26.1 – 26.1.2. Players who only want new content will not find anything to play with here, since the mod adds no blocks, items or screens.
Questions
Does Text Placeholder API need to be installed on servers?
Which game versions does the NeoForge build support?
What does the mod id placeholderapi mean for a NeoForge project?
In the catalog
Text Placeholder API (Neoforge edition) is one of 3,514 Library mods on ModsFinder, and one of 1,449 Library mods for NeoForge. 15,189 mods support Minecraft 26.1.2.
More from downloadableduck
Similar mods
What the author says
This is a port of the Text Placeholder API for Neoforge, which is a library that allows you to manipulate text and values easier when using Minecraft's Component and translation system: for example, replacing text with text that is changed and switched up depending on the scenario. For anyone not aware, this is a…
Official listing
- Modrinth page
- modrinth.com/mod/tpan
- Owner
- downloadableduck
- Published
- 2026-05-02
- Updated on Modrinth
- 2026-05-03
- Facts verified
- 2026-10-15
