Updated:

Bane of Arthropods: enchantment ID and commands

The enchantment ID for Bane of Arthropods is minecraft:bane_of_arthropods. Increases damage to arthropods such as spiders, silverfish and bees. The ID has been the same since Java 1.13.

Basic data

NameBane of Arthropods
ID (Java Edition)minecraft:bane_of_arthropods
Java versionsJava 1.13 to 26.3
Bedrock 26.52Same ID works (tested on a server)
Max level (normal)5
Example itemDiamond Sword
Cannot be combined withBreach / Density / Impaling / Sharpness / Smite

Commands you can copy

Java Edition

Enchant the held item

/enchant @p minecraft:bane_of_arthropods 5

Give an item with it (Java 1.21+)

/give @p minecraft:diamond_sword[enchantments={"minecraft:bane_of_arthropods":5}] 1

Give the enchanted book (Java 1.21+)

/give @p minecraft:enchanted_book[stored_enchantments={"minecraft:bane_of_arthropods":5}] 1

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

/give @p minecraft:diamond_sword[enchantments={"minecraft:bane_of_arthropods":255}] 1

Java 1.20.5 to 1.20.6 form

/give @p minecraft:diamond_sword[enchantments={levels:{"minecraft:bane_of_arthropods":5}}] 1

Java 1.20.4 and earlier form

/give @p minecraft:diamond_sword{Enchantments:[{id:"minecraft:bane_of_arthropods",lvl:5}]} 1

Bedrock Edition

Enchant the held item

/enchant @p bane_of_arthropods 5

Version notes

This ID has not changed from Java 1.13 to the latest 26.3.

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 Bane of Arthropods?

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

What is the max level of Bane of Arthropods?

Normally 5. 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