All Classes and Interfaces
Class
Description
The core abstract class for Command API arguments
This is a base class for arguments, allowing them to behave as tree nodes in
a
AbstractCommandTreeA builder used to create commands to be registered by the CommandAPI.
An interface that represents an object sends commands on some platform
This is the root node for creating a command as a tree
This class represents suggestions for an argument.
An exception caused when a literal is null or empty
The Brigadier class is used to access some of the internals of the CommandAPI
so you can use the CommandAPI alongside Mojang's com.mojang.brigadier package
Class to register commands with the 1.13 command UI
An enum that represents the different arguments declared in the Command API
A class to contain information about how to configure the CommandAPI during its loading step.
CommandAPIExecutor is the main executor implementation for command
executors.
The "brains" behind the CommandAPI.
Handles sending and receiving
CommandAPIPackets between instances of the CommandAPI plugin on different servers.An interface for formatting messages that can be sent between separate instances of the CommandAPI.
An interface for handling
CommandAPIPackets.An interface for defining the platform-level implementations of
CommandAPIPacketHandler.An enum that defines the different channels of the network protocol of the CommandAPI.
This file handles loading the correct platform implementation.
This class stores the arguments for this command
A representation of permission nodes for commands.
An exception caused when the same permission is registered to a command
An interface allowing arguments to have built-in suggestion providers based on Minecraft namespaced keys
A class representing a range of doubles
An exception caused when a command has no executor
This is a base class for
AbstractCommandAPICommand and AbstractCommandTree command definitionsA list of arguments which results in an execution.
This interface represents an ExecutionInfo for a command.
An enum representing the type of an executor
A sequence of bytes that can be written to and read from.
An interface indicating that an argument consumes all available characters
An exception caused when a greedy argument is not declared at the end of a
List
An interface for handling
CommandAPIPackets on the CommandAPIProtocol.HANDSHAKE channel.A class representing a range of integers
Configuration wrapper class.
An exception that occurs when trying to register a command with an invalid name
An exception that occurs when the maximum value of a FloatRange or IntegerRange is less than its minimum value
A string-based tooltip interface that includes a string suggestion and a
formatted tooltip text to display when hovering over the suggestion
An interface representing literal-based arguments
An enum representing block position or precise position for location arguments
A representation of the math operations for the Minecraft scoreboard
An exception caused when a command does not declare any executors
This file handles loading the correct mappings information.
An interface representing arguments with multiple literal string definitions
An exception that occurs when the NBTAPI is not found, but an argument that uses it is declared
The interface for normal command executors
An exception that occurs when Paper's Adventure API is not present and has been set to be used
An interface for handling
CommandAPIPackets on the CommandAPIProtocol.PLAY channel.A packet that informs a connected instance of the CommandAPI their
CommandAPIProtocol.PROTOCOL_VERSION is too old
to receive a different packet this instance wanted to send.Class to store a registered command which has its command name and a list of
arguments as a string.
The interface for resulting command executors
A class to represent the yaw and pitch rotation in degrees
This class represents safe suggestions.
A wrapper around VarHandle with better type safety using generics and a
toggleable underlying implementation depending on whether we're using mojang
mappings or non-mojang mappings
A packet that conveys what
CommandAPIProtocol.PROTOCOL_VERSION a connected instance of the CommandAPI is using.An exception that occurs when Spigot is not present and Spigot is required
A class that represents a function that parses a String into another object.
Represents a suggestion for an argument with a hover tooltip text for that
suggestion.
A class that represents information which you can use to generate
suggestions.
An enum representing the different suggestion providers for arguments based on Minecraft namespaced keys
This class represents a branch in the suggestions of an argument.
A class that represents time suggestions for the TimeArgument
This class represents a suggestion for an argument with a hover tooltip text
for that suggestion.
An interface that includes the type of an executor (what command senders it
can execute) and has a method that executes an executor with a given command
sender and arguments
An exception caused when using an argument which hasn't been implemented in this Minecraft version
A packet that signals a client wants to be sent the Commands packet.
A wrapper for the CommandSyntaxException so other developers don't have to
import Mojang's brigadier