Minecraft Blogs / Tutorial

Command blocks: the ultimate guide

  • 1,640 views, 2 today
  • 3
  • 3
  • 5
Lorikeetrainbow's Avatar Lorikeetrainbow
Level 10 : Journeyman Dragon
8
Introduction
Command blocks are very complex to beginners. This guide will teach all beginners how to use command blocks. In this guide, you will learn: to use basic commands, make Redstone circuits, and lastly TROLL ur friends! Warning! I can not guarantee that these are all the commands in the game.
COMMANDS
@e
Targets all entities (including players).
@a
Targets all players, including dead players.
@p
Targets the nearest player. When run by the console, the origin of selection will be at (0, 0, 0). If there are multiple nearest players, caused by them being precisely the same distance away, the player who most recently joined the server is selected.

/gamemode
Changes ur gamemode: Creative mode, survival mode, adventure mode and spectator mode. Gamemode 1, Gamemode 0, Gamemode 3 and Gamemode 2 respectively.
Example: /gamemode 1 (makes ur gamemode 1)

/give
Gives a player something. If the thing has a space, let's say a leather tunic, you must make the space an underscore like this, leather_tunic.
Example: /give @p diamond_sword (gives nearest player a Diamond sword. [if typed in chat it will give you a diamond sword.])

/enchant
Enchants the item the player is holding. In pocket edition, it only enchants enchantable items such as tools and weapons. (Not in offhand).
Example: /enchant @p blast protection 1 (enchants the nearest player blast protection.

/tp
Teleports player to a certain coordinates.
Use /tp like this: /tp lorikeetrainbow "name" just replace "name" with your username and I have been teleported to your location!
Example: /tp lorikeetrainbow 0, 0, 0
(Teleports me to 0, 0, 0)

/effect
Give a player/mob a potion effect. Type: (/effect 'someone' 'effect' 'duration' 'amplifier'). Do 1 million (six zeros) for duration and the effect will last forever until you die or drink milk. The amplifier is like, if you put amplifier to 2 and the effect as absorption, the effect will be absorption 3.
Example: /effect @p resistance 1000000 2 (gives you resistance 3 forever).

/setblock
Places a block at a certain coordinates.
Example: /setblock stone 0, 0, 0 (places a block of stone at 0, 0, 0).

/kill
Kills something.
Example: /kill @p (kills nearest player)
Troll: make a Redstone clock ( not an item)(search Wikipedia if you do not know what is it) then attach a command block with the command: /kill {username} in it.(fill {username} with the name of the person who you want to troll.) this will constantly kill him even when he respawns.


Thanks for reading my guide.
Also if the guide helped you, diamond,Favourite,and subscribe!
Tags

Create an account or sign in to comment.

1
10/07/2017 1:13 am
Level 10 : Journeyman Dragon
Lorikeetrainbow
Lorikeetrainbow's Avatar
You're welcome
1
09/09/2017 1:04 pm
Level 60 : High Grandmaster Cowboy
BlocklyCow
BlocklyCow's Avatar
Thanks for this!! :3
1
08/23/2017 6:48 pm
Level 10 : Journeyman Dragon
Lorikeetrainbow
Lorikeetrainbow's Avatar
Sorry couldn't get any
1
08/23/2017 5:29 am
Level 18 : Journeyman Network
Oasis Network
Oasis Network's Avatar
I would've liked to see what each command block does.
1
08/18/2017 11:07 pm
Level 10 : Journeyman Dragon
Lorikeetrainbow
Lorikeetrainbow's Avatar
More commmands coming soon!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome