跳到正文

Pluto’s Drinks API

作者:pluto7073

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

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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.

Features

While this is an API mod, it does add some Runtime features into the game, including:

  • A Drink Workstation block for adding ingredients into drinks (Useless without another Drink mod)
  • /drink command for setting/retrieving amount of caffeine (and other chemicals) in players
  • Several built-in drink additions (list can be found on the wiki and the ability to create custom drink additions using datapacks

Heads Up

While 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…

Usage

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

Forge Version?

No, I lack the time, attention span, and motivation to learn an entirely new modloader

Modpacks?

Completely fine as long as you credit me and link back to the Modrinth or GitHub page for this mod.

常见问题

Pluto’s Drinks API 支持哪些 Minecraft 版本?

Pluto’s Drinks API 支持 Minecraft Java 版 1.20–1.21.1,共 9 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Pluto’s Drinks API 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

pluto7073 的其他作品

查看全部 →