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
Pulse lite
Outatime Gamers Vanilla+
Quantum FPS
CatModOpti
VanillaFlex
Project Overclock
CobbleHelx Modpack (Cobblemon)
Note Block SMP
The Krabby Patty
ImagineFun For Lunar Client
Fox's Ultimate MacBook Modpack
just another copy A&S
Rodd's Shadow League MAIN
BeyondCraft
Banquito
advanced graphics
AnstorePack
Optimizium
Super Mario Mash Up Pack Deluxe
JMFPS
FortMine ++
Refresher
FenixCraft Optimized
Crazily Optimized
You and Ambience!
Sky's Vanilla
Rise of the Ancients
SMP Starter Pack
MacOS Ready
43rd Flying Modpack Reborn
HighTide
Cute buff
LD: A life's dungeon
HeySMP.de
shah bid
Minetlan
Vanilla Deluxe
Aetheria Cobblemon Modpack
JS Life+
Creator Optimized
Bingotopia
MerVik’s Vanilla+
Glatzencraft
Autumn core
Echoes of Alpha: The Herobrine Myth
ISMP S5 singleplayer and server modpack
Refined
HDR+
MC23s Modpack
GenPlus
Wolf's Enhanced Vanilla
Minimal Boating
Simply Optimized But Better
Sven's Venture
Balanced Origins
CityKingFPS
CreatorCraft 2
Superbly Optimized
Silver Age+
Suzeren Optimization
Miummy!
MC Plus
Simple Optimized Vanilla
Void-Attack
YaLikeFPS?
Vanilla Reloaded
Ultimate Client
Pixel's Simply Reoptimized
HighBarBlue's Vanilla+ Modpack
Vanilla Plus+++
Steinbank Refined
AdemEXE
AwACraft Client Side Pack
glutchy's performance modpack
ElunovaPack
Peace Optimizer
Performium [expanded]
DonutSMP Enhanced
Bosstimized
Hyblock
Amethyst Eclipse
kraizipack
SiestaSMP Modpack
Beta Redux
RE:mix
Vulkan: X-Lite
Vanilla Essencia
ImmerseMON [Cobblemon]
prjkt333
Janis1895
SimplyCraft
Craft And Chill
CraftCore Modpack
SuperCraft
Lotus Vision
VPatchcraft
Bastelgruppen Client Optimized
Ultimate Hypixel Mining
Refabricated Villagers: Vanilla+
Neoclassic