ModsFinder

Text Placeholder API (Neoforge edition)

by downloadableduck

Text Placeholder API is a NeoForge library for setting and replacing placeholder values in text, built on Minecraft's Component translation system.

NeoForgeClient-side onlyGNU Lesser General Public License v3.0 onlyOpen source26.1 – 26.1.2

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

  1. Placeholder values

    Text can carry placeholder values that are set and replaced at runtime by code that uses the library.

  2. Component-based text

    Replacement works through Minecraft's Component translation system, so the results follow the game's own text handling.

  3. Scenario-based replacement

    The same text can be switched to different values depending on the scenario a mod sets up.

  4. 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.

26.1.23.0.0+26.1
26.1.13.0.0+26.1
26.13.0.0+26.1
ReleaseBetaAlphaNot available

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?

No. Players add it to their own game, and a server needs no copy. Servers do not need it installed.

Which game versions does the NeoForge build support?

Files are published for 26.1, 26.1.1 and 26.1.2. The latest is 3.0.0+26.1 for 26.1.2, released on 2026-05-03.

What does the mod id placeholderapi mean for a NeoForge project?

NeoForge support uses underscores in the mod id, so the id is placeholderapi. Mods that depend on the library should use this id when declaring the requirement in neoforge.mods.toml.

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

All projects

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…
downloadableduck, on the Modrinth page

Official listing

Owner
downloadableduck
Published
2026-05-02
Updated on Modrinth
2026-05-03
Facts verified
2026-10-15

Tags