Milk is obtained by right-clicking on a cow with a bucket and serves as a remedy for removing all potion effects from the player, including both positive and negative effects. It can also be used to craft recipes such as cakes and can be consumed at any time, providing no hunger restoration but still proving invaluable when dealing with adverse status effects during gameplay.
The numerical item ID for Milk is 335
Numerical item IDs will only work in Minecraft versions below 1.13.
The item ID for Milk is minecraft:milk_bucket
This is the spawn command to give yourself Milk in Minecraft which includes the Minecraft /give command. If you are using the Essentials plugin you will need to use /minecraft:give instead of /give