How to use the Electric Blocks mod.
This guide assumes you already have a working Electric Blocks mod installation. If not, please go back to the installation guides.
Blocks and Items
Unlike other items in Minecraft, Electric Blocks cannot be crafted using in-game materials. The only way to obtain these blocks is through the creative menu or commands. We recommend that you use creative mode. When you’re in creative mode, press
E on your keyboard to open up the menu (this may vary if you have alternative keybindings or control schemes). Then click on the arrow in the top right.
If you have many mods enabled other than Electric Blocks, you may need to search the other creative tab pages, but eventually you should find a tab that looks like the one marked in this image:
Click on this tab to open it and you should see the menu for all Electric Blocks that looks like this:
You can now drag the blocks from that tab into your inventory hotbar at the bottom of the menu. You can hover over the block to get the name of the block. Once the blocks are in your inventory, you can use these to build an electrical network in the Minecraft world. Here is an animated GIF showing you how you can create a very simple network consisting of an external grid, several wires, and a lamp block.
Now you’ve built a network, but how do you interact with it and how do you run simulations? By using the Multimeter! This item is a core part of how this mod works. First you’re going to want to equip the Multimeter item from the Electric Blocks creative menu tab. This procedure is very similar to the previous section. Make sure that the item is in your hand. You can use the scrollwheel or number keys to select the item slot containing the Multimeter. Once you’re weilding the Multimeter, you can perform two different operations. Left clicking on a block will toggle it on or off. Right clicking a block allows you to view and modify the block’s values through a GUI.
Toggle (Left Click)
All the main blocks (exlcuding wires) have a variable called
In Service which indicates whether or not that particular block is enabled. Left clicking on the block will toggle this value to the opposite of its current state and then request a simulation with this new value. This function is kind of like flipping a light switch.
Speaking of which, here is a demo showing this feature in action. At the start of this clip the lamp is turned on, but the external grid is turned off. This means the lamp isn’t receiving any power. When the external grid is left clicked, it is toggled into the enabled state and the lamp now receives power. After this, we left click on the lamp again to turn it off. While the external grid is on and capable of sending power, the lamp is off and so will not utilize any power.
Interact (Right Click)
All the main blocks (excluding wires) have specific inputs and outputs such as voltage, wattage, etc. Right clicking on the block will open up the specific GUI for that block. This menu allows you to set the inputs, view the outputs, and request a simulation for the network that block is in. Here is an example of what the GUI looks like:
The name of the electric block is at the top which describes the type of block. Below the name is a list of all the inputs and outputs for the block. The inputs are at the top of the list and are separated from the outputs by a dashed line. Each entry in the input or output contains a label, a field for the numeric value, and the units of measure. At the very bottom of the GUI are two buttons. The top button toggles whether or not the current block is enabled or not. The bottom button is for submitting your changes and closing the menu. For consistency, all GUIs follow the same basic layout. Here is an example of a different block:
As you can see, the specific inputs and outputs are different, but the fundamental layout is the same. Whenever you open up a GUI, you can close it by either hitting your escape key (
ESC) or by clicking the very bottom submit button. If you press escape, any changes you made will be discarded and no simulation updates will occur. If you hit the submit button, a simulation will only occur if you made changes to the inputs or the
In Service status. The text of the bottom button will change depending on whether or not a change was made. Here is a demonstration of GUIs in action:
The lamp block is right clicked to pull up the GUI. The block currently has
Max Power set to
In Service set to
false. The lamp is off and unpowered in its current state. You can see this in the outputs. The
Result Power field is
0 and the
Light percentage is not a positive value. We want to change this though. The
Max Power input is set to
0.1 MW, the
In Service button is toggled to
true and the submit button is pressed to close the menu.
Once the menu is closed, a simulation request is processed. We right click on the block again to pull up the new information. As you can see, the outputs have now been updated indicating the lamp is now powered and working! It’s daytime in this demonstration so it’s hard to tell, but the lamp is definitely on and working.