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
Nvidium Performance (Full)
RLFabric
Vulkanite
CastCrafter CA14 Mische
TalonMC Cobblemon
LunarFox
Void's essentially optimized pack
S3eed Experience
红石生电极速版【Redstone speed version】
OneClient (SkyBlock)
Cobblemon Optimised
PVP Pack
Spirity Optimized
Client+
ALAND's Optimized Hypixel SkyBlock
Bare Bones Improved
Tropimon
Vanilla Reimagined+
Pixelax
Physics Modpack
CobbleKanto - A Cobblemon Adventure
TheoBalds PvP Map
Horror Reborn
Ultimately Optimized - Vanilla but Better!
New Horizons
CobbleGems
ObsidianFPS
Sideyy Boost
Framework
Sodium Booster
Ryan Cliffords VR Experience 3
PvP Beyond
Stars Optimized
CastCrafter Survival Server
KPBSPM - SPm Edition
Ultimate FPS
DonutSMP Pack
Crystal PvP Modpack
VaniX
Fastly Optimised
Nickly Optimized
Building Blocks
DonutSMP+
Optimized Maxima
Uton Optimizator
Unstable SMP Recreation
Minecraft+
Ultimate CPVP
Polymania!
Technically Enhanced
Alinea Essentials
Fastest Client
Actions and Smooth
Animated & Fun
Mojo Optimized
Gobba's Crystal PVP Modpack
WynnX
Better MC
Crystal Verse
Mega's SkyBlock
Vanilla Extension
Fps Optimized
ServidorCobblemonOficial
max's smp pack
Incy PLUS
Starlight
Plutonium
PVP Optimizations
Simple Performance
FemCraft Client
Train Yard
Batoon's Modpacks: PVP Utility's
Counter Mine 2 - Optional Mod Pack
BasicCraft
Azure Visuals
Modern Hypixel SkyBlock
Aura
MCC Island Optimised
BareBones VoiceChat
Origin Realms Beyond
Tacz Optimization
CoreCraft
Vanilla Plus
OptiPVP
Blood on the Clocktower
Core Optimized
zOptimized
All you need: Crystal PVP
Hoplite+
DexMasters [Cobblemon]
Ranked Optimized
BastiGHG's CraftAttack 13 Mische
Velocity
FPS + PVP BOOST