How to use command blocks in Minecraft

This guide will teach you how to obtain and use command blocks in Minecraft.

 

Step 1

Ensure that you are an admin on your own server. You’ll want to open up your Console, and type the following command, replacing your username with <USERNAME>:

op <USERNAME>

For example, if your username was Herobrine, you’d type:

op Herobrine

Note: Make sure not to use slashes in the console!

OP command

 

Step 2

To obtain a command block, you’ll need to use a command as it cannot be found in the traditional creative inventory.

You can use the following command to give yourself a command block for use:

/give @p command_block 1

Command block give

 

Step 3

Once placed down, it will open a menu that you can input commands. If you input a command and give the command block a redstone input, it will run the command.

For example, if you type the following into the command block, it will spawn a sheep on the command block:

/summon sheep

Summon sheep

 

You should now know the basics of obtaining and using a command block!

If you wish for some further reading, check out the official Minecraft wiki:
https://minecraft.wiki/w/Tutorial:Command_blocks_and_functions

  • 0 משתמשים שמצאו מאמר זה מועיל
?האם התשובה שקיבלתם הייתה מועילה

מאמרים קשורים

Connecting to a Minecraft Java Edition Server

In the Minecraft start-up screen, select 'Multiplayer'. To add your server into your...

How to run a FTB Modpack on your Minecraft Server

To run a FTB Modpack on your Minecraft server, you have to: Login to your Multicraft and stop...

Backing up & restoring your Minecraft server

To backup your Minecraft server you must: Login to your Multicraft and stop your server....

How to install Bukkit/Spigot on a Minecraft server

To run Bukkit/Spigot on your server, you have to: Login to your Multicraft control panel...

Uploading a Minecraft modpack

To install a Minecraft Modpack onto your server, you have to do the following: Login to your...