类 Vec3ArgumentType
- java.lang.Object
-
- net.minecraft.command.argument.Vec3ArgumentType
-
- 所有已实现的接口:
com.mojang.brigadier.arguments.ArgumentType<PosArgument>
public class Vec3ArgumentType extends Object implements com.mojang.brigadier.arguments.ArgumentType<PosArgument>
- Mappings:
Namespace Name official ewintermediary net/minecraft/class_2277named net/minecraft/command/argument/Vec3ArgumentType
-
-
字段概要
字段 修饰符和类型 字段 说明 private booleancenterIntegersprivate static Collection<String>EXAMPLESstatic com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeINCOMPLETE_EXCEPTIONstatic com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeMIXED_COORDINATE_EXCEPTION
-
构造器概要
构造器 构造器 说明 Vec3ArgumentType(boolean centerIntegers)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 Collection<String>getExamples()static PosArgumentgetPosArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)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)PosArgumentparse(com.mojang.brigadier.StringReader stringReader)static Vec3ArgumentTypevec3()static Vec3ArgumentTypevec3(boolean centerIntegers)
-
-
-
字段详细资料
-
EXAMPLES
private static final Collection<String> EXAMPLES
- Mappings:
Namespace Name Mixin selector official cLew;c:Ljava/util/Collection;intermediary field_10754Lnet/minecraft/class_2277;field_10754:Ljava/util/Collection;named EXAMPLESLnet/minecraft/command/argument/Vec3ArgumentType;EXAMPLES:Ljava/util/Collection;
-
INCOMPLETE_EXCEPTION
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INCOMPLETE_EXCEPTION
- Mappings:
Namespace Name Mixin selector official aLew;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_10755Lnet/minecraft/class_2277;field_10755:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named INCOMPLETE_EXCEPTIONLnet/minecraft/command/argument/Vec3ArgumentType;INCOMPLETE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
MIXED_COORDINATE_EXCEPTION
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType MIXED_COORDINATE_EXCEPTION
- Mappings:
Namespace Name Mixin selector official bLew;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_10757Lnet/minecraft/class_2277;field_10757:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named MIXED_COORDINATE_EXCEPTIONLnet/minecraft/command/argument/Vec3ArgumentType;MIXED_COORDINATE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
centerIntegers
private final boolean centerIntegers
- Mappings:
Namespace Name Mixin selector official dLew;d:Zintermediary field_10756Lnet/minecraft/class_2277;field_10756:Znamed centerIntegersLnet/minecraft/command/argument/Vec3ArgumentType;centerIntegers:Z
-
-
方法详细资料
-
vec3
public static Vec3ArgumentType vec3()
- Mappings:
Namespace Name Mixin selector official aLew;a()Lew;intermediary method_9737Lnet/minecraft/class_2277;method_9737()Lnet/minecraft/class_2277;named vec3Lnet/minecraft/command/argument/Vec3ArgumentType;vec3()Lnet/minecraft/command/argument/Vec3ArgumentType;
-
vec3
public static Vec3ArgumentType vec3(boolean centerIntegers)
- Mappings:
Namespace Name Mixin selector official aLew;a(Z)Lew;intermediary method_9735Lnet/minecraft/class_2277;method_9735(Z)Lnet/minecraft/class_2277;named vec3Lnet/minecraft/command/argument/Vec3ArgumentType;vec3(Z)Lnet/minecraft/command/argument/Vec3ArgumentType;
-
getVec3
public static Vec3d getVec3(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
- Mappings:
Namespace Name Mixin selector official aLew;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ldma;intermediary method_9736Lnet/minecraft/class_2277;method_9736(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_243;named getVec3Lnet/minecraft/command/argument/Vec3ArgumentType;getVec3(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/util/math/Vec3d;
-
getPosArgument
public static PosArgument getPosArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)
- Mappings:
Namespace Name Mixin selector official bLew;b(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ler;intermediary method_9734Lnet/minecraft/class_2277;method_9734(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2267;named getPosArgumentLnet/minecraft/command/argument/Vec3ArgumentType;getPosArgument(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/command/argument/PosArgument;
-
parse
public PosArgument parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- 指定者:
parse在接口中com.mojang.brigadier.arguments.ArgumentType<PosArgument>- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLew;a(Lcom/mojang/brigadier/StringReader;)Ler;intermediary method_9738Lnet/minecraft/class_2277;method_9738(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2267;named parseLnet/minecraft/command/argument/Vec3ArgumentType;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)
- 指定者:
listSuggestions在接口中com.mojang.brigadier.arguments.ArgumentType<PosArgument>- Mappings:
Namespace Name Mixin selector official listSuggestionsLew;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;intermediary listSuggestionsLnet/minecraft/class_2277;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;named listSuggestionsLnet/minecraft/command/argument/Vec3ArgumentType;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
getExamples
public Collection<String> getExamples()
- 指定者:
getExamples在接口中com.mojang.brigadier.arguments.ArgumentType<PosArgument>- Mappings:
Namespace Name Mixin selector official getExamplesLew;getExamples()Ljava/util/Collection;intermediary getExamplesLnet/minecraft/class_2277;getExamples()Ljava/util/Collection;named getExamplesLnet/minecraft/command/argument/Vec3ArgumentType;getExamples()Ljava/util/Collection;
-
-