Interface ScoreHolderArgument


@NullMarked @Deprecated(since="1.21.7", forRemoval=true) public interface ScoreHolderArgument
Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Summary

    Modifier and Type
    Method
    Description
    default 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.
     
    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.
     
    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.
     
    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

      default com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> getSuggestion()
      Deprecated, for removal: This API element is subject to removal in a future version.