Command Syntax DSL
Functions
Link copied to clipboard
public final Unit executor(Function3<CommandExecutorContext, CommandSender, CommandContext<CommandSourceStack>, Unit> block)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Adds a requirement to the command syntax that only allows the console to execute the command.
Link copied to clipboard
Adds a requirement to the command syntax that only allows players to execute the command.
Link copied to clipboard
Adds a requirement to the command syntax that only allows senders with the specified permission to execute the command.
Link copied to clipboard
Adds a requirement to the command syntax. If a requirement already exists, the new requirement will be combined with the existing one using a logical AND.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard