Skip to content
That VideoGame Blog
  • Home
  • News
    • PlayStation
      • PlayStation 5
      • PlayStation 4
      • PlayStation 3
    • Xbox
      • Xbox Series X
      • Xbox One
      • Xbox 360
  • Review
    • Games Reviews
    • Lifestyle Reviews
  • Gear
    • Gaming chairs
      • AutoFull Gaming Chair Review
      • Best Big and Tall Gaming Chair
      • Best Budget Gaming Chair
        • Under $200
        • Under $100
      • Best Gaming Chair for PS4
      • Best Gaming Chair with Footrest
      • Best Gaming Chair with Speakers
        • Best Bluetooth Gaming Chair
      • Best Gaming Couch
      • Best Gaming Recliner
      • Best Pink Gaming Chair
      • Best Purple Gaming Chair
      • Best White Gaming Chair
      • Best RGB Gaming Chair
      • Best Xbox One Gaming Chair
      • GTRACING Gaming Chair Review
      • Homall Gaming Chair Review
      • Most Comfortable Gaming Chair
      • Respawn 110 Gaming Chair Review
    • Best Gaming Desk
      • Best Cheap Gaming Desk
      • Best Corner Gaming Desk
      • Best Gaming Computer Desk for Multiple Monitors
      • Best L Shaped Gaming Computer Desk
      • Best Gaming Lap Desk
      • Best Gaming Lapboard
      • Best RGB Gaming Desk
    • Gaming Hard Drives
      • 7 Best PS4 Compatible External Hard Drives
      • The 5 best internal hard drive upgrade options for your PS4
      • The best 2 terabyte hard drive for the PlayStation 4
    • Best Gaming Tablet
  • Our Team

Editorials / Minecraft Give Command: How to Use it to Spawn Any Item!

Editorials
Reading time: 10 min read

Minecraft Give Command: How to Use it to Spawn Any Item!

Posted by:
Dane N
on March 14, 2023 March 14, 2023
minecraft give command, blocks, header

Contents

  • 1 How to use the Minecraft Give Command
    • 1.1 The Give Command in Minecraft Java Edition
    • 1.2 The Give Command in Minecraft Bedrock Edition
  • 2 Understanding Arguments
    • 2.1 Java Give Command Arguments
    • 2.2 Bedrock Give Command Arguments
  • 3 Give Command Examples
    • 3.1 Java Edition Give Command Examples
    • 3.2 Bedrock Edition Give Command Examples
  • 4 Using Minecraft Command Generators – Easy Commands!
  • 5 Other Extra Tips
    • 5.1 Unlocking Commands in Single-Player Mode
    • 5.2 Unlocking Commands in a Multiplayer Minecraft World
    • 5.3 Command Blocks
      • 5.3.1 How to Give Yourself a Command Block in Minecraft
    • 5.4 Extra Commands:
  • 6 Useful Items in Minecraft
    • 6.1 Tools, Weapons, and Useful Items
    • 6.2 Food and Effect Items
    • 6.3 Crafting Materials and Other Items
  • 7 Closing Thoughts
  • 8 FAQs About the Minecraft Give Command
    • 8.1 What is the Give Command in Minecraft?
    • 8.2 How do you Give Yourself Items in Minecraft?
    • 8.3 What is the @P Command in Minecraft?

 

This post was last updated on April 1, 2026

The Minecraft give command lets you spawn any item you want. This is a powerful tool that makes it easy to create new items with specific conditions.

You can also use it to spawn enchanted items or add items with a range of extra conditions.

Writing out the Give Minecraft command is relatively complex compared to many commands in the game – so make sure you follow this guide to understand exactly how it works!

Writing out the Give Minecraft command

How to use the Minecraft Give Command

How to use the Minecraft Give Command

The Minecraft Give command is relatively easy to use, although there are a few different sections. This is definitely one of the best minecraft commands in the game, so it’s definitely worth working out how to use it.

Note, that the exact way the console commands work is slightly different between the Java and Bedrock versions of the game.

First, we show the general command, then we break down the arguments – which are the different sections of the command that affect the way it works. After this, we’ll give you some examples to help you to understand how the command works in more detail.

Simply type these Minecraft commands into your chat box.

To do this:

  • Press the chat button (it’s typically “C” on a PC)
  • Type a forward slash, followed by the desired command.

The Give Command in Minecraft Java Edition

To use the give command in Minecraft Java, enter the following text into your chat box:

  • /give <target> <item> [<count>]

The way these Minecraft commands works is explained in more detail in the next section.

The Give Command in Minecraft Bedrock Edition

To use the give command in Minecraft Java, enter the following text into your chat box:

  • /give <player> <itemName> [amount] [data value] [components]

Understanding Arguments

