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
MVanilla
Beautiful For You
Superior Performance
Joseph'ly Optimised
Villmarka SMP
UnitedUnion
Jack Pack
Chomagerie
Nightfall SMP Modpack
Yet Another Client Modpack
Ali's PvP
aFrog's CPVP Modpack
vanilla reimagined
SeasonCraft Client-Side Modpack
AgoniaPack Lite
FabLab IOT Workshop
FortPerf
Withered Isle
BananaMC
Sakurahelm Modpack
Atmosphere
Fluidity
Unreal Vanilla
ctrlverge optimize
Optim+
Standarijn
Saturn
SuperVanilla+
Tenqui's MC: Director's Cut
Just a Random Vanilla Adventure
Smartly Optimized
Cobblemon Stargazing
Nirvanium
Vanilla+ Fabric Server
Cyan Sunset
WildWorld
Legend's Optimized FOR SURVIVAL
Exceedingly Optimized
Chaos & Adventure
Project 121
StarLeader's Satisfying Pack
Server705
Nikicraft
Pinktsune Hardcore+
iiZo7al PvP
TheScape Client
Vanilla Reimagined
Taetoe Resources
BEBOU
ArcBuds®
FiddlePack
Performance Only
FT-Client - Pack
The Fourth Wall SMP Modpack
Vanila+ by Sqeeze
JDi Client
Cal4mity's Tweaks
JustImproved
Legend's Optimized FOR BUILDER
MC: Serene Edition
CrabCraft Modpack
TLSS Modpack
Simplifium
WynnerCraft
BTE HKMU
WokPack Voxy
Valar
ATKs Performance Mods
Fabulous Vanilla
Vanilla PlusMinus
Bluelight Client
Purely Optimized (NVIDIA)
HeyJoshiii Community Modpack
Vanilla Vibes
GeekMon Modpack
KION | Vanilla Modpack
Cleanslate SMP Modpack
The HB Modpack
XG's OptiQoL
Ranziomon
PishMc - Modpack
Better Vanilla 123
BanderCraft.com Optimize+comfort Modpack
Vanguard Optimized
Everything Refined II
Formium Optimized
OptiMizaPion
Lemon pack
MeineKrafter Client+
Refabricated Beta
The Potato Archives
Amped Delight
Fabulously Matcha
QuackysVanillaQOL
Legitipack
RinkaMC Client Pack
Nolini135's Vanilla
Obsessively Optimized
Mortium optimised