How to Get a Command Block in Minecraft

How to Get a Command Block in Minecraft

The command block is a special structure in Minecraft, which was created specifically for the adventure mode. Using this block, you can display a message in the chat intended for the player, you can destroy all the mobs around, create a pointer to the player or entity. Thanks to the command block, you can create exciting quests and fill the game with interesting riddles.

Recommended Videos

How to Get a Command Block In Minecraft

The command block can only be obtained using the console command.

To do this, type in the chat:

  • /give Player command_block, where Player is your nickname.

To use the command block in a multiplayer game, you need to modify the server.properties file. There you need to set enable-command-block to true.

RELATED: Minecraft: What Does the Respiration Enchantment Do?

How to Use the Command Block

The command block is activated in the game upon receiving a Redstone signal. To ask it a command, you need to open its interface by pressing RMB /

The following commands can be assigned to the command block:

  • @p – nearest player;
  • @a – all players (if possible);
  • @r – random player;
  • @e – all entities.

For example, the closest player can be written like this: / w @p [message]

The player pointer can be expanded using commands specified in square brackets, separated by commas (for example, @p [r = 10, m = 0]). Available commands:

  • x – X coordinate of the search center (if you put the value ~, then the search center will be the command block itself).
  • y – Y coordinate of the search center (if you set the value ~, then the command block itself will be the search center).
  • z – Z coordinate of the search center (if you put the value ~, then the command block itself will be the search center).
  • r – maximum search radius.
  • rm – minimum search radius.
  • m – game mode.
  • l – maximum experience level.
  • lm – minimum experience level.
  • name – player’s nickname.

C is a special command for @a. It limits the number of players to which the command will be applied. For example, @a [c = 10] will take the 10 first players from the list, @a [c = -10] will take the 10 last players from the list.

related content
Read Article Coin Master Daily Free Spins and Coins Links (April 2024)
Read Article Whiteout Survival Codes (April 2024)
Read Article Sakura Stand Codes (April 2024)
Read Article Latest Monopoly GO! Free Dice Rolls Links & Events (April 2024)
Read Article Goddess Of Victory: NIKKE Codes (April 2024)
girls from goddess of victory NIKKE
Related Content
Read Article Coin Master Daily Free Spins and Coins Links (April 2024)
Read Article Whiteout Survival Codes (April 2024)
Read Article Sakura Stand Codes (April 2024)
Read Article Latest Monopoly GO! Free Dice Rolls Links & Events (April 2024)
Read Article Goddess Of Victory: NIKKE Codes (April 2024)
girls from goddess of victory NIKKE

Write A Comment

How to Get a Command Block in Minecraft

Comments are on moderation and will be approved in a timely manner. Please read the following rules before commenting:

  • All comments must be on topic and add something of substance to the post
  • No swearing or inappropriate words
  • No asking or begging for anything free
  • Do not attempt to start a poll in the comments
  • Comments in all CAPS will be removed
  • We reserve the right to remove a comment for any reason
  • Do not impersonate a staff member or influencer

This site uses Akismet to reduce spam. Learn how your comment data is processed.