Index

A B C D E F G H I K M O P R S T U W 
All Classes and Interfaces|All Packages|Serialized Form

A

activePlatform() - Method in class dev.jorel.commandapi.CommandAPIPaper
 
append(Object) - Method in class dev.jorel.commandapi.arguments.CustomArgument.MessageBuilder
Appends an object to the end of this message
append(String) - Method in class dev.jorel.commandapi.arguments.CustomArgument.MessageBuilder
Appends a string to the end of this message
appendArgInput() - Method in class dev.jorel.commandapi.arguments.CustomArgument.MessageBuilder
Appends the argument input that the CommandSender used in this command.
For example, if /foo bar was executed and an error occurs with the CustomArgument bar, then the arg input will append bar to the end of the message.

This input is determined at runtime, and is stored as %input% until executed
appendFullInput() - Method in class dev.jorel.commandapi.arguments.CustomArgument.MessageBuilder
Appends the whole input that the CommandSender used in this command.
For example, if /foo bar was executed, then foo bar will be appended to the end of the message.

This input is determined at runtime, and is stored as %finput% until executed
appendHere() - Method in class dev.jorel.commandapi.arguments.CustomArgument.MessageBuilder
Appends <--[HERE] to the end of the message
apply(CustomArgument.CustomArgumentInfo<B>) - Method in interface dev.jorel.commandapi.arguments.CustomArgument.CustomArgumentInfoParser
Applies a CustomArgumentInfo input to this custom argument parser
AsyncPlayerProfileArgument - Class in dev.jorel.commandapi.arguments
An argument that represents a list of the Paper PlayerProfile object with asynchronous support.
AsyncPlayerProfileArgument(String) - Constructor for class dev.jorel.commandapi.arguments.AsyncPlayerProfileArgument
A PlayerProfile argument.

B

bukkitNMS() - Method in interface dev.jorel.commandapi.nms.PaperNMS
 
BundledNMS<Source> - Interface in dev.jorel.commandapi.nms
 

C

cancelTask(Plugin, int) - Method in class dev.jorel.commandapi.Schedulers
 
ChatArgument - Class in dev.jorel.commandapi.arguments
An argument that represents chat with entity selectors
ChatArgument(String) - Constructor for class dev.jorel.commandapi.arguments.ChatArgument
Constructs a Chat argument with a given node name.
ChatColorArgument - Class in dev.jorel.commandapi.arguments
An argument that represents the Bukkit ChatColor object
ChatColorArgument(String) - Constructor for class dev.jorel.commandapi.arguments.ChatColorArgument
Constructs a ChatColor argument with a given node name.
ChatComponentArgument - Class in dev.jorel.commandapi.arguments
An argument that represents raw JSON text
ChatComponentArgument(String) - Constructor for class dev.jorel.commandapi.arguments.ChatComponentArgument
Constructs a ChatComponent argument with a given node name.
clearExecutors() - Method in class dev.jorel.commandapi.arguments.AsyncPlayerProfileArgument
 
clearExecutors() - Method in class dev.jorel.commandapi.arguments.ChatArgument
 
clearExecutors() - Method in class dev.jorel.commandapi.arguments.ChatColorArgument
 
clearExecutors() - Method in class dev.jorel.commandapi.arguments.ChatComponentArgument
 
clearExecutors() - Method in class dev.jorel.commandapi.arguments.CustomArgument
 
clearExecutors() - Method in class dev.jorel.commandapi.arguments.PlayerProfileArgument
 
clearExecutors() - Method in class dev.jorel.commandapi.arguments.RecipeArgument
 
CommandAPIPaper<Source> - Class in dev.jorel.commandapi
 
CommandAPIPaper(InternalPaperConfig, BundledNMS<Source>) - Constructor for class dev.jorel.commandapi.CommandAPIPaper
 
CommandAPIPaperConfig - Class in dev.jorel.commandapi
 
