HOW TO USE COMMAND BLOCKS in MINECRAFT POCKET EDITION?!!



How to Use Command Blocks in Minecraft

Three Parts:

Commands (also known as cheats) allow players to change every aspect of a Minecraft world, or even other players in it. Each command block is an in-game item that stores a specific command. Whenever the block activates, that command takes effect. This allows you to build fun toys, convenient tools, or even complex, custom adventure maps full of triggered events.

Quick Summary

1. Enter a world in which you have console access.
2. Switch to creative mode.
3. Type "/give (yourusername) minecraft:command_block (number of blocks)" at the console.
4. Place and open a command block.
5. Run a command and clickDone.

Did this summary help you?

Steps

Accessing Command Blocks

  1. Open Minecraft on a PC or Mac.Only the computer edition of Minecraft has command blocks. They are not yet available for Minecraft Pocket Edition or Minecraft for gaming consoles.
  2. Enter a world where you have console access.Command blocks are in-game items that give access to the Minecraft console. They are powerful tools that let you reshape the whole game — but because of this, they are only available in certain circumstances:
    • On a multiplayer server, only the server operators can use command blocks. You'll need to ask an operator to promote you, or host your own server.
    • In a single-player world, you'll need to enable cheats if they weren't enabled at world creation. Open the menu and clickOpen to LAN, check the "Allow Cheats" box, and clickStart LAN world. This will only last one play session, but you can repeat it each time you want to add more command blocks.
  3. Switch to creative mode.Now that you have console access, you can switch to creative mode. This is the only mode that lets you place and program command blocks. Use the following command to accomplish this:
    • Hit T to open the console (the chat bar), or press / to open it and automatically enter / to the line you are typing.
    • Type/gamemode cand hit Enter to enter creative mode.
    • Once you're done setting up command blocks, type/gamemode sfor survival mode or/gamemode afor adventure mode.
  4. Create command blocks.Open the console again with T and type this command:/give (yourusername) minecraft:command_block 64. Instead of (yourusername), type in your full Minecraft username, without parentheses.
    • Your username is case sensitive.
    • If nothing happens, you may need to update minecraft to at least version 1.4. Update to the latest version to get access to all commands.
    • You can replace the "64" with any number to receive that many blocks. 64 makes a full stack of command blocks.

Using Command Blocks

  1. Place a command block.Check your inventory and look for the command blocks you just created. The icon is a brown, patterned box with grey control panels on each side. Move the command blocks to your quick slot and place one on the ground, just as you would any item.
  2. Open the command block interface.Walk up to the command block and right-click to open it, as you would a chest. A window should pop up with a text box.
    • If nothing happens, command blocks might be disabled on your multiplayer server. Someone with access to the server.properties file will need to open that file and setenable-command-blockto "true" andop-permission-levelto "2" or higher.
  3. Enter a command.You can enter just about any command in the command block's text field, then press to save it in the block. There's a long list of commands included below, but trysummon Sheepfor your first experiment.
    • To learn more commands, open the regular console (not the command block) and type/help.
    • Unlike the regular console, a command block's text box does not need to start with the / symbol.
  4. Activate the block with redstone.Connect a trail of redstone dust to the command block, and place a pressure plate on top of the redstone. Walk over the pressure plate to activate the redstone, and a sheep should appear next to the block. This will happen whenever any player or mob activates the redstone.
    • This works just like a regular redstone activation. You can replace the pressure plate with a button, lever, or other activation method of your choice. You can even place the button directly on the command block.
    • Anyone can use the command block once it's set up, but only players with the right permissions can change the command.
  5. Learn the special syntax.For the most part, command block text works the same as the regular console. If you aren't familiar with the console yet, check out the example section below to get started. If you already know how to use console commands, these are the only extra terms you need to learn:
    • @ptargets the player nearest to the command block, no matter how far away she is.
    • @rtargets a random player, anywhere on the server.
    • @atargets every single player on the server, including yourself.
    • @etargets every "entity" on the server. This includes practically anything thatisn'ta block, including players, objects, enemies, and animals. Be careful messing with this one.
    • You can use these terms wherever you would use a player name or entity name (although these terms still work fine).
  6. Modify the syntax for more control (optional).You can create extra-specific commands by adding modifiers after @p, @r, @a, or @e. These use the at[(argument)=(value)]. There are many different arguments and values available. You can look up the full list online, but here are some examples to get you started:
    • A command that includes@r[type=Sheep]will affect a random sheep.
    • @e[m=c]affects everyone in creative mode. The "m" argument stands for mode, and "c" stands for creative.
    • Use the ! symbol to make the opposite value. For example,@a[team=!Commando]will affect every playernoton team Commando. (Teams only exist on special player-made maps.)
  7. Use the Tab key for help.If you know a command, but aren't sure what you can use it for, press Tab and the game will fill it out for you. Press Tab a second time to scroll through a list of options.
    • For example, go back to your sheep-summoning block and delete the word "Sheep." Press Tab to cycle through a list of possible entities to summon.

