Package dev.jorel.commandapi.nms
Interface MockSpigotNMS
- All Superinterfaces:
SpigotNMS<MockCommandSource>
- All Known Implementing Classes:
MockCommandAPISpigot
-
Method Summary
Modifier and TypeMethodDescriptiondefault net.md_5.bungee.api.chat.BaseComponent[]getChat(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) default org.bukkit.ChatColorgetChatColor(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) default net.md_5.bungee.api.chat.BaseComponent[]getChatComponent(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) default List<org.bukkit.profile.PlayerProfile> getProfile(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) default booleanisNullCommandSender(org.bukkit.command.CommandSender sender)
-
Method Details
-
getProfile
default List<org.bukkit.profile.PlayerProfile> getProfile(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
getProfilein interfaceSpigotNMS<MockCommandSource>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getChat
default net.md_5.bungee.api.chat.BaseComponent[] getChat(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
getChatin interfaceSpigotNMS<MockCommandSource>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getChatColor
default org.bukkit.ChatColor getChatColor(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) - Specified by:
getChatColorin interfaceSpigotNMS<MockCommandSource>
-
getChatComponent
default net.md_5.bungee.api.chat.BaseComponent[] getChatComponent(com.mojang.brigadier.context.CommandContext<MockCommandSource> cmdCtx, String key) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
getChatComponentin interfaceSpigotNMS<MockCommandSource>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
isNullCommandSender
default boolean isNullCommandSender(org.bukkit.command.CommandSender sender) - Specified by:
isNullCommandSenderin interfaceSpigotNMS<MockCommandSource>
-