Command Blocks Mod Minecraft 1.2

License: Free ‎File size: N/A
‎Users Rating: 3.0/5 - ‎1 ‎votes

The Command Block is incredibly useful because it can be used for executing text commands in Minecraft. And its only triggered when theres a redstone signal active. The block can process javascript and custom commands found in other mods. Its 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. How does it work? The Command Block (ID 137) can be obtained by using the creative inventory. Its 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 SimpleCommands 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 lets 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.

VERSION HISTORY

  • Version 1.2 posted on 2017-03-10

Program Details