Getting started
How to create a Minecraft command with NBTForge
6 min read · Updated May 15, 2026
This guide shows the shortest reliable path from opening NBTForge to copying a tested command. It uses the real workbench UI, the global import bar, version selector, output panel, and project tools.
Goal
A copied command plus a reusable project entry.
Annotated screenshots


Step-by-step guide
- Open Home and pick the module that matches the command family you need.
- Set Edition and Version before changing advanced fields, because Java and Bedrock syntax can diverge.
- Use the preview and warnings to check whether the visible command matches the intended target.
- Copy a single command from Output, or add it to Project when you need multiple commands together.
- Use Share for a URL state snapshot when another creator needs to review the same builder state.
When to use the import bar
Paste an existing command or a small .mcfunction block into the import bar when you want NBTForge to rebuild the matching visual editor. This is the fastest way to audit old commands without manually re-entering every selector and NBT field.
Bulk import is best for reviewing command packs, while a single command import is best for converting one copied command into an editable builder state.
How to avoid wrong-version output
Always check the Version field before copying. Java 1.20.4, Java 1.20.5+, snapshots, and Bedrock Stable can produce different item and entity syntax.
NBTForge surfaces warnings beside the output when a selected edition cannot represent a Java-only feature.
- Use Java for full NBT-heavy commands.
- Use Bedrock Stable only when the target world is Bedrock and the output warning still matches your plan.
- Save complex commands to Project so you can return to them after switching modules.
FAQ
Can NBTForge edit commands copied from another generator?
Yes. Paste the command into the import bar. Supported command families reload into their visual editor, while unsupported lines remain safe to keep in a command pack.
Should I copy from Output or from Project?
Copy from Output for one command. Use Project when a setup needs several commands, reusable entries, or a .mcfunction-style block.