Interface GameProfileArgument.Result

All Known Implementing Classes:
GameProfileArgument.SelectorResult
Enclosing class:
GameProfileArgument
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface GameProfileArgument.Result
  • Method Details

    • getNames

      Collection<NameAndId> getNames(CommandSourceStack pSource) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException