Index

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

A

add(ExecutionInfo<CommandSender, AbstractCommandSender<? extends CommandSender>>) - Method in class dev.jorel.commandapi.spying.ExecutionQueue
 
addAttachment(Plugin) - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
addAttachment(Plugin, int) - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
addAttachment(Plugin, String, boolean) - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
addAttachment(Plugin, String, boolean, int) - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
addSuggestions(CommandContext<?>, SuggestionsBuilder) - Method in interface dev.jorel.commandapi.arguments.parser.SuggestionProvider
Adds suggestions to the given SuggestionsBuilder.
apply(T) - Method in interface dev.jorel.commandapi.arguments.parser.Result.ThrowableFunction
Applies this function to the given argument.
argument(ParserArgument<T>) - Static method in interface dev.jorel.commandapi.arguments.parser.Parser
Directly returns the ParserArgument given.
ArgumentUtilities - Class in dev.jorel.commandapi.arguments
Utilities for creating mock argument parsers
assertCommandFails(CommandSender, String, String) - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
Runs a CommandAPI command as asserts that it fails.
assertCommandFailsWithArguments(CommandSender, String, String, Object...) - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
Asserts that the given array of argument objects was available when a command executed and threw an exception.
assertCommandFailsWithArguments(CommandSender, String, String, Map<String, Object>) - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
Asserts that the given map of argument objects was available when a command executed successfully.
assertCommandSucceeds(CommandSender, String) - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
Runs a CommandAPI command and asserts that it succeeds.
assertCommandSucceedsWithArguments(CommandSender, String, Object...) - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
Asserts that the given array of argument objects was available when a command executed successfully.
assertCommandSucceedsWithArguments(CommandSender, String, Map<String, Object>) - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
Asserts that the given map of argument objects was available when a command executed successfully.
assertCommandSuggests(CommandSender, String, int, String...) - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
Asserts that the suggestions provided for the given command start at the given index and have the given texts.
assertCommandSuggests(CommandSender, String, int, List<String>) - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
Asserts that the suggestions provided for the given command start at the given index and have the given texts.
assertCommandSuggests(CommandSender, String, String...) - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
Asserts that the suggestions provided for the given command have the given texts.
assertCommandSuggests(CommandSender, String, List<String>) - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
Asserts that the suggestions provided for the given command have the given texts.
assertCommandSuggestsTooltips(CommandSender, String, int, Suggestion...) - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
Asserts that the suggestions provided for the given command start at the given index and have the given texts and tooltips.
assertCommandSuggestsTooltips(CommandSender, String, int, List<Suggestion>) - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
Asserts that the suggestions provided for the given command start at the given index and have the given texts and tooltips.
assertCommandSuggestsTooltips(CommandSender, String, Suggestion...) - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
Asserts that the suggestions provided for the given command have the given texts and tooltips.
assertCommandSuggestsTooltips(CommandSender, String, List<Suggestion>) - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
Asserts that the suggestions provided for the given command have the given texts and tooltips.
assertNoMoreCommandsWereRun() - Method in class dev.jorel.commandapi.spying.ExecutionQueue
 
assertSuggestionEquality(List<String>, List<Suggestion>) - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
Asserts that the Suggestion.getText() of each given Suggestion matches an expected String.
assertSuggestionEqualityTooltips(List<Suggestion>, List<Suggestion>) - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
Asserts that the Suggestion.getText() and Suggestion.getTooltip() of each given Suggestion matches an expected Suggestion.
assertSuggestionsStartAt(int, List<Suggestion>) - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
Asserts that all Suggestions in the given list start at the given index.

B

base() - Method in record class dev.jorel.commandapi.arguments.parser.ParserArgument.WithSuggestions
Returns the value of the base record component.
base() - Method in record class dev.jorel.commandapi.arguments.parser.ParserLiteral.WithSuggestions
Returns the value of the base record component.
bukkitSender() - Method in record class dev.jorel.commandapi.MockCommandSource
Returns the value of the bukkitSender record component.

