Interface ScoreHolderArgument
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.brigadier.arguments.ArgumentType
<?> com.mojang.brigadier.arguments.ArgumentType
<?> getName
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) getNames
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) getNamesSupplier
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name, Supplier<Collection<String>> players) getNamesWithDefaultWildcard
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack>
-
Method Details
-
getHolder
com.mojang.brigadier.arguments.ArgumentType<?> getHolder() -
getHolders
com.mojang.brigadier.arguments.ArgumentType<?> getHolders() -
getName
ScoreHolder getName(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getNames
Collection<ScoreHolder> getNames(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getNamesWithDefaultWildcard
Collection<ScoreHolder> getNamesWithDefaultWildcard(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getNamesSupplier
Collection<ScoreHolder> getNamesSupplier(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name, Supplier<Collection<String>> players) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getSuggestion
com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> getSuggestion()
-