Interface PreviewedArgument<T>

All Superinterfaces:
com.mojang.brigadier.arguments.ArgumentType<T>
All Known Subinterfaces:
SignedArgument<T>
All Known Implementing Classes:
MessageArgument

public interface PreviewedArgument<T> extends com.mojang.brigadier.arguments.ArgumentType<T>
  • Method Details

    • resolvePreview

      @Nullable default CompletableFuture<Component> resolvePreview(CommandSourceStack p_242896_, com.mojang.brigadier.context.ParsedArgument<CommandSourceStack,?> p_242879_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • resolvePreview

      CompletableFuture<Component> resolvePreview(CommandSourceStack p_232864_, T p_232865_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • getValueType

      Class<T> getValueType()