Command Generator: Level 255 Mace

Java Edition 1.21.4 / 26.3 (до 255 ур.)

Pre-configured command template for the Mace in Java 1.21.4 and 26.3.

Ready /give Commands by Java Version

Ready-to-copy /give command for an Unbreakable Mace with Density 255 and Wind Burst in Minecraft Java 1.21.4 and 26.3.

Java 26.3 (item components, max lvl 255)

/give @p minecraft:mace[minecraft:custom_name={"text":"Storm Mace","color":"#B8E66B","italic":false},minecraft:enchantments={"minecraft:density":255,"minecraft:wind_burst":3,"minecraft:fire_aspect":255,"minecraft:unbreaking":255,"minecraft:mending":1},minecraft:unbreakable={},minecraft:attribute_modifiers=[{type:"minecraft:attack_damage",id:"custom_attack",amount:15,operation:"add_value",slot:"mainhand"}]] 1

Java 1.21.4 (item components, max lvl 255)

/give @p minecraft:mace[minecraft:custom_name='{"text":"Storm Mace","color":"#B8E66B","italic":false}',minecraft:enchantments={levels:{"minecraft:density":255,"minecraft:wind_burst":3,"minecraft:fire_aspect":255,"minecraft:unbreaking":255,"minecraft:mending":1}},minecraft:unbreakable={show_in_tooltip:true},minecraft:attribute_modifiers={modifiers:[{type:"minecraft:attack_damage",id:"custom_attack",amount:15,operation:"add_value",slot:"mainhand"}]}] 1

For commands longer than 256 characters, paste the command into a Command Block (/give @p minecraft:command_block 1).

Questions & reference

How does the Mace (1.21) /give command differ between Java 1.21.4 / 26.3 and 1.16.5?

Java 1.20.5, 1.21.4, and 26.3 use square-bracket item components [minecraft:enchantments=...] with a vanilla cap of level 255. Java 1.16.5–1.20.4 uses classic curly-brace SNBT {Enchantments:[...]} which allows level 1000.

Where do I find my edition and version?

Check your Minecraft title screen. Select the exact supported Java Edition release. Bedrock and unlisted versions may use different syntax: the generator does not assume the closest release.

Why does my command fail?

Enable commands in your own world or obtain operator permissions on a server. Check the edition, version, and complete copied command. Use a command block for a command longer than 256 characters.

Can I get level 1000 enchantments?

The supported Java 26.3, 1.21.4, and 1.20.5–1.20.6 component formats cap enchantments at level 255. Classic NBT in 1.16.5–1.20.4 and 1.12.2 allows different values. Your selected version determines the result.