Skip to content

v2.0.1

Choose a tag to compare

@pluto7073 pluto7073 released this 11 Oct 08:26
· 79 commits to 1.20.x since this release

Note about this release: Any drinks with additions will lose all of their addition data when coming from 1.20.4 or below because of Minecraft's introduction of the Item Component system. Specialty Drinks will also lose their data and will become Uncraftable Drinks

Additions

  • Translations for Tags added

Changes

  • Updated to 1.20.5 and 1.20.6 (Crying rn pain and suffering that was)
  • The Drink Addition and Specialty Drink system has been moved over to custom Item Components (more info below)
  • Just like Recipes have in this version, OnDrinkSerializers and SpecialtyDrinkSerializers now use StreamCodecs to serialize packets

Drink Components

Pre-2.0.1 (1.20.4 and below), Drink data (Additions, Coffee Type, etc.) was stored in a CompoundTag under the key DrinkData. In here there were elements like Additions, a ListTag containing the IDs of the Additions added, or in Pluto's Coffee there was CoffeeType in brewed coffee which stored the Roast of coffee.

Drink Data has been split into several different components. Drink Additions use the pdapi:additions component, and Coffee Types in Pluto's Coffee use the plutoscoffee:coffee_type component.

Basically, if you wanted to give yourself an item with preset additions, here's the difference between versions

1.20.4 and below
/give @s pdapi:example_drink{DrinkData:{Additions:["pdapi:ice","pdapi:milk","pdapi:sugar"]}}

1.20.5 and above
/give @s pdapi:example_drink["pdapi:additions":["pdapi:ice","pdapi:milk","pdapi:sugar"]]