Example Command Blocks

  1. Make a teleportation box.Save the commandtp @p x y zinto a command block. Instead of x, y, and z, enter the x-, y-, and z-coordinates of the location you'd like to teleport (for example,/tp @p 0 64 0). When anyone activates this box, the player nearest to the box will vanish and reappear at those coordinates.
    • Press F3 to display coordinates.
    • Just like any command, you can replace the "@p" with another term. If you type your username, you'll always be the one teleported, even if someone else activates the block. If you use @r, a random player on the server will be teleported.
  2. Spawn objects or blocks.Assuming you're using Minecraft 1.7 or later, you can make command blocks to summon any entity or block. Here are some examples:
    • A command block withsummon Boatstored will add a new boat next to the block every time the block becomes activated. The people of your server will never need to wait for a ferry again.
    • To spawn a block instead of an entity, use thesetblockcommand instead of the summon command.setblock minecraft:water 50 70 100turns the block at the coordinates 50-70-100 into water. If there was already a block there, it disappears.
  3. Destroy objects or players.The kill command will permanently destroy an entity. This one is dangerous to use, since a typo could end up destroying the wrong thing (or even your entire world if you use @e).kill @r[type=Painting,r=50]destroys a random painting within a 50 block radius of the command block.
  4. Control time and weather.time set dayortime set 0will set the level of sunlight to the specified amount. Try different values instead of 0 to make it any time you like. Once you're tired of ruling over perpetual sunshine, make a block withtoggle downfallorweather rainto start the rain.
  5. Try out even more commands.There are hundreds of commands, which you can find by using/helpor searching Minecraft websites. Here are a few more to explore:
    • say(message)
    • give(player) (item) (number of that item)
    • effect(player) (potion effect)
    • gamerule
    • testforblock

Community Q&A

Search
  • Question
    How do I destroy blocks with command blocks?
    wikiHow Contributor
    Community Answer
    The "setblock" command places blocks, including air"blocks", so "setblock minecraft:air [x] [y] [z]" (without the quotes) should remove a block, or actually replace by air.
    Thanks!
  • Question
    What do I do if the command summoned a zombie, but didn't put armor on it?
    Top Answerer
    You need to specify if the zombie has armor: (/summon Zombie) will tell minecraft to summon a regular zombie with nothing extra, like weapons or armor. To summon a zombie with armor, do : /summon Zombie {Equipment:[{id:minecraft:leather_boots},{id:minecraft:leather_leggings},{id:minecraft:leather_chestplate} {id:minecraft:leather_helmet}]}.
    Thanks!
  • Question
    How do I make a spawn point using command blocks?
    wikiHow Contributor
    Community Answer
    To create a world spawn point, just simply do "/setworldspawn". That sets the world spawn to where you're standing.
    Thanks!
  • Question
    How do I make a message in front of myself, like maps?
    wikiHow Contributor
    Community Answer
    Type in /title @p title. Add /title @p subtitle.
    Thanks!
  • Question
    How do I spawn animals?
    wikiHow Contributor
    Community Answer
    Enter summon, and then press tab to select what to summon. You can summon anything from every single mob to a lightning bolt.
    Thanks!
  • Question
    How do I put in a command that has already been created?
    wikiHow Contributor
    Community Answer
    Find the command that was already created on the internet and copy and paste it into the command console.
    Thanks!
  • Question
    How do I summon a castle with a command block?
    VagosAdis
    Community Answer
    You can't summon a castle, but there are some ways to construct it. The first is the fill command in which you do /fill, and the whole area you have selected will be filled. If you've already made a castle, you can do the clone command (/clone) to replicate it.
    Thanks!
  • Question
    How can I summon the wither?
    wikiHow Contributor
    Community Answer
    Place 4 soul sands like a letter T, then place 3 wither skeleton skulls on the sides and the middle.
    Thanks!
  • Question
    How do I copy and paste a command from a command block that is currently in use?
    VagosAdis
    Community Answer
    There are two ways. First you can do SHIFT and go forward or backwards using the arrow keys, then do CTRL C and the command will be copied. Do CTRL V to paste it. The second way is to press CTRL and the middle button on the block that has NBT data, and it will be put it in your (creative) inventory.
    Thanks!
  • Question
    How can I get heads in Minecraft?
    wikiHow Contributor
    Community Answer
    It should be in the gallery when you go into creative mode. If not, you might need to update to the current version.
    Thanks!