CommandAPIPaperConfig(LifecycleEventOwner) - Constructor for class dev.jorel.commandapi.CommandAPIPaperConfig
Creates a new CommandAPIPaperConfig object
ComplexRecipeImpl - Record Class in dev.jorel.commandapi.wrappers
Creates a ComplexRecipe based on a NamespacedKey and a Recipe object.
ComplexRecipeImpl(NamespacedKey, Recipe) - Constructor for record class dev.jorel.commandapi.wrappers.ComplexRecipeImpl
Creates an instance of a ComplexRecipeImpl record class.
createCommandRegistrationStrategy() - Method in class dev.jorel.commandapi.CommandAPIPaper
 
createCommandRegistrationStrategy() - Method in interface dev.jorel.commandapi.nms.PaperNMS
 
currentInput() - Method in record class dev.jorel.commandapi.arguments.CustomArgument.CustomArgumentInfo
Returns the value of the currentInput record component.
CustomArgument<T,B> - Class in dev.jorel.commandapi.arguments
An argument that represents any custom object
CustomArgument(Argument<B>, CustomArgument.CustomArgumentInfoParser<T, B>) - Constructor for class dev.jorel.commandapi.arguments.CustomArgument
Creates a CustomArgument with a valid parser, with an underlying base argument as its parsing implementation.
CustomArgument.CustomArgumentException - Exception Class in dev.jorel.commandapi.arguments
An exception used to create command-related errors for the CustomArgument
CustomArgument.CustomArgumentInfo<B> - Record Class in dev.jorel.commandapi.arguments
A record which contains information which can be passed to the custom argument's parser.
CustomArgument.CustomArgumentInfoParser<T,B> - Interface in dev.jorel.commandapi.arguments
A FunctionalInterface that takes in a CustomArgument.CustomArgumentInfo, returns T and can throw a CustomArgument.CustomArgumentException
CustomArgument.MessageBuilder - Class in dev.jorel.commandapi.arguments
MessageBuilder is used to create error messages for invalid argument inputs
CustomArgumentInfo(CommandSender, CommandArguments, String, B) - Constructor for record class dev.jorel.commandapi.arguments.CustomArgument.CustomArgumentInfo
Creates an instance of a CustomArgumentInfo record class.

D

dev.jorel.commandapi - package dev.jorel.commandapi
 
dev.jorel.commandapi.arguments - package dev.jorel.commandapi.arguments
 
dev.jorel.commandapi.nms - package dev.jorel.commandapi.nms
 
dev.jorel.commandapi.wrappers - package dev.jorel.commandapi.wrappers
 

E

equals(Object) - Method in record class dev.jorel.commandapi.arguments.CustomArgument.CustomArgumentInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.jorel.commandapi.wrappers.ComplexRecipeImpl
Indicates whether some other object is "equal to" this one.
executor - Variable in class dev.jorel.commandapi.arguments.AsyncPlayerProfileArgument
 
executor - Variable in class dev.jorel.commandapi.arguments.ChatArgument
 
executor - Variable in class dev.jorel.commandapi.arguments.ChatColorArgument
 
executor - Variable in class dev.jorel.commandapi.arguments.ChatComponentArgument
 
executor - Variable in class dev.jorel.commandapi.arguments.CustomArgument
 
executor - Variable in class dev.jorel.commandapi.arguments.PlayerProfileArgument
 
executor - Variable in class dev.jorel.commandapi.arguments.RecipeArgument
 

F

failWithAdventureComponent(ComponentLike) - Static method in class dev.jorel.commandapi.CommandAPIPaper
Forces a command to return a success value of 0
fromAdventureComponent(ComponentLike) - Static method in exception class dev.jorel.commandapi.arguments.CustomArgument.CustomArgumentException
Constructs a CustomArgumentException with a given error message
fromMessageBuilder(CustomArgument.MessageBuilder) - Static method in exception class dev.jorel.commandapi.arguments.CustomArgument.CustomArgumentException
Constructs a CustomArgumentException with a given error message
fromString(String) - Static method in exception class dev.jorel.commandapi.arguments.CustomArgument.CustomArgumentException
Constructs a CustomArgumentException with a given error message