C

clear() - Method in class dev.jorel.commandapi.spying.ExecutionQueue
 
CommandAPIHandlerSpy - Class in dev.jorel.commandapi.spying
 
CommandAPIHandlerSpy(CommandAPIHandler<?, ?, ?>) - Constructor for class dev.jorel.commandapi.spying.CommandAPIHandlerSpy
 
CommandAPITestUtilities - Class in dev.jorel.commandapi
Provides static methods to interact with CommandAPI commands registered in the test environment.
CommandAPITestUtilities() - Constructor for class dev.jorel.commandapi.CommandAPITestUtilities
 
compatibleVersions() - Method in class dev.jorel.commandapi.nms.MockNMS
 
continueWith(Function<T, Result<R>>) - Method in record class dev.jorel.commandapi.arguments.parser.Result
This method works the same as Result.continueWith(Function, Function), but the failure Function is given as Result::withException.
continueWith(Function<T, Result<R>>, Function<CommandSyntaxException, Result<R>>) - Method in record class dev.jorel.commandapi.arguments.parser.Result
Uses this Result to generate a final Result with a value of type R.
convert(ParticleData<?>) - Method in class dev.jorel.commandapi.nms.MockNMS
 
convert(ItemStack) - Method in class dev.jorel.commandapi.nms.MockNMS
 
convert(PotionEffectType) - Method in class dev.jorel.commandapi.nms.MockNMS
 
convert(Sound) - Method in class dev.jorel.commandapi.nms.MockNMS
 
createDispatcherFile(File, CommandDispatcher<MockCommandSource>) - Method in class dev.jorel.commandapi.nms.MockNMS
 
createNativeProxyCommandSender(CommandSender, CommandSender, Location, World) - Method in class dev.jorel.commandapi.nms.MockNMS
 

D

dev.jorel.commandapi - package dev.jorel.commandapi
 
dev.jorel.commandapi.arguments - package dev.jorel.commandapi.arguments
 
dev.jorel.commandapi.arguments.parser - package dev.jorel.commandapi.arguments.parser
 
dev.jorel.commandapi.nms - package dev.jorel.commandapi.nms
 
dev.jorel.commandapi.spying - package dev.jorel.commandapi.spying
 
dev.jorel.commandapi.wrappers - package dev.jorel.commandapi.wrappers
 
dispatchCommand(CommandSender, String) - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
Attempts to run a CommandAPI command.

E

EMPTY_INPUT - Static variable in class dev.jorel.commandapi.arguments.IntegerRangeArgumentType
 
ENABLE_LOGGING - Static variable in class dev.jorel.commandapi.MockCommandAPI
A global toggle for whether the default logger returned by CommandAPIBukkit.getLogger() should print messages to the console.
entities() - Static method in record class dev.jorel.commandapi.arguments.EntitySelectorArgumentType
 
entity() - Static method in record class dev.jorel.commandapi.arguments.EntitySelectorArgumentType
 
entity() - Method in record class dev.jorel.commandapi.MockCommandSource
Returns the value of the entity record component.
entityCheck() - Method in record class dev.jorel.commandapi.arguments.EntitySelector
Returns the value of the entityCheck record component.
EntitySelector - Record Class in dev.jorel.commandapi.arguments
 
EntitySelector(int, boolean, EntitySelector.Order, boolean, String, Predicate<Entity>, UUID, EntityType) - Constructor for record class dev.jorel.commandapi.arguments.EntitySelector
Creates an instance of a EntitySelector record class.
EntitySelector.Order - Interface in dev.jorel.commandapi.arguments
 
EntitySelectorArgumentType - Record Class in dev.jorel.commandapi.arguments
 
EntitySelectorArgumentType(boolean, boolean) - Constructor for record class dev.jorel.commandapi.arguments.EntitySelectorArgumentType
Creates an instance of a EntitySelectorArgumentType record class.
EntitySelectorParser - Class in dev.jorel.commandapi.arguments
 
