## Set brewing table contents
# Bottom 3 potions
execute store result score @s vb.dummy1 run random value 1..6
execute if score @s vb.dummy1 matches 1 run item replace block ~ ~ ~ container.0 with minecraft:glass_bottle
execute if score @s vb.dummy1 matches 2 run item replace block ~ ~ ~ container.0 with minecraft:potion[minecraft:potion_contents={potion:"minecraft:water"}]
execute if score @s vb.dummy1 matches 3 run item replace block ~ ~ ~ container.0 with minecraft:potion[minecraft:potion_contents={potion:"minecraft:awkward"}]
execute store result score @s vb.dummy1 run random value 1..6
execute if score @s vb.dummy1 matches 1 run item replace block ~ ~ ~ container.1 with minecraft:glass_bottle
execute if score @s vb.dummy1 matches 2 run item replace block ~ ~ ~ container.1 with minecraft:potion[minecraft:potion_contents={potion:"minecraft:water"}]
execute if score @s vb.dummy1 matches 3 run item replace block ~ ~ ~ container.1 with minecraft:potion[minecraft:potion_contents={potion:"minecraft:awkward"}]
execute store result score @s vb.dummy1 run random value 1..6
execute if score @s vb.dummy1 matches 1 run item replace block ~ ~ ~ container.2 with minecraft:glass_bottle
execute if score @s vb.dummy1 matches 2 run item replace block ~ ~ ~ container.2 with minecraft:potion[minecraft:potion_contents={potion:"minecraft:water"}]
execute if score @s vb.dummy1 matches 3 run item replace block ~ ~ ~ container.2 with minecraft:potion[minecraft:potion_contents={potion:"minecraft:awkward"}]
# Top ingredient
execute store result score @s vb.dummy1 run random value 1..8
execute if score @s vb.dummy1 matches 1 run item replace block ~ ~ ~ container.3 with minecraft:sugar
execute if score @s vb.dummy1 matches 2 run item replace block ~ ~ ~ container.3 with minecraft:rabbit_foot
execute if score @s vb.dummy1 matches 3 run item replace block ~ ~ ~ container.3 with minecraft:glistering_melon_slice
execute if score @s vb.dummy1 matches 4 run item replace block ~ ~ ~ container.3 with minecraft:spider_eye
execute if score @s vb.dummy1 matches 5 run item replace block ~ ~ ~ container.3 with minecraft:golden_carrot
execute if score @s vb.dummy1 matches 6 run item replace block ~ ~ ~ container.3 with minecraft:stone
execute if score @s vb.dummy1 matches 7 run item replace block ~ ~ ~ container.3 with minecraft:cobweb
execute if score @s vb.dummy1 matches 8 run item replace block ~ ~ ~ container.3 with minecraft:slime_block

## Kill
kill @s