Expand description
Brigadier-compatible command parsing, execution, and sender handling.
ModulesΒ§
- api π
- Public startup command-registration API.
- brigadier π
- Brigadier-compatible command parsing primitives adapted from Brigadier 1.3.10.
- builtins π
- Steel-owned built-in command declarations.
- execution π
- Tick-owned Minecraft command execution.
- protocol π
- queue π
- registration π
- Stable command identities and collision-aware dispatcher construction.
- sender
- Module defining the sender of a command.
- storage π
- Persistent command storage isolated by Steel domain.
StructsΒ§
- Command
Argument - An argument parser accepted by a public command node.
- Command
Completion - One command completion and its replacement range in UTF-16 code units.
- Command
Context - A parsed command invocation exposed to an extension executor.
- Command
Error - A command parsing or execution error with vanilla-style feedback.
- Command
Node - One literal or argument node in a server command declaration.
- Command
Parser Source - Read-only source facts available while a custom argument is parsed.
- Command
Queue Full - Returned when the relevant pending command request queue has reached its fixed capacity.
- Command
Reader - Cursor-aware input available to custom argument parsers.
- Command
Reader Cursor - Cursor checkpoint for a public custom argument reader.
- Command
Registration - A command declaration collected before the server constructs its dispatcher atomically.
- Command
Registration Error - A command registration failed validation or collided by stable owner ID.
- Command
Registry - Additional command declarations supplied before server startup.
- Command
Source - Read-only execution source and feedback operations available to extension commands.
- Command
Suggestion Context - Prior parsed values and source facts available to custom suggestions.
- Command
Suggestions - Completion builder available to custom argument parsers.
EnumsΒ§
- Command
Suspension Order - Ordering barrier retained while a top-level command is suspended.
- Suspended
Command Poll - Poll result for a public command whose result is produced across ticks.
TraitsΒ§
- Command
Argument Parser - Typed, deterministically keyed parser contract for extension arguments.
- Suspended
Command - Cross-tick command work owned and cancelled by Steelβs command scheduler.
FunctionsΒ§
- argument
- Creates a typed argument command node.
- client_
permission_ πevent - Projects Steel capabilities onto vanillaβs shared gamemaster client affordance. Packet handlers still authorize game-mode and difficulty requests independently.
- client_
permission_ πevent_ for_ capabilities - literal
- Creates a literal command node.
Type AliasesΒ§
- Command
Dispatcher π