entityUUID() - Method in record class dev.jorel.commandapi.arguments.EntitySelector
Returns the value of the entityUUID record component.
equals(Object) - Method in record class dev.jorel.commandapi.arguments.EntitySelector
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.jorel.commandapi.arguments.EntitySelectorArgumentType
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.jorel.commandapi.arguments.parser.ParserArgument.WithSuggestions
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.jorel.commandapi.arguments.parser.ParserLiteral.WithSuggestions
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.jorel.commandapi.arguments.parser.Result
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.jorel.commandapi.MockCommandSource
Indicates whether some other object is "equal to" this one.
ERROR_INVALID_NAME_OR_UUID - Static variable in class dev.jorel.commandapi.arguments.EntitySelectorParser
 
ERROR_MISSING_SELECTOR_TYPE - Static variable in class dev.jorel.commandapi.arguments.EntitySelectorParser
 
ERROR_NOT_SINGLE_ENTITY - Static variable in record class dev.jorel.commandapi.arguments.EntitySelectorArgumentType
 
ERROR_NOT_SINGLE_PLAYER - Static variable in record class dev.jorel.commandapi.arguments.EntitySelectorArgumentType
 
ERROR_ONLY_PLAYERS_ALLOWED - Static variable in record class dev.jorel.commandapi.arguments.EntitySelectorArgumentType
 
ERROR_UNKNOWN_PLAYER - Static variable in class dev.jorel.commandapi.arguments.ProfileArgumentType
 
ERROR_UNKNOWN_SELECTOR_TYPE - Static variable in class dev.jorel.commandapi.arguments.EntitySelectorParser
 
exception() - Method in record class dev.jorel.commandapi.arguments.parser.Result
Returns the value of the exception record component.
ExecutionQueue - Class in dev.jorel.commandapi.spying
 
ExecutionQueue() - Constructor for class dev.jorel.commandapi.spying.ExecutionQueue
 

F

findEntities(MockCommandSource) - Method in record class dev.jorel.commandapi.arguments.EntitySelector
 
findManyEntities(CommandContext<MockCommandSource>, String, boolean) - Static method in record class dev.jorel.commandapi.arguments.EntitySelectorArgumentType
 
findManyPlayers(CommandContext<MockCommandSource>, String, boolean) - Static method in record class dev.jorel.commandapi.arguments.EntitySelectorArgumentType
 
findPlayers(MockCommandSource) - Method in record class dev.jorel.commandapi.arguments.EntitySelector
 
findSingleEntity(CommandContext<MockCommandSource>, String) - Static method in record class dev.jorel.commandapi.arguments.EntitySelectorArgumentType
 
findSinglePlayer(CommandContext<MockCommandSource>, String) - Static method in record class dev.jorel.commandapi.arguments.EntitySelectorArgumentType
 

G

