Class ColumnPosArgumentType

java.lang.Object
net.minecraft.command.argument.ColumnPosArgumentType
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<PosArgument>

public class ColumnPosArgumentType
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<PosArgument>
  • Field Details

    • EXAMPLES

      private static final Collection<String> EXAMPLES
    • INCOMPLETE_EXCEPTION

      public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INCOMPLETE_EXCEPTION
  • Constructor Details

    • ColumnPosArgumentType

      public ColumnPosArgumentType()
  • Method Details

    • columnPos

      public static ColumnPosArgumentType columnPos()
    • getColumnPos

      public static ColumnPos getColumnPos​(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
    • parse

      public PosArgument parse​(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      parse in interface com.mojang.brigadier.arguments.ArgumentType<PosArgument>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • listSuggestions

      public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions​(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
      Specified by:
      listSuggestions in interface com.mojang.brigadier.arguments.ArgumentType<PosArgument>
    • getExamples

      public Collection<String> getExamples()
      Specified by:
      getExamples in interface com.mojang.brigadier.arguments.ArgumentType<PosArgument>