Interface ArgumentTypeFactory
public interface ArgumentTypeFactory
-
Method Summary
Modifier and TypeMethodDescriptiongetPossiblyOfflinePlayer(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> commandContext, String string) <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listOfflinePlayerSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) com.mojang.brigadier.arguments.StringArgumentType
-
Method Details
-
possiblyOfflinePlayer
com.mojang.brigadier.arguments.StringArgumentType possiblyOfflinePlayer() -
getPossiblyOfflinePlayer
PossiblyOfflinePlayer getPossiblyOfflinePlayer(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> commandContext, String string) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
listOfflinePlayerSuggestions
<S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listOfflinePlayerSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
-