Pluto's Drinks API

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

File Details

1.20.1+0.3.11

  • R
  • Jan 13, 2025
  • 195.98 KB
  • 1.3K
  • 1.20.1+1
  • Fabric

File Name

PlutosDrinksAPI-1.20.1+0.3.11.jar

Supported Versions

  • 1.20.1
  • 1.20

Curse Maven Snippet

Fabric

modImplementation "curse.maven:pdapi-1114525:6084192"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Additions

  • Datagen support for specialty drinks
  • REI Support for plain drink additions, to see all the items that can be added to drinks

Changes

  • Moved Chemicals to its own mod to use it in other projects
    • This is embedded in PDAPI still so there's no extra requirements
  • Renamed IDs of Milk Bottle and Drink Workstation to match pdapi
    • plutoscoffee:milk_bottle is now pdapi:milk_bottle
    • plutoscoffee:coffee_workstation is now pdapi:drink_workstation
    • Any items or blocks already in the world will be converted
  • In progress items are now based on recipes, and can be added via datapacks.
  • Specialty drinks are now rendered using the model of their base item
    • Basically they are rendered as if they were their base item but with the specified color in the drink

Fixes

  • Fixed an error with REI caused by null problems :/
  • Specialty drinks now give the correct empty glass/bottle associated with the base drink

Technical Changes

  • Drink additions can now have decimals in their chemical definitions
  • Specialty drinks now auto-load the amount of chemicals and all of the actions in their steps and will apply these when drank even if they aren't specified. Any chemicals specified will be added onto these
  • When specifying chemicals in drink additions or specialty drinks, the Mod Id of the mod the chemical is from is required as well:
{
  "caffeine": 10
}

is now

{
  "pdapi:caffeine": 10
}
  • Codecs are now used for additions and specialty drinks, and Chemicals are now placed in an object named "chemicals" in the json to match the 1.20.4+ versions
{
  "pdapi:caffeine": 10
}

is now

{
  "chemicals": {
    "pdapi:caffeine": 10
  }
}
  • The "type" field in Specialty Drinks is no longer a thing, and "base" is now an object where you can define the base item for the drink
    • This contains a "type" field and whatever other fields are required depending on the type
      • "pdapi:item": The most common. Requires "item" which is an ID of the base item
      • "plutoscoffee:brewed_coffee": Added by PlutosCoffee, Requires "coffee" which is the ID of the specific coffee type to match
      • "teatime:tea": Added by TeaTime, requires "tea" which is the id of the tea type to match