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
Saphyre MC
FugCraft
Richard's Vanilla
Spectacular FPS
Endo Vanilla
hardcore-pvz
Sorbet
MonyaPack
Eshkere-modpack
OptimizedPVP+
Complimentary Vanilla
Perfect Java
Vanilla Peak
CloudyWorlds Modpack
Zynirium
BiteForceMC Cobblemon
PurpleSMP
WGame
NWB Vanilla
VortexCraft
NSmp
Netherite-Client
Potainium Optimized
AlphaCraft Essentials
Redmium
Minecraft: Promo Edition
Turkuć SMP: PENTIMENTO
Embervale SMP
Andy's Vanilla+ Modpack
Fidelity
Jotunheimr
Lotsa Modsa Fanficial
LokelPack
The Harpy Express: Cat's Expresso
Survival singleplayer/multiplayer
foxward-lite
FlamePack Re-Vulkanized
Lucidity+
More Vulkan
SkyBloke
DittoLand Cobblemon
MrOptituber
VANILLA FPS (VF+)
Сборка для сервера PRISMA
Epic Adventure Craft: Super Survival
Ideal Vanilla
FLUSTIFY OPTI LITE
Intelligento's Building Mods
SJ Boost
Anything is Possible Reborn (AIPr)
Vanilla Re-Envisioned
The Suncat Express
Dominion Basics pack
Slightly Vanilla
Hayfield's MC+
MacCraft
Simply Rudimentary
Stardust Meadows Server Modpack
Cobblemon Harmony Modpack
Paradise ModPack
Modded Bridge
[FMCS-H] fps X media X crystal x survival Optimized HIGH
Fishy's Client
Convenient Optimization
Refugium
TKS SMP
Mutzman's Modpack
PvP Tiers Pack
The Frame Machine
Re-Crafted 2
Remboy perfect
GENMON
Faithfully optimized
Pvp Optimized Pack
BetterImproved
Хрєкотрон
Shivtanium Client
Hisoka Optimized
New Stars Cobble [1.7 Fresh WIPE]
Vanilla Mastered
FarmItCraft
BOSS KIT
Skyblock Ascended
Craft Attack 14 Pack
JustPack
HoopieSMP
Vanilla Planifolia
Commands Pack
PSG BOOST
JS Basic Play
Perfectly Optimised
Tomato Performance Pack
Trial by Farmer
The ELemental Deathcord Smp
Piekarnia Modpack
Better Hypixel Experience
Randomize Optimized
Main by Waldnetworks
A Toca da Coruja Modpack - Lite
Core PvP