G

getArgumentType() - Method in class dev.jorel.commandapi.arguments.AsyncPlayerProfileArgument
 
getArgumentType() - Method in class dev.jorel.commandapi.arguments.ChatArgument
 
getArgumentType() - Method in class dev.jorel.commandapi.arguments.ChatColorArgument
 
getArgumentType() - Method in class dev.jorel.commandapi.arguments.ChatComponentArgument
 
getArgumentType() - Method in class dev.jorel.commandapi.arguments.CustomArgument
 
getArgumentType() - Method in class dev.jorel.commandapi.arguments.PlayerProfileArgument
 
getArgumentType() - Method in class dev.jorel.commandapi.arguments.RecipeArgument
 
getBrigadierDispatcher() - Method in class dev.jorel.commandapi.PaperCommandRegistration
 
getChat(CommandContext<Source>, String) - Method in interface dev.jorel.commandapi.nms.BundledNMS
 
getChatColor(CommandContext<Source>, String) - Method in interface dev.jorel.commandapi.nms.BundledNMS
 
getChatComponent(CommandContext<Source>, String) - Method in interface dev.jorel.commandapi.nms.BundledNMS
 
getCommandMap() - Method in class dev.jorel.commandapi.CommandAPIPaper
 
getConfiguration() - Static method in class dev.jorel.commandapi.CommandAPIPaper
 
getExecutor() - Method in class dev.jorel.commandapi.arguments.AsyncPlayerProfileArgument
 
getExecutor() - Method in class dev.jorel.commandapi.arguments.ChatArgument
 
getExecutor() - Method in class dev.jorel.commandapi.arguments.ChatColorArgument
 
getExecutor() - Method in class dev.jorel.commandapi.arguments.ChatComponentArgument
 
getExecutor() - Method in class dev.jorel.commandapi.arguments.CustomArgument
 
getExecutor() - Method in class dev.jorel.commandapi.arguments.PlayerProfileArgument
 
getExecutor() - Method in class dev.jorel.commandapi.arguments.RecipeArgument
 
getKey() - Method in record class dev.jorel.commandapi.wrappers.ComplexRecipeImpl
Return the namespaced identifier for this object.
getLifecycleEventOwner() - Method in class dev.jorel.commandapi.CommandAPIPaper
 
getLifecycleEventOwner() - Method in class dev.jorel.commandapi.InternalPaperConfig
 
getLogger() - Method in class dev.jorel.commandapi.CommandAPIPaper
 
getNMS() - Method in class dev.jorel.commandapi.CommandAPIPaper
 
getPaper() - Static method in class dev.jorel.commandapi.CommandAPIPaper
 
getPluginMeta() - Method in class dev.jorel.commandapi.InternalPaperConfig
 
getPrimitiveType() - Method in class dev.jorel.commandapi.arguments.AsyncPlayerProfileArgument
 
getPrimitiveType() - Method in class dev.jorel.commandapi.arguments.ChatArgument
 
getPrimitiveType() - Method in class dev.jorel.commandapi.arguments.ChatColorArgument
 
getPrimitiveType() - Method in class dev.jorel.commandapi.arguments.ChatComponentArgument
 
getPrimitiveType() - Method in class dev.jorel.commandapi.arguments.CustomArgument
 
getPrimitiveType() - Method in class dev.jorel.commandapi.arguments.PlayerProfileArgument
 
getPrimitiveType() - Method in class dev.jorel.commandapi.arguments.RecipeArgument
 
getProfile(CommandContext<Source>, String) - Method in interface dev.jorel.commandapi.nms.BundledNMS
 
