Minecraft Data Packs / Farming and Food

GGDK (Geegaz's Drinks) - 8 new drinks for your game

  • check_circle Functions
  • check_circle Loot Tables
  • check_circle Recipes
  • 32,317 views, 15 today
  • 4,099 downloads, 4 today
  • 98
  • 111
  • 41
Required Resource Pack
Geegaz's Avatar Geegaz
Level 67 : High Grandmaster Engineer
GGDK banner image
A food datapack for minecraft 1.17+ that adds 8 new drinks with various effects and alcohol mechanics
this datapack requires a resourcepack to work

Github linkDiscord link


GGDK recipes

Technical informations

Alcohol values
  • Strong drinks (Vodka, Tequila, Whiskey): 250
  • Wine: 100
  • Beer: 60
  • Cider: 30
  • Soft drinks (Tea, Chocolate): 0

Drink effects
  • Strong drinks (Vodka, Tequila, Whiskey): Resistance II (2min) + Strength II (2min)
  • Wine: Instant Health II
  • Beer: Luck II (3min)
  • Cider: Absorption II (3min)
  • Soft drinks (Tea, Chocolate): Regeneration I (30s)

How to add your own drinks

Adding new drinks is extremely easy, using the "generate_drinks.py" script present in the datapack files:
  1. First create the texture and model in the resourcepack (don't hesitate to copy one of the existing item models if you're not sure how to do it). How you structure the resourcepack is all up to you, but you should add your CMD overrides in "assets/minecraft/models/item/potion.json"
  2. Add the item to the lang files by adding a new line "ggdk.item.<item id>": "<item name>"
  3. Create the item's recipe in the datapack at "data/ggdk/recipes/<item id>.json". This recipe should give a knowledge book as an output to work properly
  4. Then create a new entry in the file drinks.json located at the root of the datapack. Look how each item is implemented:
    • <item id> is the id of your item
    • alcohol_value is the number of seconds necessary to sober up after drinking an alcoholic drink. Keep in mind this value stacks !
    • custom_model_data is the CMD of this drink, which you created earlier (see step 1)
    • effects is a list of effects the drink will give when drank. The name, seconds and amplifier values are the same as the parameters of the "/effect" command

    "<item id>": {
      "alcohol_value": (int),
      "custom_model_data": (int),
      "effects": [
        {"name":"<effect id>","seconds":(int),"amplifier":(int)}
  5. Finally, run "generate_drinks.py" either by double-clicking the script or in command line by typing "python generate_drinks.py". This requires you to have python installed though, you can find an installer at https://www.python.org/downloads/
  6. If you followed these steps properly, your new drink should now be working ingame !
For more info about CustomModelData, check out this forum post.
Credit@LatukYT - russian translation
CompatibilityMinecraft 1.17
toMinecraft 1.18

2 Update Logs

V2.0 - russian translations ! : by Geegaz 09/21/2021 12:12:41 pmSep 21st, 2021

Thanks a lot to El Latuk for the russian translation !
They've now been added to the main pack - you just need to update the resourcepack

Create an account or sign in to comment.

08/06/2022 7:13 pm
Level 1 : New Miner
lukegarfish's Avatar
Hi I'm trying to change the duration and potency of the effects for my fabric server on apexhosting. Everything else works fine but when I try to run "generate_drinks.py" in my ftp file access nothing happens. How do I do this?
02/27/2022 2:07 pm
Level 1 : New Miner
XxMightyxX123's Avatar
I have a problem
Whenever i drink for example tequilla i get some effects such as : Weakness Nausea etc but they don't stop or end
I even tried to die but it still doesn't works i also tried with a command /effect remove
What to do???
And i am also using the right version so idk????
03/06/2022 3:36 am
Level 67 : High Grandmaster Engineer
Geegaz's Avatar
These effects mean you're very drunk !
Just wait a while, they'll go away after less than a minute. If you drink more you'll die, so be careful !
02/18/2022 6:34 pm
Level 11 : Journeyman System
Aech_05's Avatar
this is so cooooooool

the texture is amazing

are you make this texture?
WolfBlade 39
10/25/2021 8:03 am
Level 4 : Apprentice Mage
WolfBlade 39's Avatar
lol this would be so cool to make a "pub" out of
10/03/2021 12:44 am
Level 1 : New Miner
lukegarfish's Avatar
I want to install this datapack on a server I'm making for a few friends, but whenever it's installed it just keeps filling my inventory with all of the drinks. It inserts 1 of each drink into my inventory every few seconds. It's a 1.17 server on apexhosting. The textures and everything else work fine, I just can't find a way to stop it from filling my inventory up. Any way to fix this that you know of?
10/05/2021 10:01 am
Level 67 : High Grandmaster Engineer
Geegaz's Avatar
If you have a "give all recipes" datapack on your server that's probably the cause. Else it might be because you're using a custom server software (spigot, paper, bukkit...)
09/18/2021 10:43 pm
Level 1 : New Miner
HHMH05's Avatar
i cannot add a new drink to the datapack
I followed the instruction carefully and nothing happend it only gave me the knowledge book

can you help me in discord
09/15/2021 4:29 pm
Level 1 : New Miner
Zmyrna's Avatar
I want a way to modify the names of new drinks to the language of my country.
If it's simple, can you tell me how?
This sentence was written with a translator.
09/16/2021 4:12 am
Level 67 : High Grandmaster Engineer
Geegaz's Avatar
It's very simple, actually !
In the resourcepack, add a new json file in "assets/minecraft/lang". The name of the file should match your language: usually english is "en_us.json" or "en_uk.json", french is "fr_fr.json", italian is "it_it.json"... so you should find what's the name for your language.
Then copy the content of one of the existing files in your new file and translate the names.

If you manage to do it, don't hesitate to send me the file so I can add it to the base pack :D !
Planet Minecraft


© 2010 - 2024