How to: Command Block!

What a Command Block looks like

  • 2,696
    Views, 26 today
  • 0 Favorites
  • Flag / Report

Get Embed Code

Level 15 : Journeyman Cake
This is a tutorial on: The Command Block! I will show you how to get it, as well as how to use it. Let's get started.

What is a Command Block?
A Command Block is a block used to enhance the player's gameplay. For example, you can make objects "talk" to the player. You can give things to a player, or even teleport them! All you have to do is activate it with a redstone current.

How do I get one?
Command Blocks are NOT found in the creative selection screen. To get it, you must type a /give command. To type the Command, first press "/" (Without Quotes) then type: "give [playername] 137" The finished command will look like this:
/give [playername] 137
/give is a command that gives blocks, items, or entitys to players. 137 is the Id of the Command Block.

How to I use it?
To use the Command Block, you type a command into it (Hence the name, Command Block). But you must be an Oped player in Creative Mode. But when you type the command, how does it know the playername? Well, instead of typing every username in the world, you use an @ substitute. There are 3 kinds:
@p: Do the command to the nearest player
@r: Do the command to a random player
@a: Do the command to every player.
Confused? That's okay. Here's an example. Lets say we want to give a random player a diamond (Getting any ideas? ;3). To do this, we type in a /give command. The Id of a diamond is 264. So the command is:
/give @r 264
When the Command block is activated, a random player gets a diamond :D

Think you know the basics? Lets try an experiment. Lets say you wanted to give EVERYONE a gold ingot (The Id is 266) Write a Command Block out for me. Well, I'm waiting.

Well, that concludes our Tutorial for today. Here is a FaQ and a list of compatible commands

- I just made this, there ain't no questions, silly.

/give -Gives something to the player
/tp -Teleports the player to given co'ords.
/say, /tell - Puts a message on the screen.
/gamemode -Changes gamemode
/clear -Clears certain Items from player
/toggledownfall -Make it rain or stop raining
/spawnpont -Set player checkpoint
Theres A LOT more, but these I have found most useful.
Tags:Tutorial, Command, Block, How To, Fun

Comments :

Join us to post comments.

1 - 6 of 6

Level 2
Apprentice Explorer
August 1, 2013, 11:32 am

how do i do the smite command for command block

Level 1
New Miner
June 8, 2013, 10:10 pm

I already know abut the base commands do u think u could find mme an awesome command???If so I will subscribe

Level 10
Journeyman Taco
March 18, 2013, 5:08 pm

Thanks! Here is a diamond!

Level 21
Expert Pokemon
February 12, 2013, 2:19 pm

btw you dont need the / in the command block

Level 21
Expert Pokemon
February 12, 2013, 2:18 pm

give @a 266 1


Level 15
Journeyman Cake
February 12, 2013, 2:32 pm

YEP! But you don't need a 1 at the end if you just want 1. :3

1 - 6 of 6