Minecraft Command Block Generator

Create powerful command blocks for Minecraft Java and Bedrock editions with our easy-to-use generator.

What You Can Do With This Tool

  • Generate command blocks for both Java and Bedrock editions
  • Create chains of commands that execute in sequence
  • Design advanced execute commands with target selectors
  • Use our Scoreboard Helper to manage game objectives
  • Choose from pre-made templates for common commands
  • Copy commands directly to your clipboard

Command Block Types Explained

Impulse

Executes once when activated by redstone. Perfect for one-time commands or starting a sequence.

Chain

Executes after the command block pointing into it. Ideal for creating sequences of commands.

Repeating

Executes continuously while activated. Great for commands that need to run constantly.

Command Block Generator

Use our intuitive interface to create command blocks for your Minecraft world. Select the type, configure settings, and copy the generated command.

Command Block Properties

  • Type: impulse
  • Conditional: No
  • Always Active: No
  • Track Output: Yes

Generated Command

No command generated yet
JSON/NBT Formatter & Validator

Scoreboard Helper

Scoreboards are powerful tools for tracking player statistics, creating custom game mechanics, and storing data in Minecraft. Our Scoreboard Helper makes it easy to generate the commands you need.

Scoreboard Helper
Generate commands for creating and managing scoreboards in Minecraft

Must be unique, no spaces, max 16 characters

Shown to players, can include spaces

Determines how scores are tracked

Please enter an objective name

Command Block Tutorial

New to command blocks? Here's a quick guide to help you get started with using command blocks in Minecraft.

How to Get Command Blocks

Command blocks cannot be crafted or found in the Creative inventory. To get one:

  1. Enable cheats in your world
  2. Type /give @s command_block in the chat
  3. For Bedrock Edition, enable "Education Edition" in world settings

Basic Command Block Usage

To use a command block:

  1. Place the command block in your world
  2. Right-click (Java) or tap (Bedrock) to open the interface
  3. Type your command without the leading slash (/)
  4. Configure the block settings (Conditional, Always Active, etc.)
  5. Apply redstone power to activate (unless set to Always Active)

Command Block Settings

Conditional vs. Unconditional

Conditional: Only executes if the command block behind it was successful.
Unconditional: Always executes regardless of previous commands.

Needs Redstone vs. Always Active

Needs Redstone: Requires a redstone signal to activate.
Always Active: Executes without needing redstone power.

Popular Command Examples

Teleport All Players

tp @a 100 64 100

Teleports all players to coordinates X:100, Y:64, Z:100.

Give Enchanted Item

give @p diamond_sword{Enchantments:[{id:"minecraft:sharpness",lvl:5}]}

Gives the nearest player a diamond sword with Sharpness V.

Weather Control

weather thunder 1000

Sets thunderstorm weather for 1000 seconds (16.6 minutes).

Custom Mob Spawning

summon zombie ~ ~ ~ {CustomName:'text":"Super Zombie',Health:100f}

Spawns a zombie named "Super Zombie" with 100 health points.

Frequently Asked Questions

CraftMC

Your ultimate resource for Minecraft tools and guides.

Professional ToolsExpert GuidesActive Support

Quick Links

© 2025 CraftMC. All rights reserved.