Create a volume of water with "/fill ~ ~ ~ ~4 ~4 ~4 water".
Stand underwater and summon a mob using the /summon command. (The bug does not effect spawn eggs.)
The mob will start taking drowning damage immediately, instead of having a "breathing time" as it usually does.
Linked issues
Comments 6
Is this still a concern in the current Minecraft version 14w18a / Launcher version 1.3.11 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
@unknown stated that this is intended behavior on MC-78527. If you want them to not immediately begin drowning, you should give the mob some air using a dataTag in the summon command. For example:
/summon Pig ~3 ~ ~ {Air:300s}
Can confirm. A work-around is to manually apply the "Air" tag (defaulted to 300):