Back to mods
Command Block Editor project artwork

Modrinth · Minecraft mod

Command Block Editor

Command block editor that lets you edit multiple command blocks at once

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Command Block Editor release should I use?

Updated today
Latest stable file 5.0+1.21.1
Game version 1.21, 1.21.1
Loader Fabric

Command Block Editor 5.0+1.21.1 targets 1.21, 1.21.1 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Command Block Editor required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Command Block Editor 5.0+1.21.1 need?

5.0+1.21.1. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Command Block Editor without breaking your instance.

Built for Command Block Editor 5.0+1.21.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 5.0+1.21.1. It targets 1.21, 1.21.1 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 5.0+1.21.1. It opens that exact file at the source.

About this project

What does Command Block Editor add?

Command Block Editor

Command Block Editor is a utility mod that makes creating and managing command block systems much faster and more convenient.

Instead of editing command blocks one by one, you can write multiple commands in a single editor and automatically generate complete command block chains.

Perfect for map makers, technical builders, and anyone who works with large command block setups.

Opening the Editor

Press the configured keybind (default: =) to open the editor.

  • If you are looking at a command block, the editor will open with that command block's commands loaded.
  • Otherwise, a new command block will be created at your current position and opened in the editor.
  • Press Ctrl + S to save and close the editor.

Editor Syntax

Syntax Description
<number> Repeat a command multiple times.
! Make the first command block a repeating command block.
@ Toggle auto mode. On the first command it enables auto mode, on subsequent commands it disables it.
? Make a command block conditional.
`expression` Evaluate a mathematical expression.

Expressions support:

  • i iteration index
  • + addition
  • - subtraction
  • * multiplication
  • / division
  • ( ) parentheses
  • ; separates values in a repeating pattern (for example, `1;2` produces 1, 2, 1, 2, ...)

Example

Input:

3: say `i+1`
5: say `1;2`
say hi
?: say hi

Output:

say 1
say 2
say 3
say 1
say 2
say 1
say 2
say 1
say hi
say hi (conditional)

Keyboard Shortcuts

Shortcut Action
Ctrl + S Save and close the editor.
Ctrl + U Ungroup current line.
Ctrl + Shift + K Delete the current line.
Alt + ↑ / Alt + ↓ Move the current line up or down.
Alt + Shift + ↓ Duplicate the current line.

Project description from Modrinth.

Pick your setup

Command Block Editor by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

3 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Command Block Editor versions and loaders

10 of 10 releases match

Looking for an older file? The official Modrinth project page is in Resources.