Axolotl

An axolotl is an aquatic neutral mob towards players but it attacks all other underwater hostile mobs and other axolotls.

Spawning
$$, axolotls spawn underground (that is, below an opaque block) in water below level 37. They spawn as herds of 1–2 individuals, in complete darkness. Due to a bug, axolotls can also spawn in The End and The Nether if there is a water source there (although, nether spawning is not possible without cheats).

$$, after the world generation axolotls spawn individually below level 41 in water in total darkness and where there is a block with  tag (i.e. stone, deepslate, andesite, diorite, granite, or tuff) less than 3 blocks below the spawning space.

Colors
Axolotls can be one of five colors: pink (leucistic, referred to as "lucy" in its texture file), brown (wild), yellow (gold), cyan and blue.

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

Behavior
Axolotls are neutral toward players and can be attached to leads. Axolotls give Regeneration I for 6.25 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 squids, turtles, dolphins and fish. They also attack drowned. An axolotl deals ( to players) points of damage per attack.

After killing a hostile mob, there is a 15 minute cooldown before another hostile mob can be hunted. Axolotls prioritize attacking hostile mobs over 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 do not ignore healing axolotls. There is a $1/1200$ chance for an axolotl to play dead to recover. In addition, if either a random integer from 0–1 (inclusive) is less than the amount of incoming damage, or the axolotl's health before the damage is dealt is less than 20% of its maximum health, it plays dead.

On land, axolotls move toward the nearest water source because they die outside of water after 150 tick. This also applies to axolotls that are passengers in a boat. Like fish, dolphins, and squid, axolotls still die on land in rain and a thunderstorm.

Unlike undead mobs, axolotls still can be moved by flowing water and 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 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.

Health, Hunger and Taking Damage
Health and Hunger:

Axolotls had ( in hardcore mode) health points and  food points

Taking Damage:

Axolotls lose ( in hardcore mode) more health point more than players,  ( in hardcore mode) more poisoned health than any player and mob (excluding undead and boss mobs),  ( more withered health points in hardcore mode than any player or mob (excluding boss mobs),  ( in hardcore mode) more freezing health than players and any mob in powder snow (excluding Zombie variants (excluding husks), Skeletons, all animals (excluding wolves, ocelots, horses and untamed cats) all Nether mobs and all End mobs),  more health points while exposed in sunlight,  more hunger damage than players and  more hunger damage (while inflicted by ) (not ) than players that are inflicted by.

Breeding
Adult axolotls can be led and bred with buckets of tropical fish. After breeding, a baby axolotl spawns and 1$1/4$–3$3/4$ experience is generated. The parents cannot be bred again for 5 minutes $$ or 2$1/2$ minutes $$. The baby axolotl has a $3/200$ 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 2 hours. The growth of baby axolotls can be decelerated using buckets of tropical fish; each use increases the remaining growing time by 75%.

ID




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




 * See Bedrock Edition level format/Entity format.
 * 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, 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.
 * Axolotls are the first amphibian mobs implemented into Minecraft, although it was not the first announced amphibian because frogs were announced at MINECON Live 2019. In addition, Rana was based on a frog.
 * Blue is the only color variant of axolotls not based on real life. The blue variant was a suggestion by user Darkiceflame on the r/minecraftsuggestions subreddit. 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.
 * On the Axolotl texture file, there used to be a hidden mouth in the texture files before 21w18a. The mouth was wide open.