Understanding Arguments

This section explains the arguments. Change these to control the way the command works. Combining a range of arguments lets you create items with very specific use conditions and rules.

Java Give Command Arguments

  • <target> Defines the player or entity to give the specified item to.
  • <item> Defines the type of item given.
  • <count> Defines the number of items given to the targets (between 1 and 2147483647)

Bedrock Give Command Arguments

  • <player: target> = Targets the player(s) to spawn items in the player’s inventory.
  • <itemName> = Defines the item to spawn – can either be the name, or an ID number tag.
  • <amount> = Defines the number of items to spawn (between 1 and 32767)
  • <data> = A number that modifies the properties of the item. For example, give a number to determine which type of wooden planks or other wooden blocks are generated.
  • = Adds modifying rules to the item. Choose from:
    • minecraft:can_place_on,
    • minecraft:can_destroy
    • minecraft:item_lock
    • minecraft:keep_on_death

Give Command Examples

Here are some examples to demonstrate some uses of the Minecraft Give Command

Java Edition Give Command Examples

This sample command gives the nearest player an iron sword with a description saying “A basic iron sword”:

  • /give @a minecraft:iron_sword{display:{Lore:[“”A basic iron sword””]}} 1?
Java Edition Give Command Examples

Give the nearest player 10 Night Vision potions:

  • /give @p potion{Potion:”minecraft:night_vision”} 1?0

Give a random player a Sharpness V iron sword:

  • /give @r iron_sword{Enchantments:[{id:”minecraft:sharpness”,lvl:5}]} 1?

Give a random player 64 level 2 Wither Potions with Knockback 2:

  • /give @r potion{Enchantments:[{id:”minecraft:knockback”,lvl:2}],CustomPotionEffects:[{Id:20,Amplifier:1}]} 64

Give yourself 5 blocks of gold that can be placed on dirt and can destroy nearby cobblestone blocks.

  • /give @s minecraft:gold_block{CanPlaceOn:[“minecraft:dirt”],CanDestroy:[“minecraft:cobblestone”]} 5

Bedrock Edition Give Command Examples

Give all players an iron sword that will not be dropped on death:

  • /give @a iron_sword 1 0 {“keep_on_death”: {}}?

To give a random player a diamond that can’t be used for crafting, or dropped:

  • /give @r diamond 1 0 {“item_lock”: {“mode”: “lock_in_inventory”}}?

To give all players a diamond shovel that is locked in a slot, and can’t be dropped or used for crafting:

  • /give @a diamond_shovel 1 0 {“item_lock”: {“mode”: “lock_in_slot”}}?

Give all players a night vision potion:

  • /give @a potion 1 5?

Using Minecraft Command Generators – Easy Commands!

Using Minecraft Command Generators

Because the system for writing the Give command can be relatively complex, sometimes it’s easier to use a command generator.

These websites make the process of writing a Give command much simpler. You just select the items you want to spawn, add the modifiers, and voila! The generator gives you a perfectly written command to paste into a chat message.

Other Extra Tips

Here are some other useful tips when working with the Give Command.

Unlocking Commands in Single-Player Mode

To use the Give command, you need to either be in creative mode or have cheat codes enabled in survival mode.

If you didn’t enable cheat codes when you were creating your world, you can activate them using this cheeky method:

  1. Pause the game.
  2. Click the “Open to LAN” button.
  3. Click the cheats button until it says “Allow Cheats”.
  4. Start the LAN mode.

This method lets you use cheats in a single-player survival world. Unfortunately, it’s only active during the session. So you’ll need to reactivate it every time you start playing your world.

Unlocking Commands in a Multiplayer Minecraft World

If you are playing in a multiplayer server, you’ll need to have operator permissions to be able to use commands. If you are hosting the server, you should automatically be on the OP list, however, you can easily add your name to the server config files.

However, if it isn’t your server, you’ll have to ask another operator or server administrator to give you OP permissions.

Ask nicely, although in larger servers they will be very strict on who they give these permissions to as it puts the server at risk of being griefed.

Command Blocks

minecraft give command, blocks, header

You can put the Give command inside a command block to make it redstone activated. This is useful for multiplayer servers to add spawn items, rewards, or any other creative use you can imagine.

Simply place the command block, right-click it, then enter the command into the text field and hit add.

Now, these commands can be activated any time the command blocks are connected to an active redstone signal.

How to Give Yourself a Command Block in Minecraft

To give yourself a command block in Minecraft, simply type:
/give @s command_block

Or, in creative mode, you can go into the Controls options, and enable the “Operator Creative Tab” option to pull them from the creative inventory.

Extra Commands:

Here are some other useful commands to know!

You can use this command to give a player free experience points:

  • /experience add <player> <amount>

