Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.command |
Classes relating to handling specialized non-chat player input.
|
Modifier and Type | Method and Description |
---|---|
static CommandMap |
Bukkit.getCommandMap()
Gets the active
CommandMap |
CommandMap |
Server.getCommandMap()
Gets the active
CommandMap |
Modifier and Type | Class and Description |
---|---|
class |
SimpleCommandMap |
Modifier and Type | Method and Description |
---|---|
boolean |
Command.register(@NotNull CommandMap commandMap)
Registers this command to a CommandMap.
|
boolean |
Command.unregister(@NotNull CommandMap commandMap)
Unregisters this command from the passed CommandMap applying any
outstanding changes
|
Copyright © 2021. All rights reserved.