Beer Keg

Commands to run once:

Impulse Command Block, command block, Minecraft, cmd, Cimap, one command, Command Blocks

entitydata @e[type=ItemFrame,c=1,dy=-1] {Tags:[switchTAP]}

Impulse Command Block, command block, Minecraft, cmd, Cimap, one command, Command Blocks

/scoreboard objectives add beerTimer dummy

COLUMN 3

kill @e[score_beerTimer_min=100]

execute @e[score_beerTimer_min=100] ~ ~ ~ particle crit ~ ~.2 ~ 0 0 0 1 10 force

execute @e[score_beerTimer_min=100] ~ ~ ~ summon Item ~ ~ ~ {Tags:[NODRINK],Item:{id:skull,Damage:3,Count:1,tag:{brgl:1,display:{Name:"Beer"},SkullOwner:{Id:"e3e6b7a8-4246-41c4-9663-eddc9eda2eab",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDA1M2UyNjg2N2JiNTc1MzhlOTc4OTEzN2RiYmI1Mzc3NGUxOGVkYTZmZWY1MWNiMmVkZjQyNmIzNzI2NCJ9fX0="}]}}}}}

execute @e[tag=switchTAPon] ~ ~-1 ~ scoreboard players add @e[tag=glass,dy=-1] beerTimer 1

scoreboard players tag @e[type=Item] add glass {Item:{id:minecraft:glass}}

execute @e[tag=switchTAPon] ~ ~ ~ particle blockdust ~-0.4 ~-1.1 ~ 0 0 0 0 1 force @a 16419

scoreboard players tag @e[tag=switchTAP] add switchTAPon {Item:{id:minecraft:cobblestone_wall},ItemRotation:4b}

scoreboard players tag @e[tag=switchTAP] remove switchTAPon

Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Repeat Command Block, Blue Command Block, Minecraft, cmd, Cimap, one command, Command Blocks

COLUMN 2

kill @e[tag=drinkBeer]

execute @e[tag=drinkBeer] ~ ~ ~ playsound entity.generic.drink master @a

execute @e[tag=drinkBeer] ~ ~ ~ /effect @p saturation 1 5 true

execute @e[tag=drinkBeer] ~ ~ ~ /effect @p minecraft:absorption 90 0 true

scoreboard players tag @e[type=Item,tag=!NODRINK] add drinkBeer {Item:{tag:{brgl:1}}}

Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Repeat Command Block, Blue Command Block, Minecraft, cmd, Cimap, one command, Command Blocks

How it works:

See what's inside of each command block!

COPYRIGHT © CIMAP. ALL RIGHTS RESERVED.

This website is not endorsed, associated or affiliated with Mojang AB.

Contact me for business enquiries.

Impulse Command Block, command block, Minecraft, cmd, Cimap, one command, Command Blocks
Impulse Command Block, command block, Minecraft, cmd, Cimap, one command, Command Blocks