Unanswered Questions
  • How do I use command blocks to promote a user if the user has no admin rights?
  • Can mobs be spawned that will attack players on one team but not the other in Minecraft?
  • How can I make a wither storm in Minecraft?
  • How do I use command blocks in Minecraft on Xbox One?
  • How do I make a button on my key pad to do something new in Minecraft?
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
  • In the regular console, type/helpfor a list of commands. Type/help (command name)to learn about a specific command. You can also find more information at Minecraft wikis and community websites.
  • To turn off the chat notifications for a successful command, open the regular console and enter/gamerule commandBlockOutput false.
  • Nothing happens when the signal to a command block turns off. The command block will trigger again once the signal returns.
  • Even if a command block is not connected directly to redstone, it will trigger if an adjacent, solid block has a redstone "signal strength" of 2 or more.

Warnings

  • You must click Done to save a command block. Closing the window by pressing Esc will not save your command.

  • A redstone signal must be boosted by a redstone repeater if it travels more than 15 blocks.

Related wikiHows

Article Info

Categories:

In other languages:

Español: , Italiano: , Deutsch: , 中文: , Русский: , Nederlands: , Français: , Bahasa Indonesia: , Português: 

Thanks to all authors for creating a page that has been read 110,256 times.





Video: Tip: How to Use Command Blocks in Minecraft

How to Use Command Blocks in Minecraft
How to Use Command Blocks in Minecraft images

2019 year
2019 year - How to Use Command Blocks in Minecraft pictures

How to Use Command Blocks in Minecraft advise
How to Use Command Blocks in Minecraft recommend photo

How to Use Command Blocks in Minecraft images
How to Use Command Blocks in Minecraft foto

How to Use Command Blocks in Minecraft How to Use Command Blocks in Minecraft new pictures
How to Use Command Blocks in Minecraft new foto

foto How to Use Command Blocks in Minecraft
pictures How to Use Command Blocks in Minecraft

Watch How to Use Command Blocks in Minecraft video
Watch How to Use Command Blocks in Minecraft video

Communication on this topic: How to Use Command Blocks in Minecraft, how-to-use-command-blocks-in-minecraft/
Forum on this topic: How to Use Command Blocks in Minecraft, how-to-use-command-blocks-in-minecraft/ , how-to-use-command-blocks-in-minecraft/

Related News


Lime-Mint Ice Cream Bars
Teen Boy Haircuts – Hairstyles for Teenage Guys 2019
How to Bring Your Cat to the Vet Without a Carrier
How to Follow the Thyroid Diet Plan
10 Super-Fresh Hairstyles for Brown Hair with Caramel Highlights
How to Make Lipstick Last All Day
4 Things You Need To Stop Saying After Getting A Compliment
Bitsie Tulloch Hairstyles
California Just Banned Pet Stores from Selling Dogs from Puppy Mills
How to Cope With Erectile Dysfunction



Date: 06.12.2018, 01:41 / Views: 54181