ModMC
Text Placeholder API

Text Placeholder API

Easily manage dynamic text and placeholders across mods with this versatile API

74.61M1.9kModLibraryManagement
Download3.2.0+26.3 · MC 26.3All files →

About Text Placeholder API

Text Placeholder API is a lightweight library enabling mods to handle dynamic text and placeholders. It provides a standardized way to insert and parse data into strings and Minecraft Text Components using formats like %modid:type% or %modid:type data%. This allows for flexible text customization without requiring complex JSON formatting.

The API changes gameplay by making text customization more accessible. Players can use simplified text formats to style messages, configure settings, or create chat commands without manual JSON. Developers can integrate placeholders into their mods, enabling features like dynamic tooltips or config-based text formatting.

Ideal for mod developers looking to improve compatibility and for players managing complex mod setups. It suits mods that need to display dynamic information, such as stats, achievements, or configuration options, while maintaining readability and ease of use.

In a modpack, this API helps unify text formatting across multiple mods. It reduces conflicts by providing a shared system for placeholders and text parsing, making it easier to create cohesive user experiences and manage configuration files across different mods.

Features

  • Supports placeholder creation and parsing in strings and Text Components
  • Simplified text format for easy styling without manual JSON
  • Standardized placeholder syntax for mod compatibility
  • No required dependencies for mod integration
  • Optional client/server-side implementation
  • JAR-in-JAR compatibility for mod distribution
  • Version range from 1.17 to 26.3

Tips

  • Start with simplified text format for config files and chat messages
  • Check mod placeholder lists to avoid conflicts with other mods
  • Use placeholder parsing for dynamic text in UI elements or tooltips
  • Test placeholder compatibility across different mod versions

How to install

  1. Install Fabric / Quilt for your Minecraft version (use the official installer).
  2. Download the file that matches your Minecraft version and Fabric / Quilt.
  3. Open the .minecraft folder and put the file into the "mods" folder (create it if missing).
  4. Launch Minecraft with the Fabric / Quilt profile.

FAQ

Does this work with multiple Minecraft versions?

Supports 1.17 to 26.3, including latest 26.3 and 1.21.11.

Are there any required dependencies?

No dependencies needed for mod integration.

Can it be used on servers?

Optional server-side implementation available for mod compatibility.

Download Text Placeholder API

Fabric API

Fabric API by modmuss50

Enables seamless mod interactions and core functionality for Fabric mods

ModLibraryFabric
296.67M downloads38k followers 2 hours ago
Cloth Config API

Cloth Config API by shedaniel

Simplifies mod configuration screens for smoother gameplay

ModLibraryFabricForgeNeoForge
188.83M downloads17k followers 2 weeks ago
YetAnotherConfigLib (YACL)

YetAnotherConfigLib (YACL) by isxander

Streamline mod configs with a flexible, intuitive library

ModLibraryManagementUtilityFabricForgeNeoForgeQuilt
137.62M downloads10k followers last week
Fabric Language Kotlin

Fabric Language Kotlin by modmuss50

Enables Fabric mods written in Kotlin to run properly in your game without adding extra blocks or items.

ModLibraryFabric
134.06M downloads12k followers 4 days ago