# Mojang/brigadier

Brigadier is a command parser & dispatcher, designed and developed for Minecraft: Java Edition.

Repository: https://github.com/Mojang/brigadier
Canonical: https://ross.abutalabs.com/products/brigadier
Language: Java
License: MIT
License Family: permissive
Topics: mojang-active
Last push: 2026-07-17T11:08:01+00:00

## Health v2 (maintenance only)
Score: 65/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 93, release rhythm 8, longevity 100
- inputs: {"age_days": 4370, "days_push": 47, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3723, forks 410 (observed 2026-08-28T04:08:15.589075+00:00)

## What it is
Brigadier is a command parser and dispatcher library developed by Mojang for Minecraft: Java Edition, available under the MIT license. It lets you build a tree of commands with typed arguments and dispatch parsed input to handler functions.

## Use cases
- parse and dispatch commands in a Java application
- build a command tree with typed arguments and tab completion
- add a command system to a Minecraft mod or plugin
- register extensible commands without modifying existing source
- route user input strings to handler functions with argument parsing

## When to choose
- you need a robust, battle-tested command parser on the JVM
- you are building Minecraft mods, plugins, or servers
- you want hierarchical command registration with typed arguments and suggestions

## When to avoid
- you need a full CLI framework with flags, help generation, and shell integration
- you are not on the JVM
- you want a simple one-off argument parser without a command tree

## Facets
- artifact type: library
- maturity: stable
- function: parser, developer-tools
- domain: developer-tools, gaming-tools
- platform: jvm
- tags: command-dispatcher, command-parser, minecraft, java, command-line

## Member repositories
- Mojang/brigadier (main) score 65

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:15.589075+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:29:17.719497+00:00, confidence not recorded.
  - readme: https://github.com/Mojang/brigadier (fetched 2026-08-28T04:08:15.589075+00:00, sha 294aa3ee38c7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
