mojang/brigadier

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

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 48 minutes ago
Added to GitGenius on September 18th, 2026
Created on September 15th, 2014
Open Issues & Pull Requests: 81 (+0)
GitHub issues: Enabled
Number of forks: 410
Total Stargazers: 3,723 (+0)
Total Subscribers: 172 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 7.6 days
Mean response time: 23.8 days
90th percentile: 78.8 days
Tracked items: 5

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 6
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,614 days
Stale 30+ days: 6
Stale 90+ days: 6

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Brigadier is a command parser and dispatcher designed for Minecraft: Java Edition and available for general use under the MIT license.

The tool solves the problem of parsing and executing commands with complex syntax trees. It works by building a command tree composed of command nodes that represent valid syntax options. Each node can be a literal (requiring exact text input) or an argument node (accepting parsed values of specified types). The dispatcher evaluates user input against this tree, matching it to the appropriate execution path and calling the corresponding handler function with the parsed context.

Brigadier suits projects that need flexible command parsing with support for subcommands and typed arguments. The builder pattern encourages clean registration code, and the architecture allows extending existing command trees without access to original source code. Custom argument types can be implemented for domain-specific parsing. The tool is particularly valuable for applications requiring interactive command interfaces with rich syntax validation.

The project maintains active engagement with contributions, requiring a contributor license agreement for submissions. Development follows the Microsoft Open Source Code of Conduct, indicating a formal governance structure typical of projects with institutional backing.