HomeJavaModsCommand Optimiser
Command Optimiser
ModsJava

Command Optimiser

by Barnaby · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 26.1–26.1.2 · Fabric⬇ Download for 1.21.11 · Fabric⬇ Download for 1.21.9–1.21.10 · Fabric⬇ Download for 1.21–1.21.8 · Fabric⬇ Download for 26.1–26.1.2 · NeoForge⬇ Download for 1.21.11 · NeoForge⬇ Download for 1.21.9–1.21.10 · NeoForge⬇ Download for 1.21–1.21.8 · NeoForge⬇ Download for 26.1–26.1.2 · Quilt⬇ Download for 1.21.11 · Quilt⬇ Download for 1.21.9–1.21.10 · Quilt
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Command Optimiser

Reduces performance impact of command blocks by caching parsing results.

How it works

When running command blocks, the game parses the command text every time it is run. This takes up a lot of redundant processing time. Instead if the results of parsing are stored in memory we can speed up command execution. The command only needs to be parsed again when it is changed.

Expected performance improvements

Depending on the number of command blocks you use, the performance gains may vary.

You can safely expect that the TPS impact of command blocks will reduce by at least 10-20%. Gains will likely be smaller for commands that affect blocks than other, less intensive commands.

Testing with real-world command usage on a creative server showed a reduction of about 30% (overall 3-4% of server busy time).

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more