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
Smooth Journey
Dyonizel Modpack
Vanilla Reimagined by jhovem
HCT - Hexandcube's Client Tweaks
Stella's Hypixel Skyblock Mods
Pvp Optimizer
EMF
Strawberry Flavored
PepeBright
Donut Vanilla
The Grand Quest
FPS+
Amazingly Optimized
The Ultimate PVP Modpack
Beacoland
Dungeons & Crafting
Syleika Essentials
Visual Vanilla
Yeemo
Dev Relief
SimpleSurvival
Hypixel Skyblock [Simple]
Refined Vanilla
Azur
Salted Caramel
VisualCraft by Moizoref
Clovercraft Ultimate
Modern Beta
Craftville Modpack
G-Craft
Pony Pony Panic
Just Optimised
SaoWorld - Unofficial
Tempel der Schwizer Punchy-mische
Forever Perfectly Simplified (FPS)
Actions & Visuals
Vervain's Integrated Modpack for Performance
Awesomely Optimized
Journey's End Vanilla
DragLed Optimized
PvP Remaked
Celestial Performance [QoL]
Dasher
ImmersiveMC - IMC2
Simplicity Refabricated: Vanilla+
Unbelievabled FPS
We The Nerds
AstralPVP
Riptidium
Muoh Optimize Modpack (Pojav + Pc)
OptiFabric Plus (OFP)
Damine optimized
SIMPLY: Survival
Cobblemon Empire
Smooth Pack
Salbox's Technical MC
BTE Germany Modpack
Vanilla Optimized Plus
Sitrus Cobblemon - [MOBILE]
ABHI FPS BOOST
Spade's Vanilla+
Vanilla Remaked
ATOMLAND Optimized
AgoniaPack
Epinephrine
Legacized
Peak Vanilla Premium by Gewie
LebaneseMC
Mobile Optimized
BlackRose's Shenanigans
Maxed Optimized
Liquid Client
the ultimate fps engine
Bare PVP
TPSRX - Enchanted
Realms Server Modpack (Season 13)
barelyoptimized
Quick Vanilla+
Kool Optimized Studio (BBS)
Optimization Plus
GalleyRP Askalon
Few Years Later…
FurCraft
Simple Vanilla Overhaul
Cobblemon Nebula
Smooth Journey (Lite Version)
RGaming X FPS Boost
AzaleaPlays SMP
Miras's modpack for phones
X's enhanced experience
ImmersiveMC - IMC1
PvP+: Reimagined
Clovercraft Essentials
Racsu Planet+
WildLight
Minecraft Baseball For Lunar Client
Purely Optimised
fWhips Fwabulous Modpack
Mostly Optimized (FABRIC)