Command Blocks Mod

The Command Block is incredibly useful because it can be used for executing text commands in Minecraft. And it’s only triggered when there’s a redstone signal active. The block can process javascript and custom commands found in other mods.

It’s one of those features which the PC version of Minecraft has by default but is not likely to be an official part of Pocket Edition for a long time.

Creator: Lachlan, Twitter Account

How does it work?

The Command Block (ID 137) can be obtained by using the creative inventory. It’s a block which when triggered by a redstone signal can execute both javascript and custom mod commands.

In this example we will be using the commands available in the X-Commands mod to explain how you can use redstone and the Command Block to switch time between day and night.

Begin by placing down the first Command Block which will be used for activating night-time. Tap on the block to set the command to use. Here you can also enter JavaScript, e.g.: javascript: Level.setRainLevel(1); – this would turn on rain


Then place down the second Command Block and let’s set it to execute the day command.


Now use the levers to trigger the redstone signal. The redstone signal will then transmit power to the Command Block which will in return execute the command it is setup to execute.


Download (GitHub Source)
Download MediaFire

You may also like...

Installation Guides


124 Responses

4 / 5 (6 votes)
  1. Angelo says:

    Command blocks are already in MCPE 1.0.5. This mod is useless.

  2. Peyton says:

    can I get the game please 🐈😛

  3. noobmcbe says:

    This mod has /entitydata and other cmds?

  4. Anonymous says:

    Uhhh cool!

  5. MATT090604 says:

    Nvm, Dont let that comment pass and delete my old ones.

  6. lol says:

    cool things

  7. Bombmaker45 says:

    I already have the mod but the command won’t work, please help me

  8. Hassan says:

    i really want it to

  9. Sam Chen says:

    I like the new commad block update!!!!

  10. Sam says:

    Really want it.So cool!.

  11. ... says:

    How do you get it on PE?

  12. Anonymous says:


  13. Nobody says:

    New update there are already command blocks dummy

  14. Rose says:

    Minecraft is so cool

  15. Anonymous says:


  16. TH3_R3aL_AnOnYmOuS says:

    Guys relax its error because it can be play on ly on android it is not compatible on ios did all of you get it

  17. Juan says:

    Hey guys there is command block that works in 1.0.5 how to get command blocks is /give @p command_block this is real

  18. Oyuncu4455672 says:

    I couldn’t dowload it .it isn’t working. And my computer says don’t dowload it for media fire

  19. Ethan Eyu says:

    Pls how do I get a command block in pocket edition!?

  20. Sam says:

    does this work in Windows10?

  21. Theo Jones says:

    will this work for w10 e ?

  22. RealYukioGMPKYT says:

    This Work For IOS?

  23. Random says:

    I’m gonna paste my error screen

  24. Keaneplays says:

    I can’t download it

  25. Anonymous says:

    Notch please I won’t command block

  26. MCPENinga123 says:


  27. Matt090604 says:

    print(“hi mod maker”); alert(“Im a coder too and Im a kid :-)”);

    I also know HTML

  28. Knight Moore says:

    I love it it is awesome.

  29. Ender_Joker says:

    Can you get this for iOS or not and if not will you try to Make an update for iOS so we can in joy this mod thank you

  30. Siti Hawa says:

    Why /timeset day and /timeset night doesnt work to my command block?

  31. David says:

    If my friends play in my world that has command blocks, will the commands work?

  32. Skjsmsjsjsj says:


  33. Jack says:

    How do I download it?

  34. YassiGamer says:

    Ok I know the answer… but One More Question…. Can you put fake players in a specific world with command blocks? How? I really need the reply A.S.A.P(As Soon As Posibble) because i need to record for my Youtube Channel, Quickly..

  35. YassiGamer says:

    Does this work on Mcpe 0.15.0 ?

  36. Yanelly says:

    I really love to have this texture pack plz it so Beautiful I I know I’ll have fun building houses and many other things with this texture pack I hope u pick me to get a texture pack

  37. Dhsi says:

    Does it work with 0.15.0

  38. yukiofficial1 says:

    Hi can i have mod in mcpe?
    Plz i need to so i can battle herobrine

  39. RainbowStalker says:

    Whats the difference between javascript and commands?

    • Editor says:

      Javascript is code. Commands can be accessed by using the SimpleCommands mod. Basically this is coded commands which are easier to use than writing the actual code (javascript)

  40. DKdeadAnzle says:

    When I type “§” command block will add Á Â Ã Ă by itself I dont need that thing. what should I do?

  41. Rihanna says:

    Wow great vid… I so got the idea of getting a mod???

  42. Deedee says:

    the link dosent work

  43. RedCyber says:

    What is the source for?

  44. Cuco says:

    This is awesome

  45. Migz says:

    Can we personalize our commands? Like in PC?

  46. Bensen247 says:

    Hi creator of this mod. I have some bug when typing javascript codes. When I type javascript:clientMessage(“§lHello”) or javascript:ModPE.showTipMessage(“§lHello”) ,it works. But when I restart my world, There are some letters added i the “§lHello”. It has some letters like à and Â. PLZ FIX THIS. Im making an awesome modded map for mcpe.

  47. godtotoro says:

    Can I make a map with this mod?

  48. Jhomes says:

    Please update the command block. So you can place a button when you crouching or shifting.. or sneak mode. Please ..

  49. Amsden says:

    It’s making me do it over and Over please make it stop plz!!!!!

  50. Amsden says:

    I love it!!!!!!!!!

  51. Jason says:

    I like this mod

  52. xXJVREGIOXx says:

    Why i cant clear the weather

  53. KidelamonPlayz says:

    Is there any commands for this mod exept simplecommands pls reply

  54. Teddy Bear yill says:

    Hoe do you install this?

  55. Ron Padilla says:

    Where is the media fire link? Plz help me

  56. ncanimo says:

    I love it .but in multiplayer the command blocks doesn’t executes any commands in the simple commands mod.
    Pls help 🙂

  57. Donosogirl1 says:

    Does this only work on androids

  58. Reishan says:

    I tried /time set day it doesnt work only the javascript:level.set.rainlevel(1)

  59. Aniket says:

    Thank you for making this

  60. Fireydestoryer says:

    This is awesome !

  61. Sitara says:

    Thx for telling

  62. Jake says:

    This mod is amazing!!!

  63. kimchesse says:


  64. Raisen1920 says:

    Failed to import patch,

    • Editor says:

      Please copy and paste full error message

      • Ethan says:

        I see you ask a lot people what this ishue is and to help you better understand (not meaning this in a ahole tone just in case it seems that way) it shows people the code behind the mode and not the open in Mc thing hope this helps cause this block is needed in Mc

  65. Hayden says:

    Command blocks are awesome

  66. Benjamin says:

    This is great

  67. Benjamin says:

    Nice mod

  68. Luc says:

    its the most awesome thing in minecraft so far

  69. Steve? says:

    I tried it many times ,but it doesnt work’-‘

  70. kasra says:

    The commands i enter wont work and nothing happens

  71. Samor4iGamer says:

    The Download Links Doesn’t Work

Leave a Reply

Your email address will not be published.

Anti-Spam Quiz:

Login Register