Compatibility
Minecraft: Java Edition
Platforms
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
About Placeholder API Compat
Latest release of Patbox's Text Placeholder API, but compatible with all Fabric Minecraft versions 1.14.4+
This fork is primarily created for my multi-version mod, Discord-MC-Chat.
Usage
For Users
Put the downloaded JAR file in the mods
folder.
For Developers
Only edit the common.gradle
file. There is no need to add the following to the wrapper's build.gradle
.
repositories {
maven {
name = "Nucleoid"
url = "https://maven.nucleoid.xyz/"
}
}
dependencies {
modCompileOnly("eu.pb4:placeholder-api:2.5.1+1.21.3")
}
Also edit all existing fabric.mod.json
files.
{
"depends": {
"fabricloader": ">=0.15.10",
"java": ">=21",
"placeholder-api-compat": "*"
}
}
Support
If there is a bug or suggestion, or something you don't understand, you can submit an issue on GitHub.
For compatibility issues, please submit your issues here. However, for issues related to the Placeholder API library itself, kindly direct your issue reports to the upstream GitHub repository. Thank you for your understanding!
Join my Discord server through: https://discord.gg/kbXkV6k2XU
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 information about usage (for developers and users) you can check official docs at https://placeholders.pb4.eu/!
*[JIJ]: Jar-in-Jar
License
This project is licensed under the LGPL-3.0 license.