Updated:

Axolotl: entity ID and summon command

The entity ID for Axolotl is minecraft:axolotl. Use it with /summon and in selectors such as @e[type=…]. It was added in Java 1.17.

Basic data

NameAxolotl
ID (Java Edition)minecraft:axolotl
TypePassive or neutral mob
Java versionsJava 1.17 and later
Bedrock 26.52Same ID works (tested on a server)
Size0.75 wide × 0.42 tall (blocks)
Spawn eggAxolotl Spawn Egg

Commands you can copy

Java Edition

Summon at your position

/summon minecraft:axolotl ~ ~ ~

Summon with no AI

/summon minecraft:axolotl ~ ~ ~ {NoAI:1b}

Remove all of them

/kill @e[type=minecraft:axolotl]

Remove only within 10 blocks

/kill @e[type=minecraft:axolotl,distance=..10]

Test whether one exists

/execute if entity @e[type=minecraft:axolotl]

Teleport the nearest one to you

/tp @e[type=minecraft:axolotl,sort=nearest,limit=1] @s

Give the spawn egg

/give @p minecraft:axolotl_spawn_egg 1

Bedrock Edition

Summon at your position

/summon axolotl

Remove all of them

/kill @e[type=axolotl]

Remove only within 10 blocks

/kill @e[type=axolotl,r=10]

Version notes

It was added in Java 1.17. Older versions report that the ID is unknown.

In selectors, Java Edition uses type=minecraft:ID and Bedrock uses type=ID. Add ! as in type=!minecraft:ID to match everything else.

Questions

What is the ID for Axolotl?

It is minecraft:axolotl. In commands you can also write axolotl without minecraft:.

How far does /kill reach?

@e[type=minecraft:axolotl] matches every one in loaded chunks. To limit it to nearby ones, add distance=..10 (r=10 on Bedrock).

Related IDs