Text Placeholder API
ModPlaceholder and Text manipulation library for your Minecraft mods.
Description
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.
- Getting Started
- Adding placeholders
- Parsing placeholders
- TextNodes and NodeParsers
- Using Simplified Text Format (TextParserV1)
*[JIJ]: Jar-in-Jar
Compatibility
Mod Loaders
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Just Enough Items (JEI)
View Items and Recipes
Cloth Config API (Fabric/Forge/NeoForge)
Config Screen API for Minecraft
Mouse Tweaks
Enhances inventory management by adding various functions to the mouse buttons.
Fabric API
Core API library for the Fabric toolchain
AppleSkin
Adds some useful information about food/hunger to the HUD
GeckoLib
A 3D animation library for entities, blocks, items, armor, and more!
Included in Modpacks (1,649)
Show fewer
Vulkan Vitalised
Wonders Reimagined
Mytocrafted
UNIPACK
Roimy Zomsa’s Lightweight Mods
Antariad
CobbleSAS
Celerium
Massively Optimized
The OnlyJugs Pack
Telium
SEAF MC Modpack
Backrooms 71
Survival Recrafted
KnopiaPack
Lively Vanila
RС QoL
Candyy
Maniac's Adventure
"Just Trickster"
Vulkan Core
Jannes Modpack
Cookies&Cream Modpack LITE
PoCraft
Nayxo's Trailer Modpack
WynnCat
Almost Pure Vanilla
JS Combat Pro
vilmiComfort
Dense Client
Flynn's Modpack
Motions and Smooth
The Ultimate Vanilla Experience
Save My PC
Cody's Cobblemon Adventure
Fren Worl Pack
Game Speed Optimized
Dystopia Network Official
VR Light Vanilla
Era of Civilization
SquareIo ModPack
BULA SMP
BTE: Cono Sur
Bastelgruppen Client
minehak&krutosh2's Pompous PepeLand Playground
Just Essential Survival modpack
Lords of Minecraft QoL Modpack
Andromeda
KillManiac's modpack
The Better Pokeblocks Modpack
Jellisy Vanilla
Jitsonville Pack
Renice Cubed
lestx's Barely Vanilla
The True Vanilla
Perfect Donuts
Celestial: Reborn
Serenor
MC++
SkullClient
KeeKee's SMP Complete
Properly Optimized // [1.3.2]
Main Client
Simple Survival Immersion - SSI
Cobblemon Extra
Terra Nexus
Cozmic's Vanilla Enhanced
Flamee Pack
Fermium
EdonMe Survival
Wild Frontiers
Ekaii Plus
FPSCore
Sorcerer
Fedorista's Modpack
All The Clients
MarchewkaSMP
ftehe's Vanilla+
Vanilla Core
ChaMods
KeeKee's SMP Visual
Opal
Vivid Motions
LynhanSMP Modpack
CobbleAdventures Official Modpack
High-Performance Pro+
Crazy Craft Server Modpack
OPLAZEY
BagelSMP optimizer
Creatively Create
NasheyPvP
Vanilla Revamped
Semarina
Cobblemon Extended (LD16)
Onyx
Vulkanoid
THREE DEE
Clarity
Abyss Server Pack
MineCrew-Extra