Interface ScoreHolderArgument
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
Modifier and TypeMethodDescriptiondefault com.mojang.brigadier.arguments.ArgumentType
<?> Deprecated, for removal: This API element is subject to removal in a future version.default com.mojang.brigadier.arguments.ArgumentType
<?> Deprecated, for removal: This API element is subject to removal in a future version.default ScoreHolder
getName
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.default Collection
<ScoreHolder> getNames
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.default Collection
<ScoreHolder> getNamesSupplier
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name, Supplier<Collection<String>> players) Deprecated, for removal: This API element is subject to removal in a future version.default Collection
<ScoreHolder> getNamesWithDefaultWildcard
(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.default com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
getHolder
default com.mojang.brigadier.arguments.ArgumentType<?> getHolder()Deprecated, for removal: This API element is subject to removal in a future version. -
getHolders
default com.mojang.brigadier.arguments.ArgumentType<?> getHolders()Deprecated, for removal: This API element is subject to removal in a future version. -
getName
default ScoreHolder getName(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getNames
default Collection<ScoreHolder> getNames(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getNamesWithDefaultWildcard
default Collection<ScoreHolder> getNamesWithDefaultWildcard(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getNamesSupplier
default Collection<ScoreHolder> getNamesSupplier(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context, String name, Supplier<Collection<String>> players) throws com.mojang.brigadier.exceptions.CommandSyntaxException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getSuggestion
Deprecated, for removal: This API element is subject to removal in a future version.
-