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
PVP Pro
Hydro Vanilla SMP Mods
MineboxModPack
Astrion
Zalitherlauncher Boost FPS
AVE - Amethyst Vanilla Extended
Happy Sandwich
L&M Essentials
OptiDroid
POKEPURAM-SMP
Danmo
NecoPack
Decently Optimized
Cobblemon Origins
Speedrunners
Vulkanized Pojav
SuperSMP Pack
Optimal Survival
Quality Of Voxy
BewisclientPack
CubesidePack
Felpscraft
Fabric-reinforced Lucky OneBlock
Skyblock MasterPack - Hypixel Skyblock
NanoFabric
BuildingModpack
TEDS Plus
Bare Bone's Basic's
Bodkin Boats League
Client Essentials
Dark Fantasy Reborn
Compbuild Luminium
World-Editor+
editon's Modpack
cloudmoon
Better PvP Optimize
Sakura Client
Immersive Vanilla
KITTENTHEIII's VR MODPACK
StickCraft Gamepad Edition
FlamePack Sodium
Borukva Modpack
emad modpack
Feather Weighted MC
HugoSMP
ApolloOptimized
The CobbleMMO
Chill
SVC Server Modpack
动作优化
Wildera SMP
Hackerbbrine's Optimizations
Better fps than vanilla and optifine
Unstable Unfathon - MODPACK
Pixel Craft
Vulkan Chapter Of Potato PVP
QoL++ for Fabric
Vanilla+ Game
Lukas-vanilla-pack
LoKendGat's pvp modpack
PepeLite
Dylan's Awesome Mod Pack
Sitrus Cobblemon - [PC]
Project AZOTH Cobblemon Modpack
Fever fps
VictoriaCraft
Spyro Modpack
mistview's pvp modpack
Just Vanilla Things
Velocity
Vulkanium
TchicX Modpack
Magnetia Modpack
Banandez Optimized
Freshly Distant
Furrest Modpack
Electricity Generation Integration Package
Kart's Chaotic Kit
Nations Event
Always Updated
BasicPackage
asphyxia mods
Usefully Optimized
Windows Edition
Simple Server Set: Base
Optimus
Simonuwu Fabric Project
Coperium Enhanced
EasyBuild
Mods MC
Better look
Axolotl PVP+
Voxy with Shader
Performance Step Up
Better Than Vanilla
VanillaEnhancedCraft
Optimum Performium