Interface ArgumentTypeFactory


public interface ArgumentTypeFactory
  • 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)