Minecraft wiki entry for Milk_Bucket, associated text: When consumed, milk immediately removes any status effects from the player. Drinking milk does not remove the benefits of area status effects granted by beacons, Conduit Power, or Hero of the Village‌[Bedrock Edition only]. Fire is not a status effect; therefore, drinking milk doesn't extinguish a burning player.