-
- All Implemented Interfaces:
-
com.mojang.brigadier.arguments.ArgumentType
public final class PlayerArgumentType implements ArgumentType<PlayerInput>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPlayerArgumentType.Companion
-
Constructor Summary
Constructors Constructor Description PlayerArgumentType(Function1<Player, Boolean> predicate, Boolean allowMultiplePlayers)
-
Method Summary
Modifier and Type Method Description PlayerInputparse(StringReader reader)Collection<String>getExamples()<S extends Any> CompletableFuture<Suggestions>listSuggestions(CommandContext<S> context, SuggestionsBuilder builder)-
-
Method Detail
-
parse
PlayerInput parse(StringReader reader)
-
getExamples
Collection<String> getExamples()
-
listSuggestions
<S extends Any> CompletableFuture<Suggestions> listSuggestions(CommandContext<S> context, SuggestionsBuilder builder)
-
-
-
-