Command Blocks Mod enables the automatic execution of various commands within the Minecraft Pocket Edition world, which is quite impressive! Commands will be triggered when a redstone signal is received by the command block. The command block can process both javascript and standard text commands found in other mods.
The command block officially exists in the PC version of Minecraft, but it is likely that this truly useful mod will soon be introduced in the Pocket Edition version as well.
How does it work?
The command block (id – 137) can be obtained through the creative mode inventory. When activated by redstone, the command block performs various actions based on the text commands provided.
In this example, we will utilize commands available in the Simple Commands mod. These commands will allow us to switch between day and night.
First, let’s place the command block in a convenient location for activating night. Click on the command block to enter the command. The command block can process javascript, for example, javascript: Level.setRainLevel(1); Here, we entered the command: /timeset night.
Next, place another command block in a suitable location, but set it to the day command: /timeset day.
Now, use levers to send redstone signals to the command blocks. When a redstone signal reaches the command block, it will execute the command you previously set.
How to install the Command Blocks mod:
- Download the mod.
- Install the Simple Commands mod.
- Launch BlockLauncher Pro.
- Click on the wrench icon.
- Go to “ModPE Script”.
- Enable mod support and click “Add”.
- Now, locate the downloaded mod in your device’s file system and click on it.
- The mod is installed, enjoy your game!
Если моды .js то можно через мкпе мастер