Skip to content

OffsetMods538/TextPlaceholderAPI-NeoForge

 
 

Repository files navigation

About Placeholder API NeoForge

This is an unofficial port of Placeholder API to NeoForge, check out the original by Patbox here and a Paper port here.

Placeholder API is a small, JIJ-able API that allows creation and parsing placeholders within strings and Minecraft Text Components. Placeholders use simple format of %modid:type% or %modid:type/data%. 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 of the original Fabric version at https://placeholders.pb4.eu/!

Developers

To depend on Placeholder API NeoForge, add the following to your buildscript:

repositories {
    // ... other repositories
    maven("https://maven.offsetmonkey538.top/releases") { name = "OffsetMonkey538" }
}

dependencies {
    // ... other dependencies
    implementation "eu.pb4:placeholder-api-neoforge:[VERSION]"
}

This will allow you to use the library in your project, but requires users to manually download it.
If you want to JIJ the library, see the NeoForge documentation for how to do so here.

Make sure to replace the [VERSION] with an actual valid version. For a list of available versions, check the maven here.

About

Placeholder API for NeoForge

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Java 100.0%