If you want to learn information about certain commands, type this:

  • /help <command name>

If you want to teleport a player, type:

  • /TP <player name> <coordinates>

Coordinates are given as an X, Y, and Z value, for example, “100 234 -4123”

You can also teleport one player to another player’s location.

E.g “/tp <player 1> <player 2>” will teleport player 1 to player 2’s location.

You can instantly kill a player by typing

  • /kill <player name>

Useful Items in Minecraft

Here is a list of the items available in Minecraft, to show you what you can give a player using the Give Command.

When typing the command, replace any spaces with an underscore, for example, “fishing_rod”

If you are spawning items that come in a range of materials – for example, diamond shovels, iron shovels, wooden shovels. Simply write the material type before the tool name, with an underscore in between. E.G “diamond_pickaxe” or “iron_sword”.

Tools, Weapons, and Useful Items

  • Arrow
  • Axe
  • Bow
  • Bucket
  • Carrot on a Stick
  • Clock
  • Command Block
  • Compass
  • Crossbow
  • Exploration Map
  • Fire Charge
  • Fishing Rod
  • Flint and Steel
  • Glass Bottle
  • Dragon’s Breath
  • Hoe
  • Lead
  • Map
  • Pickaxe
  • Shears
  • Shield
  • Shovel
  • Sword
  • Saddle
  • Spyglass
  • Totem of Undying

Food and Effect Items

  • Apple
  • Golden Apple
  • Notch Apple
  • Beetroot
  • Beetroot Soup
  • Raw Beef
  • Steak
  • Bread
  • Cake
  • Carrot
  • Golden Carrot
  • Raw Chicken
  • Cooked Chicken
  • Chorus Fruit
  • Clownfish
  • Cookie
  • Egg
  • Raw Cod
  • Cooked Cod
  • Melon Slice
  • Milk
  • Mushroom
  • Mushroom Stew
  • Raw Mutton
  • Cooked Mutto
  • Porkchop
  • Cooked Porkchop
  • Potato
  • Baked Potato
  • Poisonous Potato
  • Potions
  • Pufferfish
  • Pumpkin Pie
  • Raw Rabbit
  • Cooked Rabbit
  • Rabbit Stew
  • Rotten Flesh
  • Salmon
  • Cooked Salmon
  • Sugar
  • Suspicious Stew
  • Sweet Berries

Crafting Materials and Other Items

  • Blaze Powder
  • Blaze Rod
  • Bone
  • Bonemeal
  • Book
  • Book and Quill
  • Enchanted Book
  • Bowl
  • Brick
  • Clay
  • Coal
  • Charcoal
  • Cocoa Beans
  • Copper Ingot
  • Diamond
  • Dyes
  • Emerald
  • Ender Pearl
  • Eye of Ender
  • Feather
  • Spider Eye
  • Fermented Spider Eye
  • Flint
  • Ghast Tear
  • Glistering Melon
  • Glowstone Dust
  • Gold Ingot
  • Gold Nugget
  • Gunpowder
  • Ink Sac
  • Iron Ingot
  • Iron Nugget
  • Lapis Lazuli
  • Leather
  • Magma Cream
  • Music Disc
  • Name Tag
  • Nether Bricks
  • Paper
  • Popped Chorus Fruit
  • Prismarine Crystal
  • Prismarine Shard
  • Rabbit’s Foot
  • Rabbit Hide
  • Redstone
  • Plant Seeds
  • Beetroot Seeds
  • Nether Wart Seed
  • Pumpkin Seeds
  • Wheat Seeds
  • Slimeball
  • Snowball
  • Spawn Eggus)
  • Stick
  • String
  • Wheat
  • Netherite

Closing Thoughts

Now you’ve learned how to use the Give Command to give a player any item in the game. This is one of the best commands in Minecraft and can be used in a lot of cool and creative ways.

Unlike most other commands in Minecraft, the Give command can be relatively complex, so we recommend using a Give Command Generator as outlined above!

FAQs About the Minecraft Give Command

What is the Give Command in Minecraft?

Here is the Give Command in Minecraft. Note, that there is a slight variation between the Java and Bedrock versions of the command:

Java Edition

  • /give <target> <item> [<count>]

Bedrock Edition

  • /give <player> <itemName> [amount] [data] [components]

You can find out the full details of how this command works in the guide above.

How do you Give Yourself Items in Minecraft?

There are a few ways to give yourself items in Minecraft. The easiest is to go into creative mode, and then put the items into your survival inventory.

You can enter creative mode (if you have cheats activated) from a survival or adventure mode world using this command:

  • /gamemode c

Then you can re-enter survival mode using this command:

  • /gamemode s

The alternative method for giving yourself items is by using the Give Command. This is outlined fully in the article above.

