Milk Bucket

A milk bucket is a food ingredient obtained from cows or mooshrooms.

Cows and mooshrooms
Milk buckets can be obtained from cows and mooshrooms by pressing while looking at them with an empty bucket.

Wandering trader
A milk bucket has a chance of dropping from a wandering trader, if the trader is killed while holding it.

Usage
Holding with a milk bucket will start the drinking sound and animation. When consumed, it will immediately remove any status effects from the player. Fire is not considered a status effect; hence, drinking milk won't extinguish a burning player.

The drinking animation isn't shown unless in first-person camera mode.

Item data
In Bedrock Edition, milk buckets use data value to determine contents. Once used, each data value is set to 0 (Empty Bucket). If no data value is provided, data value is 0.