getResult() - Method in record class dev.jorel.commandapi.wrappers.ComplexRecipeImpl
Get the result of this recipe.
getSuggestionProvider() - Method in class dev.jorel.commandapi.arguments.RecipeArgument
 

H

hashCode() - Method in record class dev.jorel.commandapi.arguments.CustomArgument.CustomArgumentInfo
Returns a hash code value for this object.
hashCode() - Method in record class dev.jorel.commandapi.wrappers.ComplexRecipeImpl
Returns a hash code value for this object.

I

input() - Method in record class dev.jorel.commandapi.arguments.CustomArgument.CustomArgumentInfo
Returns the value of the input record component.
instance() - Method in class dev.jorel.commandapi.CommandAPIPaperConfig
 
InternalPaperConfig - Class in dev.jorel.commandapi
 
InternalPaperConfig(CommandAPIPaperConfig) - Constructor for class dev.jorel.commandapi.InternalPaperConfig
 
isBukkitCommand(CommandNode<Source>) - Method in class dev.jorel.commandapi.PaperCommandRegistration
Checks if a Brigadier command node came from wrapping a Bukkit command

K

key() - Method in record class dev.jorel.commandapi.wrappers.ComplexRecipeImpl
Returns the value of the key record component.

M

MessageBuilder() - Constructor for class dev.jorel.commandapi.arguments.CustomArgument.MessageBuilder
Create a blank message
MessageBuilder(String) - Constructor for class dev.jorel.commandapi.arguments.CustomArgument.MessageBuilder
Create a message with an input string

O

onEnable() - Method in class dev.jorel.commandapi.CommandAPIPaper
Enables the CommandAPI.
onLoad() - Method in class dev.jorel.commandapi.CommandAPIPaper
 

P

PaperCommandRegistration<Source> - Class in dev.jorel.commandapi
Handles logic for registering commands after Paper build 65, where https://github.com/PaperMC/Paper/pull/8235 changed a bunch of the behind-the-scenes logic.
PaperCommandRegistration(Supplier<CommandDispatcher<Source>>, Runnable, Predicate<CommandNode<Source>>) - Constructor for class dev.jorel.commandapi.PaperCommandRegistration
 
PaperNMS<CommandListenerWrapper> - Interface in dev.jorel.commandapi.nms
 
parseArgument(CommandContext<CommandSourceStack>, String, CommandArguments) - Method in class dev.jorel.commandapi.arguments.AsyncPlayerProfileArgument
 
parseArgument(CommandContext<CommandSourceStack>, String, CommandArguments) - Method in class dev.jorel.commandapi.arguments.ChatArgument
 
parseArgument(CommandContext<CommandSourceStack>, String, CommandArguments) - Method in class dev.jorel.commandapi.arguments.ChatColorArgument
 
parseArgument(CommandContext<CommandSourceStack>, String, CommandArguments) - Method in class dev.jorel.commandapi.arguments.ChatComponentArgument
 
parseArgument(CommandContext<CommandSourceStack>, String, CommandArguments) - Method in class dev.jorel.commandapi.arguments.CustomArgument
 
parseArgument(CommandContext<CommandSourceStack>, String, CommandArguments) - Method in class dev.jorel.commandapi.arguments.PlayerProfileArgument
 
parseArgument(CommandContext<CommandSourceStack>, String, CommandArguments) - Method in class dev.jorel.commandapi.arguments.RecipeArgument
 
PlayerProfileArgument - Class in dev.jorel.commandapi.arguments
An argument that represents the Paper PlayerProfile object.
PlayerProfileArgument(String) - Constructor for class dev.jorel.commandapi.arguments.PlayerProfileArgument
A PlayerProfile argument.
postCommandRegistration(RegisteredCommand, LiteralCommandNode<Source>, List<LiteralCommandNode<Source>>) - Method in class dev.jorel.commandapi.PaperCommandRegistration
 
preReloadDataPacks() - Method in class dev.jorel.commandapi.PaperCommandRegistration
 
