About this generator
Most Minecraft command generators are written once against one version and quietly rot. Commands change: item NBT became item components in 1.20.5, text component events were renamed in 1.21.5, attribute ids lost their prefixes in 1.21.2. This one is built so that keeping up is a data problem rather than a rewrite.
Where the ids come from
Nothing in the pickers is typed by hand. Item, block, entity, effect, enchantment, particle, attribute and biome ids — 3,205 of them for 26.2 alone, before counting the sounds, recipes, advancements and loot tables that load on demand — are generated from Mojang's own data for each supported version, by way of the mcmeta project, which publishes the game's generated reports per release.
- item1,537
- block1,196
- entity_type158
- mob_effect40
- enchantment43
- particle_type125
- attribute40
- worldgen/biome66
The same pass records which version each id first appeared in and which one it disappeared after, so a picker only ever offers ids that exist in the version you selected. That is why generic.max_health shows up on 1.20.4 and max_health on 26.2, without either being special-cased.
Which commands exist when
Command availability is read from the game's own command tree — the same structure the client uses for autocomplete — captured for all 16 supported versions. Nobody maintains a list of which commands were added when; if a command is missing from a version's tree, it is missing from that version here. That is how /replaceitem stops at 1.16, /locatebiome stops at 1.18, and /swing starts at 26.1.
What is written by hand
The parts a data dump cannot give you: how each argument should be presented, the explanations, the worked examples, and the rules for how syntax is written differently across versions. Those version rules live in one small file of feature flags, and every claim in them was checked against the Minecraft Wiki changelogs before being written down. The version changes page lists all of them with before-and-after examples.
The SNBT parser, formatter and validator are also written from scratch rather than borrowed from a JSON library, because SNBT is not JSON — it has typed numbers, byte and long arrays, and unquoted keys.
Who made it
Built by NubPaws. It is free, has no ads, no accounts and no tracking, and everything runs in your browser — nothing you type into a generator is sent anywhere.
Something wrong?
If an id is missing, a command generates syntax your server rejects, or a version rule is wrong, that is a bug worth hearing about — say so via nubpaws.dev. Please include the Minecraft version and the exact command, since almost every report comes down to a version difference.
Scope
Java Edition only, 1.16 to 26.2, covering 66 commands. Bedrock Edition uses different syntax and is not supported. This is an unofficial fan tool, not affiliated with or endorsed by Mojang Studios or Microsoft.