Описание
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](https://modrinth.com/mod/placeholder-api)
For Developers
**Setting up your project**
Add Modrinth to your repositories block.
```groovy
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
```
Now do implementation
```groovy
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**.
```toml
[[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