类 ScoreboardSlotArgument

java.lang.Object
net.minecraft.commands.arguments.ScoreboardSlotArgument
所有已实现的接口:
com.mojang.brigadier.arguments.ArgumentType<DisplaySlot>

public class ScoreboardSlotArgument extends Object implements com.mojang.brigadier.arguments.ArgumentType<DisplaySlot>
  • 字段详细资料

    • EXAMPLES

      private static final Collection<String> EXAMPLES
    • ERROR_INVALID_VALUE

      public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_INVALID_VALUE
  • 构造器详细资料

    • ScoreboardSlotArgument

      private ScoreboardSlotArgument()
  • 方法详细资料

    • displaySlot

      public static ScoreboardSlotArgument displaySlot()
    • getDisplaySlot

      public static DisplaySlot getDisplaySlot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_109200_, String p_109201_)
    • parse

      public DisplaySlot parse(com.mojang.brigadier.StringReader p_109198_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      指定者:
      parse 在接口中 com.mojang.brigadier.arguments.ArgumentType<DisplaySlot>
      抛出:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • listSuggestions

      public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> p_109206_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_109207_)
      指定者:
      listSuggestions 在接口中 com.mojang.brigadier.arguments.ArgumentType<DisplaySlot>
    • getExamples

      public Collection<String> getExamples()
      指定者:
      getExamples 在接口中 com.mojang.brigadier.arguments.ArgumentType<DisplaySlot>