Seleccionar página

Store hydrogen

To activate coding in Minecraft press the letter C on your keyboard and choose the Makecode option as the programming software. Once the program opens you will have activated the workspace where you will design your code by dragging and connecting the different pieces you need.

Place yourself on the block that marks the beginning of the activity and look for the next command block.

This block must be placed inside a blue block and then send the order to the Agent to teleport to your position.

Remember to fill the Agent’s inventory with the materials to be able to build.

Use repeating blocks and variables to rebuild. This way you can use the same code as many times as you need.

You may find it easier if you first make a code for the vertical parts and then prepare another code to build the base.

Keep in mind that this construction has equal sides, so the same command can be repeated as many times as you need.

In this section you can find blocks such as «always do» or «repeat x times».

These blocks are C-shaped so you can put inside them all the blocks you want to be repeated.

You may also want to use the blocks in the blue-gray section of MakeCode, to create a conditional situation.

In this section you can find blocks to combine with others.

In this section you can combine its blocks with the hexagonal block that you find in the orange section to create the actions that condition the movement of the Agent.

Remember to use the Move and Place blocks to place the materials in the order you need to complete the construction.    

In addition, you will have to choose the slots in which the material you want to place in each position will be. Place all the materials you are going to use in the order of use in your Agent’s inventory.