previousArgs() - Method in record class dev.jorel.commandapi.arguments.CustomArgument.CustomArgumentInfo
Returns the value of the previousArgs record component.

R

recipe() - Method in record class dev.jorel.commandapi.wrappers.ComplexRecipeImpl
Returns the value of the recipe record component.
RecipeArgument - Class in dev.jorel.commandapi.arguments
An argument that represents the Bukkit Recipe object
RecipeArgument(String) - Constructor for class dev.jorel.commandapi.arguments.RecipeArgument
A Recipe argument.
registerCommandNode(LiteralArgumentBuilder<Source>, String) - Method in class dev.jorel.commandapi.PaperCommandRegistration
 
runTasksAfterServerStart() - Method in class dev.jorel.commandapi.PaperCommandRegistration
 

S

scheduleAsync(Plugin, Runnable) - Method in class dev.jorel.commandapi.Schedulers
 
Schedulers - Class in dev.jorel.commandapi
 
Schedulers(boolean) - Constructor for class dev.jorel.commandapi.Schedulers
 
scheduleSync(Plugin, Runnable) - Method in class dev.jorel.commandapi.Schedulers
 
scheduleSyncDelayed(Plugin, Runnable, long) - Method in class dev.jorel.commandapi.Schedulers
 
scheduleSyncRepeatingTask(Plugin, Runnable, long, long) - Method in class dev.jorel.commandapi.Schedulers
 
sender() - Method in record class dev.jorel.commandapi.arguments.CustomArgument.CustomArgumentInfo
Returns the value of the sender record component.
setExecutor(CommandAPIExecutor<CommandSender, AbstractCommandSender<? extends CommandSender>>) - Method in class dev.jorel.commandapi.arguments.AsyncPlayerProfileArgument
 
setExecutor(CommandAPIExecutor<CommandSender, AbstractCommandSender<? extends CommandSender>>) - Method in class dev.jorel.commandapi.arguments.ChatArgument
 
setExecutor(CommandAPIExecutor<CommandSender, AbstractCommandSender<? extends CommandSender>>) - Method in class dev.jorel.commandapi.arguments.ChatColorArgument
 
setExecutor(CommandAPIExecutor<CommandSender, AbstractCommandSender<? extends CommandSender>>) - Method in class dev.jorel.commandapi.arguments.ChatComponentArgument
 
setExecutor(CommandAPIExecutor<CommandSender, AbstractCommandSender<? extends CommandSender>>) - Method in class dev.jorel.commandapi.arguments.CustomArgument
 
setExecutor(CommandAPIExecutor<CommandSender, AbstractCommandSender<? extends CommandSender>>) - Method in class dev.jorel.commandapi.arguments.PlayerProfileArgument
 
setExecutor(CommandAPIExecutor<CommandSender, AbstractCommandSender<? extends CommandSender>>) - Method in class dev.jorel.commandapi.arguments.RecipeArgument
 

T

toCommandSyntax(String, CommandContext<?>) - Method in exception class dev.jorel.commandapi.arguments.CustomArgument.CustomArgumentException
Converts this CustomArgumentException into a CommandSyntaxException
toString() - Method in record class dev.jorel.commandapi.arguments.CustomArgument.CustomArgumentInfo
Returns a string representation of this record class.
toString() - Method in class dev.jorel.commandapi.arguments.CustomArgument.MessageBuilder
Returns the String content of this MessageBuilder
toString() - Method in record class dev.jorel.commandapi.wrappers.ComplexRecipeImpl
Returns a string representation of this record class.

U

unregister(String, boolean, boolean) - Method in class dev.jorel.commandapi.PaperCommandRegistration
 

W

wrapCommandSender(CommandSender) - Method in class dev.jorel.commandapi.CommandAPIPaper
 
A B C D E F G H I K M O P R S T U W 
All Classes and Interfaces|All Packages|Serialized Form