Updated:

Swift Sneak: enchantment ID and commands

The enchantment ID for Swift Sneak is minecraft:swift_sneak. Increases movement speed while sneaking. It was added in Java 1.19.

Basic data

NameSwift Sneak
ID (Java Edition)minecraft:swift_sneak
Java versionsJava 1.19 and later
Bedrock 26.52Same ID works (tested on a server)
Max level (normal)3
Example itemDiamond Leggings
NoteA treasure enchantment. It does not appear in the enchanting table.

Commands you can copy

Java Edition

Enchant the held item

/enchant @p minecraft:swift_sneak 3

Give an item with it (Java 1.21+)

/give @p minecraft:diamond_leggings[enchantments={"minecraft:swift_sneak":3}] 1

Give the enchanted book (Java 1.21+)

/give @p minecraft:enchanted_book[stored_enchantments={"minecraft:swift_sneak":3}] 1

Make it level 255, above the normal limit (Java 1.21+)

/give @p minecraft:diamond_leggings[enchantments={"minecraft:swift_sneak":255}] 1

Java 1.20.5 to 1.20.6 form

/give @p minecraft:diamond_leggings[enchantments={levels:{"minecraft:swift_sneak":3}}] 1

Java 1.20.4 and earlier form

/give @p minecraft:diamond_leggings{Enchantments:[{id:"minecraft:swift_sneak",lvl:3}]} 1

Bedrock Edition

Enchant the held item

/enchant @p swift_sneak 3

Version notes

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

The /give form for enchantments depends on the version. Java 1.20.5 and later use [enchantments={…}]; 1.20.4 and earlier use {Enchantments:[…]}.

Questions

What is the ID for Swift Sneak?

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

What is the max level of Swift Sneak?

Normally 3. With /give you can set up to 255.

Why does /enchant fail?

/enchant only works when the held item supports the enchantment and the level is within the normal limit. Use /give for higher levels or for items that cannot normally take it.

Related IDs