A vending machine is a type of ornamental block. There are six colors of vending machines: blue, green, orange, pink, red, and yellow. All vending machines can be crafted. Blue vending machines also spawn in Poké Marts.
Vending machines can be interacted with to purchase Fresh Water, Soda Pop, Lemonade, Moomoo Milk, or Berry Juice. However, only one item may be purchased at a time; after purchasing an item, the vending machine interface will close, and the vending machine must be interacted with again to purchase another item.