generateHelpTopic(String, String, String, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
generateMessageFromJson(String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getAdvancement(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getAngle(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getAxis(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getBiome(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getBlockPredicate(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getBlockState(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getBrigadierDispatcher() - Method in class dev.jorel.commandapi.MockCommandRegistrationStrategy
 
getBrigadierSourceFromCommandSender(AbstractCommandSender<? extends CommandSender>) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getCallee() - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
getCaller() - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
getCommandAPIBukkit() - Method in class dev.jorel.commandapi.MockCommandAPI
 
getCommandAPIHandlerSpy() - Method in class dev.jorel.commandapi.MockCommandAPI
 
getCommandRegistrationStrategy() - Method in class dev.jorel.commandapi.MockCommandAPI
 
getCommandSenderFromCommandSource(MockCommandSource) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getDimension(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getDoubleRange(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getEffectivePermissions() - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
getEnchantment(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getEntitySelector(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getEntityType(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getExecutionInfoOfFailingCommand(CommandSender, String, String) - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
Returns the ExecutionInfo used when a CommandAPI command was executed and threw an exception.
getExecutionInfoOfSuccessfulCommand(CommandSender, String) - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
Returns the ExecutionInfo used when a CommandAPI command was executed successfully.
getExecutionQueue() - Method in class dev.jorel.commandapi.spying.CommandAPIHandlerSpy
 
getFunction(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getFunction(NamespacedKey) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getFunctions() - Method in class dev.jorel.commandapi.nms.MockNMS
 
getHelpMap() - Method in class dev.jorel.commandapi.nms.MockNMS
 
getInstance() - Static method in class dev.jorel.commandapi.MockCommandAPI
 
getIntRange(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getItemStack(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getItemStackPredicate(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getLocation() - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
getLocation2DBlock(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getLocation2DPrecise(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getLocationBlock(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getLocationPrecise(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getLootTable(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getMathOperation(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getMinecraftKey(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getMinecraftServer() - Method in class dev.jorel.commandapi.nms.MockNMS
 
getMockCommandAPI() - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
 
getName() - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
getNBTCompound(CommandContext<MockCommandSource>, String, Function<Object, NBTContainer>) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getObjective(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getObjectiveCriteria(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getParticle(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getPotionEffect(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getProfiles(CommandContext<MockCommandSource>, String) - Static method in class dev.jorel.commandapi.arguments.ProfileArgumentType
 
getProfiles(MockCommandSource) - Method in interface dev.jorel.commandapi.arguments.ProfileArgumentType.ProfileSelector
 
getRange(CommandContext<MockCommandSource>, String) - Static method in class dev.jorel.commandapi.arguments.IntegerRangeArgumentType
 
getRecipe(CommandContext<MockCommandSource>, String, BiFunction<NamespacedKey, Recipe, T>) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getResult(StringReader) - Method in interface dev.jorel.commandapi.arguments.parser.Parser
Parses the given input.
getResult(StringReader) - Method in interface dev.jorel.commandapi.arguments.parser.ParserArgument
 
getResult(StringReader) - Method in record class dev.jorel.commandapi.arguments.parser.ParserArgument.WithSuggestions
 
getResult(StringReader) - Method in interface dev.jorel.commandapi.arguments.parser.ParserLiteral
 
getResult(StringReader) - Method in record class dev.jorel.commandapi.arguments.parser.ParserLiteral.WithSuggestions
 
getRotation(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getScoreboardSlot(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getScoreHolderMultiple(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getScoreHolderSingle(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getSenderForCommand(CommandContext<MockCommandSource>, boolean) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getServer() - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
getSimpleCommandMap() - Method in class dev.jorel.commandapi.nms.MockNMS
 
getSound(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getSuggestionProvider(SuggestionProviders) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getSuggestions(CommandSender, String) - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
Returns the Brigadier Suggestions provided for the given command.
getTag(NamespacedKey) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getTags() - Method in class dev.jorel.commandapi.nms.MockNMS
 
getTeam(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getTime(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getUUID(CommandContext<MockCommandSource>, String) - Method in class dev.jorel.commandapi.nms.MockNMS
 
getWorld() - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
getWorldForCSS(MockCommandSource) - Method in class dev.jorel.commandapi.nms.MockNMS
 

H

hashCode() - Method in record class dev.jorel.commandapi.arguments.EntitySelector
Returns a hash code value for this object.
hashCode() - Method in record class dev.jorel.commandapi.arguments.EntitySelectorArgumentType
Returns a hash code value for this object.
hashCode() - Method in record class dev.jorel.commandapi.arguments.parser.ParserArgument.WithSuggestions
Returns a hash code value for this object.
hashCode() - Method in record class dev.jorel.commandapi.arguments.parser.ParserLiteral.WithSuggestions
Returns a hash code value for this object.
hashCode() - Method in record class dev.jorel.commandapi.arguments.parser.Result
Returns a hash code value for this object.
hashCode() - Method in record class dev.jorel.commandapi.MockCommandSource
Returns a hash code value for this object.
hasPermission(String) - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
hasPermission(Permission) - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 

I

includesEntities() - Method in record class dev.jorel.commandapi.arguments.EntitySelector
Returns the value of the includesEntities record component.
INSTANCE - Static variable in class dev.jorel.commandapi.arguments.IntegerRangeArgumentType
 
INSTANCE - Static variable in class dev.jorel.commandapi.arguments.ProfileArgumentType
 
IntegerRangeArgumentType - Class in dev.jorel.commandapi.arguments
 
isOp() - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
isPermissionSet(String) - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
isPermissionSet(Permission) - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 

L

listSuggestions(CommandContext<S>, SuggestionsBuilder) - Method in record class dev.jorel.commandapi.arguments.EntitySelectorArgumentType
 
listSuggestions(CommandContext<S>, SuggestionsBuilder) - Method in interface dev.jorel.commandapi.arguments.parser.Parser
Attempts to suggest how the remaining input could be completed or fixed to produce valid input for this parser.
listSuggestions(CommandContext<S>, SuggestionsBuilder) - Method in class dev.jorel.commandapi.arguments.ProfileArgumentType
 
literal(String) - Static method in class dev.jorel.commandapi.arguments.ArgumentUtilities
Returns a new ParserLiteral.
location() - Method in record class dev.jorel.commandapi.MockCommandSource
Returns the value of the location record component.

M

makeTooltip(String, String) - Static method in class dev.jorel.commandapi.CommandAPITestUtilities
Creates a Suggestion with the given Strings as its text and tooltip.
maxResults() - Method in record class dev.jorel.commandapi.arguments.EntitySelector
Returns the value of the maxResults record component.
MockCommandAPI - Class in dev.jorel.commandapi
Additional logic that helps the CommandAPI run in a MockBukkit testing environment.
MockCommandAPI(CommandAPIBukkit<MockCommandSource>) - Constructor for class dev.jorel.commandapi.MockCommandAPI
 
MockCommandRegistrationStrategy - Class in dev.jorel.commandapi
An implementation of CommandRegistrationStrategy that handles registering commands in a testing environment.
MockCommandRegistrationStrategy(CommandAPIHandler<Argument<?>, CommandSender, MockCommandSource>) - Constructor for class dev.jorel.commandapi.MockCommandRegistrationStrategy
 
MockCommandSource - Record Class in dev.jorel.commandapi
An NMS independent implementation of CommandSourceStack.
MockCommandSource(CommandSender) - Constructor for record class dev.jorel.commandapi.MockCommandSource
 
MockCommandSource(CommandSender, Location, Entity) - Constructor for record class dev.jorel.commandapi.MockCommandSource
Creates an instance of a MockCommandSource record class.
MockNativeProxyCommandSender - Class in dev.jorel.commandapi.wrappers
 
MockNativeProxyCommandSender(CommandSender, CommandSender, Location, World) - Constructor for class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
Constructs a NativeProxyCommandSender, which is basically Minecraft's CommandListenerWrapper
MockNMS - Class in dev.jorel.commandapi.nms
 
MockNMS() - Constructor for class dev.jorel.commandapi.nms.MockNMS
 

N

name() - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
NO_ENTITIES_FOUND - Static variable in record class dev.jorel.commandapi.arguments.EntitySelectorArgumentType
 
NO_PLAYERS_FOUND - Static variable in record class dev.jorel.commandapi.arguments.EntitySelectorArgumentType
 

O

onLoad() - Method in class dev.jorel.commandapi.MockCommandAPI
 
order() - Method in record class dev.jorel.commandapi.arguments.EntitySelector
Returns the value of the order record component.
ORDER_ARBITRARY - Static variable in record class dev.jorel.commandapi.arguments.EntitySelector
 
ORDER_FURTHEST - Static variable in record class dev.jorel.commandapi.arguments.EntitySelector
 
ORDER_NEAREST - Static variable in record class dev.jorel.commandapi.arguments.EntitySelector
 
ORDER_RANDOM - Static variable in record class dev.jorel.commandapi.arguments.EntitySelector
 

P

parse(StringReader) - Method in record class dev.jorel.commandapi.arguments.EntitySelectorArgumentType
 
parse(StringReader) - Method in class dev.jorel.commandapi.arguments.IntegerRangeArgumentType
 
parse(StringReader) - Method in interface dev.jorel.commandapi.arguments.parser.Parser
Parses the given input and either returns the corresponding object or throws an exception explaining why the input could not be interpreted.
parse(StringReader) - Method in interface dev.jorel.commandapi.arguments.parser.ParserArgument
 
parse(StringReader) - Method in record class dev.jorel.commandapi.arguments.parser.ParserArgument.WithSuggestions
 
parse(StringReader) - Method in class dev.jorel.commandapi.arguments.ProfileArgumentType
 
parse(Parser<T>) - Static method in interface dev.jorel.commandapi.arguments.parser.Parser
Directly returns the Parser given.
parser - Static variable in class dev.jorel.commandapi.arguments.EntitySelectorParser
 
parser - Static variable in class dev.jorel.commandapi.arguments.IntegerRangeArgumentType
 
parser - Static variable in class dev.jorel.commandapi.arguments.ProfileArgumentType
 
Parser<T> - Interface in dev.jorel.commandapi.arguments.parser
A FunctionalInterface that reads input from a StringReader and interprets it as an object.
ParserArgument<T> - Interface in dev.jorel.commandapi.arguments.parser
ParserArgument.WithSuggestions<T> - Record Class in dev.jorel.commandapi.arguments.parser
A ParserArgument that also places suggestions at the cursor of the StringReader when invoked.
ParserLiteral - Interface in dev.jorel.commandapi.arguments.parser
ParserLiteral.WithSuggestions - Record Class in dev.jorel.commandapi.arguments.parser
A ParserLiteral that also places suggestions at the cursor of the StringReader when invoked.
player() - Static method in record class dev.jorel.commandapi.arguments.EntitySelectorArgumentType
 
playerName() - Method in record class dev.jorel.commandapi.arguments.EntitySelector
Returns the value of the playerName record component.
players() - Static method in record class dev.jorel.commandapi.arguments.EntitySelectorArgumentType
 
playersOnly() - Method in record class dev.jorel.commandapi.arguments.EntitySelectorArgumentType
Returns the value of the playersOnly record component.
poll() - Method in class dev.jorel.commandapi.spying.ExecutionQueue
 
postCommandRegistration(RegisteredCommand, LiteralCommandNode<MockCommandSource>, List<LiteralCommandNode<MockCommandSource>>) - Method in class dev.jorel.commandapi.MockCommandRegistrationStrategy
 
preReloadDataPacks() - Method in class dev.jorel.commandapi.MockCommandRegistrationStrategy
 
ProfileArgumentType - Class in dev.jorel.commandapi.arguments
 
ProfileArgumentType.ProfileSelector - Interface in dev.jorel.commandapi.arguments
 

R

RANGE_SWAPPED - Static variable in class dev.jorel.commandapi.arguments.IntegerRangeArgumentType
 
read(StringReader) - Method in interface dev.jorel.commandapi.arguments.parser.ParserLiteral
Reads from the given input and either returns successfully or throws an exception explaining why the input could not be interpreted.
read(StringReader) - Method in record class dev.jorel.commandapi.arguments.parser.ParserLiteral.WithSuggestions
 
read(ParserLiteral) - Static method in interface dev.jorel.commandapi.arguments.parser.Parser
Directly returns the ParserLiteral given.
readUntilWithoutEscapeCharacter(char) - Static method in class dev.jorel.commandapi.arguments.ArgumentUtilities
Returns a new ParserArgument that reads characters from the input StringReader until it reaches the given terminator character.
recalculatePermissions() - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
registerCommandNode(LiteralArgumentBuilder<MockCommandSource>, String) - Method in class dev.jorel.commandapi.MockCommandRegistrationStrategy
 
reloadDataPacks() - Method in class dev.jorel.commandapi.nms.MockNMS
 
removeAttachment(PermissionAttachment) - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
Result<T> - Record Class in dev.jorel.commandapi.arguments.parser
Holds the information that results from a Parser parsing input.
Result(T, CommandSyntaxException, int, SuggestionProvider) - Constructor for record class dev.jorel.commandapi.arguments.parser.Result
Creates an instance of a Result record class.
Result.ThrowableFunction<T,R> - Interface in dev.jorel.commandapi.arguments.parser
Result.Void - Class in dev.jorel.commandapi.arguments.parser
A placeholder object that represents a successful parse that didn't return a specific object.
runTasksAfterServerStart() - Method in class dev.jorel.commandapi.MockCommandRegistrationStrategy
 

S

selfSelector() - Method in record class dev.jorel.commandapi.arguments.EntitySelector
Returns the value of the selfSelector record component.
sendMessage(String) - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
sendMessage(String...) - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
sendMessage(UUID, String) - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
sendMessage(UUID, String...) - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
setField(Class<? super Target>, String, Target, Object) - Static method in class dev.jorel.commandapi.MockCommandAPI
Sets a field inside a target object to the given value.
setOp(boolean) - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
singleTarget() - Method in record class dev.jorel.commandapi.arguments.EntitySelectorArgumentType
Returns the value of the singleTarget record component.
sort(Location, List<? extends Entity>) - Method in interface dev.jorel.commandapi.arguments.EntitySelector.Order
 
spigot() - Method in class dev.jorel.commandapi.wrappers.MockNativeProxyCommandSender
 
spyHandler() - Method in class dev.jorel.commandapi.spying.CommandAPIHandlerSpy
 
SuggestionProvider - Interface in dev.jorel.commandapi.arguments.parser
A FunctionalInterface that generates suggestions for a Parser.
suggestions() - Method in record class dev.jorel.commandapi.arguments.parser.ParserArgument.WithSuggestions
Returns the value of the suggestions record component.
suggestions() - Method in record class dev.jorel.commandapi.arguments.parser.ParserLiteral.WithSuggestions
Returns the value of the suggestions record component.
suggestions() - Method in record class dev.jorel.commandapi.arguments.parser.Result
Returns the value of the suggestions record component.
suggestionsStart() - Method in record class dev.jorel.commandapi.arguments.parser.Result
Returns the value of the suggestionsStart record component.
suggests(SuggestionProvider) - Method in interface dev.jorel.commandapi.arguments.parser.ParserArgument
Adds suggestions to the Result of this ParserArgument.
suggests(SuggestionProvider) - Method in record class dev.jorel.commandapi.arguments.parser.ParserArgument.WithSuggestions
 
suggests(SuggestionProvider) - Method in interface dev.jorel.commandapi.arguments.parser.ParserLiteral
Adds suggestions to the Result of this ParserLiteral.
suggests(SuggestionProvider) - Method in record class dev.jorel.commandapi.arguments.parser.ParserLiteral.WithSuggestions
 

T

throwOrReturn() - Method in record class dev.jorel.commandapi.arguments.parser.Result
 
toString() - Method in record class dev.jorel.commandapi.arguments.EntitySelector
Returns a string representation of this record class.
toString() - Method in record class dev.jorel.commandapi.arguments.EntitySelectorArgumentType
Returns a string representation of this record class.
toString() - Method in record class dev.jorel.commandapi.arguments.parser.ParserArgument.WithSuggestions
Returns a string representation of this record class.
toString() - Method in record class dev.jorel.commandapi.arguments.parser.ParserLiteral.WithSuggestions
Returns a string representation of this record class.
toString() - Method in record class dev.jorel.commandapi.arguments.parser.Result
Returns a string representation of this record class.
toString() - Method in record class dev.jorel.commandapi.MockCommandSource
Returns a string representation of this record class.
translatedMessage(String) - Static method in class dev.jorel.commandapi.arguments.ArgumentUtilities
Turns a translation key into a Brigadier Message.
translatedMessage(String, Object...) - Static method in class dev.jorel.commandapi.arguments.ArgumentUtilities
Turns a translation key into a Brigadier Message.
type() - Method in record class dev.jorel.commandapi.arguments.EntitySelector
Returns the value of the type record component.

U

UnimplementedMethodException - Exception Class in dev.jorel.commandapi
Deprecated.
UnimplementedMethodException() - Constructor for exception class dev.jorel.commandapi.UnimplementedMethodException
Deprecated.
 
UnimplementedMethodException(String) - Constructor for exception class dev.jorel.commandapi.UnimplementedMethodException
Deprecated.
 
unregister(String, boolean, boolean) - Method in class dev.jorel.commandapi.MockCommandRegistrationStrategy
 

V

value() - Method in record class dev.jorel.commandapi.arguments.parser.Result
Returns the value of the value record component.

W

withException(CommandSyntaxException) - Static method in record class dev.jorel.commandapi.arguments.parser.Result
 
withExceptionAndSuggestions(CommandSyntaxException, int, SuggestionProvider) - Static method in record class dev.jorel.commandapi.arguments.parser.Result
 
withSuggestions(int, SuggestionProvider) - Method in record class dev.jorel.commandapi.arguments.parser.Result
Keeps the same value or exception but overrides any suggestions information.
WithSuggestions(ParserArgument<T>, SuggestionProvider) - Constructor for record class dev.jorel.commandapi.arguments.parser.ParserArgument.WithSuggestions
Creates an instance of a WithSuggestions record class.
WithSuggestions(ParserLiteral, SuggestionProvider) - Constructor for record class dev.jorel.commandapi.arguments.parser.ParserLiteral.WithSuggestions
Creates an instance of a WithSuggestions record class.
withValue(T) - Static method in record class dev.jorel.commandapi.arguments.parser.Result
 
withValueAndSuggestions(T, int, SuggestionProvider) - Static method in record class dev.jorel.commandapi.arguments.parser.Result
 
withVoidValue() - Static method in record class dev.jorel.commandapi.arguments.parser.Result
 
withVoidValueAndSuggestions(int, SuggestionProvider) - Static method in record class dev.jorel.commandapi.arguments.parser.Result
 
wrapFunctionResult(Result.ThrowableFunction<T, R>) - Static method in record class dev.jorel.commandapi.arguments.parser.Result
Converts a Result.ThrowableFunction<T, R> into a Function<T, Result<R>>.

_

_ArgumentAdvancement() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentAngle() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentAxis() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentBlockPredicate() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentBlockState() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentChat() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentChatComponent() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentChatFormat() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentDimension() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentEnchantment() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentEntity(ArgumentSubType) - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentEntitySummon() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentFloatRange() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentIntRange() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentItemPredicate() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentItemStack() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentMathOperation() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentMinecraftKeyRegistered() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentMobEffect() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentNBTCompound() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentParticle() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentPosition() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentPosition2D() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentProfile() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentRecipe() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentRotation() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentScoreboardCriteria() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentScoreboardObjective() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentScoreboardSlot() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentScoreboardTeam() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentScoreholder(ArgumentSubType) - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentSyntheticBiome() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentTag() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentTime() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentUUID() - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentVec2(boolean) - Method in class dev.jorel.commandapi.nms.MockNMS
 
_ArgumentVec3(boolean) - Method in class dev.jorel.commandapi.nms.MockNMS
 
A B C D E F G H I L M N O P R S T U V W _ 
All Classes and Interfaces|All Packages|Serialized Form