Axolotl

An axolotl is a passive aquatic mob endemic to the lush caves biome that hunts most other aquatic mobs.

Spawning
Axolotls spawn underwater in the lush caves biome and when there is a clay block less than five blocks below the spawning space.

Colors
Axolotls can be one of five colors: pink (leucistic), brown, gold, cyan and blue.

When breeding Axolotls, there is a $1/1200$ (0.083%) chance of the offspring having the blue mutation, leaving $1199/1200$ (99.917%) chance of matching one of the parents (including blue parents).

Behavior
Axolotls are passive toward players and can be attached to leads. Axolotls give Regeneration I for 100 tick per Axolotl in the fight, up to a duration of 2400 tick, and remove Mining Fatigue when a player kills a mob that is in combat with an axolotl.

Axolotls attack all aquatic mobs except turtles, dolphins, frogs and other axolotls. They also attack drowned. An axolotl deals points of damage per attack.

After killing a non-hostile mob, there is a two minute cooldown before another non-hostile mob can be hunted. Axolotls prioritize attacking hostile mobs over non-hostile mobs.

If an axolotl takes damage underwater, it may play dead, dropping to the ground for 200 tick while gaining Regeneration I. Hostile aquatic mobs ignore healing axolotls. There is a $1/3$ chance for an axolotl to play dead to recover. In addition, if either a random integer from 0–2 (inclusive) is less than the amount of incoming damage, or the axolotl's health before the damage is dealt is less than 50% of its maximum health, it plays dead.

Axolotls can leave the water and wander about on land. When an axolotl leaves the water, it wanders as far as 8 or 9 blocks beyond the water's edge before returning to the water, as long as there is water at least 2 blocks deep within 16 blocks of the axolotl. If 2-block-deep water is outside this range, the axolotl can wander off randomly on land in search of more deep water, and die after 6000 tick exposure out of water. Axolotls are not attracted to shallow (1 block deep) water. They require water at least 2 blocks deep within 16 blocks to pathfind to the water.

Axolotls can also die out of water as passengers in a boat. Unlike fish, dolphins, and squid, axolotls do not die on land in rain or in a thunderstorm.

Unlike most mobs, axolotls cannot be moved by flowing water. However, they are still affected by bubble columns.

As aquatic mobs, they take extra damage from the Impaling enchantment. Unlike other aquatic mobs, they cause nearby pufferfish to inflate.

Axolotls picked up with a water bucket and re-spawned do not despawn.

Axolotls can be renamed by placing a bucket of axolotl into an anvil, the same as if renaming any other item.

Breeding
Adult axolotls can be led and bred with buckets of tropical fish. After breeding, a baby axolotl spawns and 1–7 experience is generated. The parents cannot be bred again for 5 minutes $$ or 1 minute $$. The baby axolotl has a $1/1200$ chance to be the rare blue variant; otherwise, it inherits the color of one parent at random. Babies follow adults, and grow to adulthood in 20 minutes. The growth of baby axolotls can be accelerated using buckets of tropical fish; each use reduces the remaining growing time by 10%.

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



ID




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






 * See Bedrock Edition level format/Entity format.

Trivia

 * In the release notes Minecraft Launcher there is an encrypted message T⍑ᒷ ᔑ ̇/𝙹ꖎ𝙹ℸ ̣ ꖎᓭ ᔑ∷ᒷ リ𝙹ℸ ̣ ∴⍑ᔑℸ ̣ ℸ ̣ ⍑ᒷ|| ᓭᒷᒷᒲ, which translates to "The Axolotls are not what they seem".
 * are small salamanders that are endemic to Mexico, which are critically endangered. Following Mojang Studios' trend of adding endangered species such as polar bears, giant pandas (no longer an endangered as of 2022), sea turtles, and bees, axolotls were added to the game to raise awareness.
 * The probability of a blue axolotl spawning is 1 in 1200 because that is approximately the number of axolotls left in the wild in real life.
 * Axolotls can eat only buckets of tropical fish and not tropical fish items because axolotls in real life eat only living fish.
 * The blue variant was a suggestion by user Darkiceflame on the Minecraft's Suggestion Box Reddit community. It is a reference to Mudkip from the series.
 * Even though they are not in the game, the green variant appears in the Caves & Cliffs: Part I announcement trailer and caves and cliffs recap. When asked on a livestream, Agnes said she cannot say why the green variant was cut from the game.
 * Both the "play dead" behavior and the regeneration ability of axolotls are based on the abilities of real life axolotls.
 * Because real axolotls don't actually vocalize, the sounds of axolotls were recorded from the incidental "hiccups" and "burps" real axolotls occasionally make when surfacing, as well as heavily edited dog sounds.