Skip to main content

Module command

Module command 

Source
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Β§

CommandArgument
An argument parser accepted by a public command node.
CommandCompletion
One command completion and its replacement range in UTF-16 code units.
CommandContext
A parsed command invocation exposed to an extension executor.
CommandError
A command parsing or execution error with vanilla-style feedback.
CommandNode
One literal or argument node in a server command declaration.
CommandParserSource
Read-only source facts available while a custom argument is parsed.
CommandQueueFull
Returned when the relevant pending command request queue has reached its fixed capacity.
CommandReader
Cursor-aware input available to custom argument parsers.
CommandReaderCursor
Cursor checkpoint for a public custom argument reader.
CommandRegistration
A command declaration collected before the server constructs its dispatcher atomically.
CommandRegistrationError
A command registration failed validation or collided by stable owner ID.
CommandRegistry
Additional command declarations supplied before server startup.
CommandSource
Read-only execution source and feedback operations available to extension commands.
CommandSuggestionContext
Prior parsed values and source facts available to custom suggestions.
CommandSuggestions
Completion builder available to custom argument parsers.

EnumsΒ§

CommandSuspensionOrder
Ordering barrier retained while a top-level command is suspended.
SuspendedCommandPoll
Poll result for a public command whose result is produced across ticks.

TraitsΒ§

CommandArgumentParser
Typed, deterministically keyed parser contract for extension arguments.
SuspendedCommand
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Β§

CommandDispatcher πŸ”’