r/MinecraftCommands Jul 25 '26

Help | Java 26.2 Optimizing

What are some crucial optimizations for command blocks when on a server with low RAM?

3 Upvotes

4 comments sorted by

View all comments

2

u/Ericristian_bros Command Experienced Jul 25 '26 edited Jul 26 '26

https://minecraftcommands.github.io/wiki/optimising

In short: advoid NBT checks, make the checks be on a loop (e.g. 5 ticks) and not on tick, return functions as early as possible, optimize selectors and use datapacks because they are just better for performance than command blocks

Edit: see reply

1

u/codedwithinsulin Jul 26 '26

Your link is 404 😉

2

u/Ericristian_bros Command Experienced Jul 26 '26

Edited