Of course, pulling up the command console will only get you so far – you'll also need to know a few codes to enter in the dialogue box. With the command console open, all you'll need to do is type in your cheat code and the game will take care of the rest. If you're playing on another server, try pulling up the command console menu – this varies by platform, but can be performed on PC using the "/" key. If you're the one creating the server, you can simply enable this option during setup. Now the nearest player (DigMinecraft) will be given 2 jungle planks that are added to the player's inventory.Ĭongratulations, you have learned how to use the /give command in Minecraft.Before you can start zipping around the map and giving all your friends free diamonds, you'll need to make sure you're playing on a server that allows console commands. You will see the message " Given x 2 to DigMinecraft" appear in the lower left corner of the game window. See a complete list of Minecraft IDs that is interactive and searchable. In this example, we have used a DataValue of 3 to specify the variation of planks that we want to give (ie. Sometimes, people will refer to the DataValue as damage value or data value.įor example, you can give 2 jungle planks to the nearest player with the following command: /give planks 2 3 If you just specify planks in the /give command, you will always be given oak planks.īut how can you give a player jungle planks instead of oak planks? Easy enough, just add a DataValue to the end of the /give command. For example, planks is the name assigned to all 6 types of wood planks (oak, acacia, birch, dark oak, jungle, and spruce). The last example that we want to cover is how to give an item to player when the minecraft name refers to more than one variation of the block. Now DigMinecraft will be given 4 blocks of gold that is added to the player's inventory. You will see the message " Given x 4 to DigMinecraft" appear in the lower left corner of the game window. In this example, you have specified an amount of 4 in the /give command. Type the command in the chat window and press the Enter key to run the command. The amount goes after the Item that you are giving.įor example, you can give DigMinecraft 4 blocks of gold with the following command: /give DigMinecraft gold_block 4 If want to give multiple blocks at once, you need to specify an Amount in the /give command. In the first example, we did not enter the Amount parameter so only one gold block was given. You have now given 1 block of gold to the player called DigMinecraft. You will see the message " Given x 1 to DigMinecraft" appear in the lower left corner of the game window. Once the cheat has been entered, the gold block will be added to the player's inventory. As you are typing, you will see the command appear in the lower left corner of the game window. In the first example, we want to give the player named DigMinecraft a block of gold with the following command: /give DigMinecraft gold_block We will also explore how to use the DataValue parameter in the /give command to specify a variation of a block. We will cover examples of how to use the /give command to give an item to a player as well as more than one item to a player at a time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |