Pluto's Drinks API

Pluto's Drinks API

Mod

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

Client and server FoodLibrary

3,266 downloads
1 follower
Follow Save

v0.1.4+1.20.1

Changelog

Additions

  • Added the command /drink
    • This is currently only used for caffeine modification, and will be used for server specific config later
    • Syntax: Getting your caffeine (available to all players) /drink caffeine get returns the amount of caffeine currently in your system rounded to the nearest integer Getting a specific player's caffeine (available to operators) /drink caffeine get <target> returns the exact amount of caffeine currently in the target's system, down to the decimal Setting a player's caffeine (available to operators) /drink caffeine set <target> <amount> sets the target's caffeine to the specified integer
  • Added new Game Rules (These will become Config options later):
    • doCaffeineOverdose - whether or not the Caffeine Overdose effect is applied to players with Caffeine over 3000mg (Default: true)
    • caffeineVisibleToNonOps - whether or not all players can use /drink caffeine get to see their exact caffeine amount (Default: true)
    • caffeineDamageMultiplier - how much health to take away per tick when someone has the Caffeine Overdose Effect (Default: 1)
    • lethalCaffeineDose - amount of caffeine that is considered lethal (Default: 3000)

Changes

  • Caffeine level effects from PlutosCoffee 3.0-beta.1 are now part of PDAPI, and are as follows
    • 100mg: Speed I
    • 150mg: Haste I
    • 450mg: Speed II
    • 500mg: Jump Boost I
    • 600mg: Haste II
    • 700mg: Jump Boost II
    • 3000mg: Normal Caffeine Overdose
  • In addition to above, you now receive Hunger at 300mg and (if Dehydration is installed) Dehydration at 400mg
  • Drink Additions can now specify a weight parameter in their json file which will override an existing addition with a lesser weight
  • The Milk Bottle is now compatible with the one from Farmer's Delight, and crafting the PDAPI Milk Bottle is disabled when Farmer's Delight is installed so there aren't any recipe conflicts (Still obtainable through milking cows directly)

Dependencies

Files

PlutosDrinksAPI-0.1.4.jar(98.2 KiB) Primary Download
PlutosDrinksAPI-0.1.4-sources.jar(66.41 KiB) Download

Project members

pluto7073

Member

Details

Licensed MIT
Published a year ago
Updated 3 months ago