Pluto's Drinks API (or PDAPI for short) is a (not so) simple API mod for the Pluto's Drinks Series that adds customizable drinks.
While this is an API mod, it does add some Runtime features into the game, including:
/drink command for setting/retrieving amount of caffeine (and other chemicals) in playersWhile you are free to use this in your own projects, this API is still in Beta and I am still developing the Pluto's Drinks Series, meaning I will often rewrite and fiddle around with various parts of the code thus causing several breaking changes in minor versions of the mod.
Nonetheless...
If you wish to use this API in your own Mods, add the following to your build.gradle and gradle.properties files. See modrinth or github for the latest version.
build.gradle
repositories {
maven { url = "https://maven.shedaniel.me/" } // Cloth Config
maven { url = "https://maven.plutonia.xyz/maven" } // PDAPI
}
dependencies {
modImplementation "ml.pluto7073:pdapi:${minecraft_version}+${pdapi_version}"
}
gradle.properties
pdapi_version=VERSION_NUMBER
No, I lack the time, attention span, and motivation to learn an entirely new modloader
Completely fine as long as you credit me and link back to the Modrinth or GitHub page for this mod.

A small little API Mod for the Pluto's Drinks Series