A datapack adding 8 new drinks with various effects and an alcohol mechanic.
This datapack requires a resource pack to work.
Take a bottle of water and add:
All recipes are shapeless
All drinks in the pack will give you an effect based on the type of drink they are:
Alcoholic drinks are indicated by a percentage under their name. Drinking them will raise your alcohol level, slowly making you drunk. You will get negative effects based on how drunk you are, and might eventually black out and die if you keep drinking. The only way to stop these effects is to wait it out.
You can disable negative effects, change the speed at which you get drunk or sober up and change the effect thresholds by using the command /scoreboard players set $ggdk.<gamerule> ggdk.gamerule <value>
with these gamerules available:
do_drunkness
: 1 (default) to enable negative effects, 0 to disable themconsume_speed
: 8 (default), how fast you get drunk after drinking alcoholsober_speed
: 2 (default), how fast you sober up when getting drunklevel_1
: 210 (default), threshold for light drunkness effectslevel_2
: 420 (default), threshold for medium drunkness effectslevel_3
: 540 (default), threshold for heavy drunkness effectslevel_death
: 800 (default), threshold for blackout and deathAfter changing the gamerules, use /function ggdk:gamerule/save
to ensure the gamerules are saved between reloads. Use /function ggdk:gamerule/reset
to reset the gamerules to their original values.
datapacks
folder of your worldresourcepacks
folder of minecraftFor more info, see this post from Planet Minecraft on how to install datapacks.
You can help translating the datapacks by requesting access to this Google Sheet. Once you've gotten access, simply add your language at the top and fill out the translations !
You can report issues in the "Issues" tab of the repository. Check if your issue has already been reported, and if not create a new one:
See the src
folder for the licenses of the datapack & resource pack
Copyright © 2024 Smithed
Not an official Minecraft product. Not approved by or associated with Mojang Studios