
Text Placeholder API (Neoforge edition)
Set placeholder values in text and manipulate them as you please
This is a port of the Text Placeholder API for Neoforge, which is a library that allows you to manipulate text and values easier when using Minecraft's Component and translation system: for example, replacing text with text that is changed and switched up depending on the scenario.
For anyone not aware, this is a library mod and doesn't do anything on its own - it provides tools for other modders to use.
Original mod here
For Developers
Setting up your project Add Modrinth to your repositories block.
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
Now do implementation
dependencies {
implementation "maven.modrinth:tpan:3.0.0+26.1"
}
Add this as a requirement in your neoforge.mods.toml. Because Neoforge does not support underscores the mod id is placeholderapi.
[[dependencies.${mod_id}]]
modId = "placeholderapi"
type = "required"
versionRange = "[3.0.0+26.1,]"
ordering = "NONE"
side = "BOTH"
As with the original project feel free to JIJ this one
Как поиграть с друзьями с модом Text Placeholder API (Neoforge edition)?
Мод Text Placeholder API (Neoforge edition) куда интереснее в компании: поднимите сервер Майнкрафт с уже установленным модом, позовите друзей и играйте по своим правилам. Хостинг Майнкрафт для мода Text Placeholder API (Neoforge edition) будет готов за пару минут - BungeeHost сделает всё за вас.
