News
Game
Guides
Downloads
Versions
Best /give commands in Minecraft
COMMANDSCOPY & PASTEJAVA 26.3

Best /give commands in Minecraft

These /give commands hand you gear with every compatible enchantment at its real maximum level, plus the operator items you cannot pick from the usual Creative tabs. Copy one, paste it in the chat and the item lands in your inventory.

Before you pasteCheats must be on. Commands longer than 256 characters only work in a command block.

The commands

Maxed netherite sword

/give @s netherite_sword[enchantments={sharpness:5,looting:3,fire_aspect:2,sweeping_edge:3,knockback:2,unbreaking:3,mending:1}]

Every sword enchantment at its maximum level, with Mending to keep it repaired.

Java 26.3 127 characters · chat OK
The Netherite Sword tooltip with its seven enchantments In-game screenshot · Java Edition 26.3

Maxed netherite pickaxe

/give @s netherite_pickaxe[enchantments={efficiency:5,fortune:3,unbreaking:3,mending:1}]

Efficiency V and Fortune III for fast mining and more ores.

Java 26.3 88 characters · chat OK
The Netherite Pickaxe tooltip: Fortune III, Efficiency V, Unbreaking III and Mending In-game screenshot · Java Edition 26.3

Infinity bow

/give @s bow[enchantments={power:5,punch:2,flame:1,infinity:1,unbreaking:3}]

Power V and Infinity: one arrow in your inventory is enough.

Java 26.3 76 characters · chat OK
The Infinity Bow drawn in Survival with a single Arrow in the hotbar In-game screenshot · Java Edition 26.3

Mace for big hits

/give @s mace[enchantments={density:5,wind_burst:3,fire_aspect:2,unbreaking:3,mending:1}]

Density V adds damage after a fall, Wind Burst III launches you back up.

Java 26.3 89 characters · chat OK
A real smash attack with the Mace on a test mob: Wind Burst puffs around it and Fire Aspect flames Scene setup: Real fall slowed down with the gravity attribute; camera moved after the bounce, three animation ticks stepped forward to catch the particles. In-game screenshot · Java Edition 26.3

Returning trident

/give @s trident[enchantments={impaling:5,loyalty:3,channeling:1,unbreaking:3,mending:1}]

Loyalty III brings it back and Channeling calls lightning during storms.

Java 26.3 89 characters · chat OK
The Trident thrown by hand flies back after hitting its target, thanks to Loyalty Scene setup: Game frozen 20 ticks after the throw; camera moved to the side so the Trident stands out. In-game screenshot · Java Edition 26.3

Maxed netherite spear

/give @s netherite_spear[enchantments={sharpness:5,lunge:3,looting:3,knockback:2,fire_aspect:2,unbreaking:3,mending:1}]

Sharpness V and Lunge III, the enchantment made for spears only.

Java 26.3 119 characters · chat OK
The Netherite Spear tooltip: Lunge III and six other enchantments In-game screenshot · Java Edition 26.3

Boots for every terrain

/give @s netherite_boots[enchantments={protection:4,feather_falling:4,depth_strider:3,soul_speed:3,unbreaking:3,mending:1}]

Feather Falling IV, Depth Strider III and Soul Speed III together.

Java 26.3 123 characters · chat OK
The enchanted Netherite Boots on Soul Sand: a soul particle from Soul Speed right after a short sprint In-game screenshot · Java Edition 26.3

Get a command block

/give @s command_block

The block that runs commands, for commands longer than the chat allows.

Java 26.3 22 characters · chat OK
The Command Block interface with the command say Hello, Minecraft! typed in In-game screenshot · Java Edition 26.3

Get the debug stick

/give @s debug_stick

Changes block states such as the direction of stairs, in Creative.

Java 26.3 20 characters · chat OK
The Debug Stick changing the facing property of a stair: the game confirms "facing" to west above the hotbar In-game screenshot · Java Edition 26.3

Get 64 barriers

/give @s barrier 64

Invisible solid blocks to fence an area; visible while you hold one.

Java 26.3 19 characters · chat OK
Barriers show up as red markers around a pen of two Sheep while you hold one In-game screenshot · Java Edition 26.3

Get 64 light blocks

/give @s light 64

Invisible light sources to brighten a build without torches.

Java 26.3 17 characters · chat OK
Light blocks of levels 15, 12 and 7 show up as bulbs in a dark room while you hold one In-game screenshot · Java Edition 26.3

Get a structure block

/give @s structure_block

Saves and loads builds to copy them between worlds.

Java 26.3 24 characters · chat OK
A Structure Block in Save mode, with the outline of the 4 × 4 × 4 area around a small wooden build In-game screenshot · Java Edition 26.3

How to use these commands

You need cheats on, or operator level 2 on a server. Replace @s with a player name to give the item to someone else, and add a number at the end to get more than one. The enchantment levels match the game files: Sharpness and Efficiency stop at 5, Protection at 4. Enchantments that exclude each other are never combined, which is why the bow has Infinity but no Mending and the trident has Loyalty but no Riptide.

Operator items

The Command Block, Debug Stick, Barrier, Light and Structure Block only show in the Creative inventory if you turn on the Operator Items Tab option. With /give, you skip the menu. The Barrier and Light then place like any block, but the Command Block, Structure Block and Debug Stick still require Creative mode and operator rights, otherwise the game says Must be an opped player in creative mode.

Common errors

The old syntax with curly brackets after the item no longer works: enchantments now go in square brackets, as shown here. For more options, see /give and /enchant.

✓ Checked in Java Edition 26.3 · updated 2 November 2026

FAQ

Can I go above the maximum enchantment level with /give?

The enchantments component accepts higher numbers, but these commands stick to the real maximum levels so the gear behaves like survival gear at its best.

Why does my /give command say the item is unknown?

Check the spelling of the ID: it is netherite_sword, not netherite sword. Press Tab while typing to let the game complete it.

Commands used on this page

/giveGive items and blocks to players