What is the @P Command in Minecraft?

The @P command in Minecraft is a type of player targeting. In certain commands, you will need to provide a targeted player, for example – who to give items to, or who to teleport.

The @P target will target the nearest player.

Open the bio of Dane N

Dane started off gaming at the tender age of 3 with the first Atari console. His favorite video game genres are turn-based RPGs (can I get a shout out for Tactics Ogre?) and fighting games.

Dane also attends EVO every year. He hopes to one day get into the top-64 there.

Tags Minecraft

Latest reviews

View all

REVIEW / Demonschool (Switch)

6.5/10

REVIEW / Bokura: planet (Steam)

9.5/10

REVIEW / Tormented Souls II (PS5)

7/10

REVIEW / Platypus Reclayed (PC)

8/10

REVIEW / GUG (PC)

8/10

🔥 Trending now

pokemon sapphire cheats, header

Best Pokemon Sapphire Cheats (Fully Tested List)

pokemon heartgold cheats, header

Pokemon HeartGold Cheats (Your Ultimate Guide)

pokemon unbound, header

All GBA Pokemon Unbound Cheats (Fully Tested, Every Version)

Best Pokemon Platinum Cheats You Didn’t Know You Needed

Recommended for you

sims 4 challenges, header, black widow
Editorials

Sims 4 Challenges: 20+ of the Best

  When it comes to gameplay variety in Sims 4, the sky is the limit,

pokemon ruby cheats, header
Editorials

All Pokemon Ruby Cheats (Full Tested List!)

  The third-generation entries are possibly some of the most loved out of all the

sims 4 legacy challenge, header
Editorials

Sims 4 Legacy Challenge (Full Rules & List)

  The Sims 4 Legacy Challenge dares Sims players to build a thriving ten-generation legacy

minecraft best enchantments, enchanting table header
Editorials

The Best Minecraft Enchantments – How To Make Your Gear Overpowered

  Looking to create some overpowered gear in Minecraft? In this guide, you’ll learn the

Malenia's Set, elden ring armor sets, header
Editorials

All Elden Ring Armor Sets And Locations (Full Guide)

  Unless you are very good at Elden Ring you are going to want your

More stories

  • News
  • PC News
  • PlayStation 5 News
  • PlayStation 4 News
  • Xbox Series X News
  • Xbox One News
  • Editorials
  • Reviews
  • Games
  • Lifestyle
  • Gear
  • Best Gaming Chair
  • Best Gaming Desk
  • Best Hard Drive for Gaming
  • The Best Gaming Monitor
  • Best Gaming Tablet
  • About
  • Our Team
  • Contact
  • Become a writer
  • Legal
  • Advertise
  • DMCA & Copyright Policy
  • Privacy Policy
  • Terms of use
DMCA.com Protection Status
ThatVideoGameBlog.com © 2026 All rights reserved

Earnings Disclaimer: That VideoGame Blog is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com. Amazon, the Amazon logo, AmazonSupply, and the AmazonSupply logo are trademarks of Amazon.com, Inc. or its affiliates.

  • Home
  • News
    • PlayStation
      • PlayStation 5
      • PlayStation 4
      • PlayStation 3
    • Xbox
      • Xbox Series X
      • Xbox One
      • Xbox 360
  • Review
    • Games Reviews
    • Lifestyle Reviews
  • Gear
    • Gaming chairs
      • AutoFull Gaming Chair Review
      • Best Big and Tall Gaming Chair
      • Best Budget Gaming Chair
        • Under $200
        • Under $100
      • Best Gaming Chair for PS4
      • Best Gaming Chair with Footrest
      • Best Gaming Chair with Speakers
        • Best Bluetooth Gaming Chair
      • Best Gaming Couch
      • Best Gaming Recliner
      • Best Pink Gaming Chair
      • Best Purple Gaming Chair
      • Best White Gaming Chair
      • Best RGB Gaming Chair
      • Best Xbox One Gaming Chair
      • GTRACING Gaming Chair Review
      • Homall Gaming Chair Review
      • Most Comfortable Gaming Chair
      • Respawn 110 Gaming Chair Review
    • Best Gaming Desk
      • Best Cheap Gaming Desk
      • Best Corner Gaming Desk
      • Best Gaming Computer Desk for Multiple Monitors
      • Best L Shaped Gaming Computer Desk
      • Best Gaming Lap Desk
      • Best Gaming Lapboard
      • Best RGB Gaming Desk
    • Gaming Hard Drives
      • 7 Best PS4 Compatible External Hard Drives
      • The 5 best internal hard drive upgrade options for your PS4
      • The best 2 terabyte hard drive for the PlayStation 4
    • Best Gaming Tablet
  • Our Team