Package net.minecraft.command.argument
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>
- Mappings:
Namespace Name official el
intermediary net/minecraft/class_2264
named net/minecraft/command/argument/ColumnPosArgumentType
-
Field Summary
Fields Modifier and Type Field Description private static Collection<String>
EXAMPLES
static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
INCOMPLETE_EXCEPTION
-
Constructor Summary
Constructors Constructor Description ColumnPosArgumentType()
-
Method Summary
Modifier and Type Method Description static ColumnPosArgumentType
columnPos()
static ColumnPos
getColumnPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
Collection<String>
getExamples()
<S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
PosArgument
parse(com.mojang.brigadier.StringReader stringReader)
-
Field Details
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector official b
Lel;b:Ljava/util/Collection;
intermediary field_10705
Lnet/minecraft/class_2264;field_10705:Ljava/util/Collection;
named EXAMPLES
Lnet/minecraft/command/argument/ColumnPosArgumentType;EXAMPLES:Ljava/util/Collection;
-
INCOMPLETE_EXCEPTION
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INCOMPLETE_EXCEPTION- Mappings:
Namespace Name Mixin selector official a
Lel;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_10706
Lnet/minecraft/class_2264;field_10706:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
named INCOMPLETE_EXCEPTION
Lnet/minecraft/command/argument/ColumnPosArgumentType;INCOMPLETE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
ColumnPosArgumentType
public ColumnPosArgumentType()
-
-
Method Details
-
columnPos
- Mappings:
Namespace Name Mixin selector official a
Lel;a()Lel;
intermediary method_9701
Lnet/minecraft/class_2264;method_9701()Lnet/minecraft/class_2264;
named columnPos
Lnet/minecraft/command/argument/ColumnPosArgumentType;columnPos()Lnet/minecraft/command/argument/ColumnPosArgumentType;
-
getColumnPos
public static ColumnPos getColumnPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)- Mappings:
Namespace Name Mixin selector official a
Lel;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Laam;
intermediary method_9702
Lnet/minecraft/class_2264;method_9702(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2265;
named getColumnPos
Lnet/minecraft/command/argument/ColumnPosArgumentType;getColumnPos(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/util/math/ColumnPos;
-
parse
public PosArgument parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<PosArgument>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lel;a(Lcom/mojang/brigadier/StringReader;)Lem;
intermediary method_9703
Lnet/minecraft/class_2264;method_9703(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2267;
named parse
Lnet/minecraft/command/argument/ColumnPosArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/PosArgument;
-
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 interfacecom.mojang.brigadier.arguments.ArgumentType<PosArgument>
- Mappings:
Namespace Name Mixin selector official listSuggestions
Lel;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary listSuggestions
Lnet/minecraft/class_2264;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
named listSuggestions
Lnet/minecraft/command/argument/ColumnPosArgumentType;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<PosArgument>
- Mappings:
Namespace Name Mixin selector official getExamples
Lel;getExamples()Ljava/util/Collection;
intermediary getExamples
Lnet/minecraft/class_2264;getExamples()Ljava/util/Collection;
named getExamples
Lnet/minecraft/command/argument/ColumnPosArgumentType;getExamples()Ljava/util/Collection;
-