Frog

A frog is a passive mob found in swamps. Frogs eat small slimes and magma cubes. A frog can produce one of three kinds of Froglights from eating magma cubes, depending on the type of frog.

Spawning
Groups of two to five frogs can spawn in swamp and mangrove swamp biomes. Frogs can also be spawned by growing from tadpoles. There are three frog variants, determined by the biome in which the tadpole grew up:


 * Notes

Drops
Frogs drop when killed by a player or tamed wolf, while  is dropped upon successful breeding.

Behavior
On land, frogs will slowly wander, jumping at random. They can jump 8 blocks high and take less damage from falling than most other mobs. They prefer jumping on lily pads and big dripleaves, and will usually jump to blocks that are higher up. As with other mobs, honey blocks will stop frogs from jumping.

In water, frogs move much faster. They will generally swim upwards and remain at the water's surface, but will swim downwards if lured by a player. Frogs cannot be hurt by drowning.

Occasionally, they may croak and inflate their vocal sac. However, the inflation of their vocal sac doesn't always mean they are croaking. But their croaking always means the inflation of the vocal sac.

Breeding
Frogs will follow any player holding a slimeball within 6 blocks of them.

Feeding two frogs a slimeball causes them to enter love mode, causing one of the frogs to become pregnant, similar to turtles. The pregnant frog then searches for a water block with at least one adjacent water block (flowing or source) with air above to lay frogspawn. This spawn later hatches into tadpoles, which subsequently grow into frogs.

Unlike all other mobs with baby variants, the tadpole is treated by the game as a completely different mob from the frog.

Attacking
Frogs attack by using their tongue to pull certain mobs into their mouth, whereupon the mob instantly despawns.

Frogs attack small slimes, which drop slimeballs when killed.

Frogs also attack small magma cubes, leaving a froglight block. When the magma cube gets targeted, the frog gains a speed buff. The color of froglight that drops depends on the type of frog that attacks the magma cube:

Sounds
Frogs use the Friendly Creatures sound category for entity-dependent sound events.



ID




Entity data
Frogs have entity data associated with them that contain various properties.






 * See Bedrock Edition level format/Entity format.

Trivia

 * The warm frog is based on the grey foam-nest tree frog, a real-life species of frog native to Africa.
 * The temperate frog is based on brown bullfrogs.
 * Originally, frogs were meant to eat fireflies, but this was scrapped as in real life some fireflies are poisonous to some frogs. Instead, now they can eat small slimes and small magma cubes.
 * At one point in Bedrock Edition's development, in beta 1.18.10.26, frogs could eat goats. However, this was later removed as it was leftover prototype code.
 * Despite frogs only spawning in mangrove swamps and swamps, a cold frog can spawn naturally if a cold biome borders a swamp or mangrove swamp.
 * In Minecraft, all frogs seems to have vocal sacs. But in real life, female frogs lack the vocal sacs present in the males. However, since all animals are genderless, it's logical for all frogs to have vocal sacs.