Package net.minecraft.command.argument
Class Vec3ArgumentType
java.lang.Object
net.minecraft.command.argument.Vec3ArgumentType
- All Implemented Interfaces:
- com.mojang.brigadier.arguments.ArgumentType<PosArgument>
public class Vec3ArgumentType
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<PosArgument>
- Mappings:
- Namespace - Name - named - net/minecraft/command/argument/Vec3ArgumentType- intermediary - net/minecraft/class_2277- official - ha
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final booleanprivate static final Collection<String> static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypestatic final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic PosArgumentgetPosArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static Vec3dgetVec3(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) parse(com.mojang.brigadier.StringReader stringReader) static Vec3ArgumentTypevec3()static Vec3ArgumentTypevec3(boolean centerIntegers) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.brigadier.arguments.ArgumentTypeparse
- 
Field Details- 
EXAMPLES- Mappings:
- Namespace - Name - Mixin selector - named - EXAMPLES- Lnet/minecraft/command/argument/Vec3ArgumentType;EXAMPLES:Ljava/util/Collection;- intermediary - field_10754- Lnet/minecraft/class_2277;field_10754:Ljava/util/Collection;- official - c- Lha;c:Ljava/util/Collection;
 
- 
INCOMPLETE_EXCEPTIONpublic static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INCOMPLETE_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - INCOMPLETE_EXCEPTION- Lnet/minecraft/command/argument/Vec3ArgumentType;INCOMPLETE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_10755- Lnet/minecraft/class_2277;field_10755:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - a- Lha;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
MIXED_COORDINATE_EXCEPTIONpublic static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType MIXED_COORDINATE_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - MIXED_COORDINATE_EXCEPTION- Lnet/minecraft/command/argument/Vec3ArgumentType;MIXED_COORDINATE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_10757- Lnet/minecraft/class_2277;field_10757:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - b- Lha;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
centerIntegersprivate final boolean centerIntegers- Mappings:
- Namespace - Name - Mixin selector - named - centerIntegers- Lnet/minecraft/command/argument/Vec3ArgumentType;centerIntegers:Z- intermediary - field_10756- Lnet/minecraft/class_2277;field_10756:Z- official - d- Lha;d:Z
 
 
- 
- 
Constructor Details- 
Vec3ArgumentTypepublic Vec3ArgumentType(boolean centerIntegers) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/command/argument/Vec3ArgumentType;<init>(Z)V- intermediary - <init>- Lnet/minecraft/class_2277;<init>(Z)V- official - <init>- Lha;<init>(Z)V
 
 
- 
- 
Method Details- 
vec3- Mappings:
- Namespace - Name - Mixin selector - named - vec3- Lnet/minecraft/command/argument/Vec3ArgumentType;vec3()Lnet/minecraft/command/argument/Vec3ArgumentType;- intermediary - method_9737- Lnet/minecraft/class_2277;method_9737()Lnet/minecraft/class_2277;- official - a- Lha;a()Lha;
 
- 
vec3- Mappings:
- Namespace - Name - Mixin selector - named - vec3- Lnet/minecraft/command/argument/Vec3ArgumentType;vec3(Z)Lnet/minecraft/command/argument/Vec3ArgumentType;- intermediary - method_9735- Lnet/minecraft/class_2277;method_9735(Z)Lnet/minecraft/class_2277;- official - a- Lha;a(Z)Lha;
 
- 
getVec3public static Vec3d getVec3(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) - Mappings:
- Namespace - Name - Mixin selector - named - getVec3- Lnet/minecraft/command/argument/Vec3ArgumentType;getVec3(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/util/math/Vec3d;- intermediary - method_9736- Lnet/minecraft/class_2277;method_9736(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_243;- official - a- Lha;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lfbb;
 
- 
getPosArgumentpublic static PosArgument getPosArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) - Mappings:
- Namespace - Name - Mixin selector - named - getPosArgument- Lnet/minecraft/command/argument/Vec3ArgumentType;getPosArgument(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/command/argument/PosArgument;- intermediary - method_9734- Lnet/minecraft/class_2277;method_9734(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2267;- official - b- Lha;b(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lgv;
 
- 
parsepublic PosArgument parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
- parsein interface- com.mojang.brigadier.arguments.ArgumentType<PosArgument>
- Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - named - parse- Lnet/minecraft/command/argument/Vec3ArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/PosArgument;- intermediary - method_9738- Lnet/minecraft/class_2277;method_9738(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2267;- official - a- Lha;a(Lcom/mojang/brigadier/StringReader;)Lgv;
 
- 
listSuggestionspublic <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Specified by:
- listSuggestionsin interface- com.mojang.brigadier.arguments.ArgumentType<PosArgument>
- Mappings:
- Namespace - Name - Mixin selector - named - listSuggestions- Lnet/minecraft/command/argument/Vec3ArgumentType;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;- intermediary - listSuggestions- Lnet/minecraft/class_2277;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;- official - listSuggestions- Lha;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
 
- 
getExamples- Specified by:
- getExamplesin interface- com.mojang.brigadier.arguments.ArgumentType<PosArgument>
 
 
-