类 CoordinateArgument


  • public class CoordinateArgument
    extends Object
    Mappings:
    Namespace Name
    official ex
    intermediary net/minecraft/class_2278
    named net/minecraft/command/argument/CoordinateArgument
    • 字段详细资料

      • field_32972

        private static final char field_32972
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official c Lex;c:C
        intermediary field_32972 Lnet/minecraft/class_2278;field_32972:C
        named field_32972 Lnet/minecraft/command/argument/CoordinateArgument;field_32972:C
      • MISSING_COORDINATE

        public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType MISSING_COORDINATE
        Mappings:
        Namespace Name Mixin selector
        official a Lex;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        intermediary field_10759 Lnet/minecraft/class_2278;field_10759:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        named MISSING_COORDINATE Lnet/minecraft/command/argument/CoordinateArgument;MISSING_COORDINATE:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      • MISSING_BLOCK_POSITION

        public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType MISSING_BLOCK_POSITION
        Mappings:
        Namespace Name Mixin selector
        official b Lex;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        intermediary field_10761 Lnet/minecraft/class_2278;field_10761:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        named MISSING_BLOCK_POSITION Lnet/minecraft/command/argument/CoordinateArgument;MISSING_BLOCK_POSITION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      • relative

        private final boolean relative
        Mappings:
        Namespace Name Mixin selector
        official d Lex;d:Z
        intermediary field_10760 Lnet/minecraft/class_2278;field_10760:Z
        named relative Lnet/minecraft/command/argument/CoordinateArgument;relative:Z
      • value

        private final double value
        Mappings:
        Namespace Name Mixin selector
        official e Lex;e:D
        intermediary field_10758 Lnet/minecraft/class_2278;field_10758:D
        named value Lnet/minecraft/command/argument/CoordinateArgument;value:D
    • 构造器详细资料

      • CoordinateArgument

        public CoordinateArgument​(boolean relative,
                                  double value)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lex;<init>(ZD)V
        intermediary <init> Lnet/minecraft/class_2278;<init>(ZD)V
        named <init> Lnet/minecraft/command/argument/CoordinateArgument;<init>(ZD)V
    • 方法详细资料

      • toAbsoluteCoordinate

        public double toAbsoluteCoordinate​(double offset)
        Mappings:
        Namespace Name Mixin selector
        official a Lex;a(D)D
        intermediary method_9740 Lnet/minecraft/class_2278;method_9740(D)D
        named toAbsoluteCoordinate Lnet/minecraft/command/argument/CoordinateArgument;toAbsoluteCoordinate(D)D
      • parse

        public static CoordinateArgument parse​(com.mojang.brigadier.StringReader reader,
                                               boolean centerIntegers)
                                        throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Lex;a(Lcom/mojang/brigadier/StringReader;Z)Lex;
        intermediary method_9743 Lnet/minecraft/class_2278;method_9743(Lcom/mojang/brigadier/StringReader;Z)Lnet/minecraft/class_2278;
        named parse Lnet/minecraft/command/argument/CoordinateArgument;parse(Lcom/mojang/brigadier/StringReader;Z)Lnet/minecraft/command/argument/CoordinateArgument;
      • parse

        public static CoordinateArgument parse​(com.mojang.brigadier.StringReader reader)
                                        throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Lex;a(Lcom/mojang/brigadier/StringReader;)Lex;
        intermediary method_9739 Lnet/minecraft/class_2278;method_9739(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2278;
        named parse Lnet/minecraft/command/argument/CoordinateArgument;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/CoordinateArgument;
      • isRelative

        public static boolean isRelative​(com.mojang.brigadier.StringReader reader)
        Mappings:
        Namespace Name Mixin selector
        official b Lex;b(Lcom/mojang/brigadier/StringReader;)Z
        intermediary method_9742 Lnet/minecraft/class_2278;method_9742(Lcom/mojang/brigadier/StringReader;)Z
        named isRelative Lnet/minecraft/command/argument/CoordinateArgument;isRelative(Lcom/mojang/brigadier/StringReader;)Z
      • equals

        public boolean equals​(Object o)
        覆盖:
        equals 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official equals Lex;equals(Ljava/lang/Object;)Z
        intermediary equals Lnet/minecraft/class_2278;equals(Ljava/lang/Object;)Z
        named equals Lnet/minecraft/command/argument/CoordinateArgument;equals(Ljava/lang/Object;)Z
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official hashCode Lex;hashCode()I
        intermediary hashCode Lnet/minecraft/class_2278;hashCode()I
        named hashCode Lnet/minecraft/command/argument/CoordinateArgument;hashCode()I
      • isRelative

        public boolean isRelative()
        Mappings:
        Namespace Name Mixin selector
        official a Lex;a()Z
        intermediary method_9741 Lnet/minecraft/class_2278;method_9741()Z
        named isRelative Lnet/minecraft/command/argument/CoordinateArgument;isRelative()Z