Package dev.jorel.commandapi
Interface BukkitPlatform<Source>
- All Superinterfaces:
CommandAPIPlatform<Argument<?>,org.bukkit.command.CommandSender, Source>
- All Known Implementing Classes:
CommandAPIBukkit
public interface BukkitPlatform<Source>
extends CommandAPIPlatform<Argument<?>,org.bukkit.command.CommandSender,Source>
-
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.command.CommandMapvoidonLoad()BukkitCommandSender<? extends org.bukkit.command.CommandSender> wrapCommandSender(org.bukkit.command.CommandSender sender) Methods inherited from interface dev.jorel.commandapi.CommandAPIPlatform
createDispatcherFile, getBrigadierDispatcher, getBrigadierSourceFromCommandSender, getCommandSenderFromCommandSource, getLogger, getSenderForCommand, getSuggestionProvider, newConcreteCommandAPICommand, newConcreteLiteralArgument, newConcreteMultiLiteralArgument, onDisable, onEnable, postCommandRegistration, preCommandRegistration, registerCommandNode, registerPermission, reloadDataPacks, setupMessenger, unregister, updateRequirements
-
Method Details
-
onLoad
void onLoad()- Specified by:
onLoadin interfaceCommandAPIPlatform<Argument<?>,org.bukkit.command.CommandSender, Source>
-
getCommandMap
org.bukkit.command.CommandMap getCommandMap() -
wrapCommandSender
BukkitCommandSender<? extends org.bukkit.command.CommandSender> wrapCommandSender(org.bukkit.command.CommandSender sender) - Specified by:
wrapCommandSenderin interfaceCommandAPIPlatform<Argument<?>,org.bukkit.command.CommandSender, Source>
-
activePlatform
Platform activePlatform() -
getMessenger
BukkitCommandAPIMessenger getMessenger() -
createCommandRegistrationStrategy
CommandRegistrationStrategy<Source> createCommandRegistrationStrategy()
-