类 Vec2ArgumentType

  • 所有已实现的接口:
    com.mojang.brigadier.arguments.ArgumentType<PosArgument>

    public class Vec2ArgumentType
    extends Object
    implements com.mojang.brigadier.arguments.ArgumentType<PosArgument>
    Mappings:
    Namespace Name
    official ev
    intermediary net/minecraft/class_2274
    named net/minecraft/command/argument/Vec2ArgumentType
    • 字段详细资料

      • EXAMPLES

        private static final Collection<String> EXAMPLES
        Mappings:
        Namespace Name Mixin selector
        official b Lev;b:Ljava/util/Collection;
        intermediary field_10742 Lnet/minecraft/class_2274;field_10742:Ljava/util/Collection;
        named EXAMPLES Lnet/minecraft/command/argument/Vec2ArgumentType;EXAMPLES:Ljava/util/Collection;
      • INCOMPLETE_EXCEPTION

        public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INCOMPLETE_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official a Lev;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        intermediary field_10743 Lnet/minecraft/class_2274;field_10743:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        named INCOMPLETE_EXCEPTION Lnet/minecraft/command/argument/Vec2ArgumentType;INCOMPLETE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      • centerIntegers

        private final boolean centerIntegers
        Mappings:
        Namespace Name Mixin selector
        official c Lev;c:Z
        intermediary field_10744 Lnet/minecraft/class_2274;field_10744:Z
        named centerIntegers Lnet/minecraft/command/argument/Vec2ArgumentType;centerIntegers:Z
    • 构造器详细资料

      • Vec2ArgumentType

        public Vec2ArgumentType​(boolean centerIntegers)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lev;<init>(Z)V
        intermediary <init> Lnet/minecraft/class_2274;<init>(Z)V
        named <init> Lnet/minecraft/command/argument/Vec2ArgumentType;<init>(Z)V
    • 方法详细资料

      • vec2

        public static Vec2ArgumentType vec2()
        Mappings:
        Namespace Name Mixin selector
        official a Lev;a()Lev;
        intermediary method_9723 Lnet/minecraft/class_2274;method_9723()Lnet/minecraft/class_2274;
        named vec2 Lnet/minecraft/command/argument/Vec2ArgumentType;vec2()Lnet/minecraft/command/argument/Vec2ArgumentType;
      • method_35802

        public static Vec2ArgumentType method_35802​(boolean bool)
        Mappings:
        Namespace Name Mixin selector
        official a Lev;a(Z)Lev;
        intermediary method_35802 Lnet/minecraft/class_2274;method_35802(Z)Lnet/minecraft/class_2274;
        named method_35802 Lnet/minecraft/command/argument/Vec2ArgumentType;method_35802(Z)Lnet/minecraft/command/argument/Vec2ArgumentType;
      • getVec2

        public static Vec2f getVec2​(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context,
                                    String name)
        Mappings:
        Namespace Name Mixin selector
        official a Lev;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ldlz;
        intermediary method_9724 Lnet/minecraft/class_2274;method_9724(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_241;
        named getVec2 Lnet/minecraft/command/argument/Vec2ArgumentType;getVec2(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/util/math/Vec2f;
      • 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 a Lev;a(Lcom/mojang/brigadier/StringReader;)Ler;
        intermediary method_9725 Lnet/minecraft/class_2274;method_9725(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2267;
        named parse Lnet/minecraft/command/argument/Vec2ArgumentType;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 listSuggestions Lev;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
        intermediary listSuggestions Lnet/minecraft/class_2274;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
        named listSuggestions Lnet/minecraft/command/argument/Vec2ArgumentType;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 getExamples Lev;getExamples()Ljava/util/Collection;
        intermediary getExamples Lnet/minecraft/class_2274;getExamples()Ljava/util/Collection;
        named getExamples Lnet/minecraft/command/argument/Vec2ArgumentType;getExamples()Ljava/util/Collection;