类 LookingPosArgument

  • 所有已实现的接口:
    PosArgument

    public class LookingPosArgument
    extends Object
    implements PosArgument
    Mappings:
    Namespace Name
    official es
    intermediary net/minecraft/class_2268
    named net/minecraft/command/argument/LookingPosArgument
    • 字段详细资料

      • field_32941

        public static final char field_32941
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Les;a:C
        intermediary field_32941 Lnet/minecraft/class_2268;field_32941:C
        named field_32941 Lnet/minecraft/command/argument/LookingPosArgument;field_32941:C
      • x

        private final double x
        Mappings:
        Namespace Name Mixin selector
        official b Les;b:D
        intermediary field_10714 Lnet/minecraft/class_2268;field_10714:D
        named x Lnet/minecraft/command/argument/LookingPosArgument;x:D
      • y

        private final double y
        Mappings:
        Namespace Name Mixin selector
        official c Les;c:D
        intermediary field_10713 Lnet/minecraft/class_2268;field_10713:D
        named y Lnet/minecraft/command/argument/LookingPosArgument;y:D
      • z

        private final double z
        Mappings:
        Namespace Name Mixin selector
        official d Les;d:D
        intermediary field_10712 Lnet/minecraft/class_2268;field_10712:D
        named z Lnet/minecraft/command/argument/LookingPosArgument;z:D
    • 构造器详细资料

      • LookingPosArgument

        public LookingPosArgument​(double x,
                                  double y,
                                  double z)
        Mappings:
        Namespace Name Mixin selector
        official <init> Les;<init>(DDD)V
        intermediary <init> Lnet/minecraft/class_2268;<init>(DDD)V
        named <init> Lnet/minecraft/command/argument/LookingPosArgument;<init>(DDD)V
    • 方法详细资料

      • toAbsolutePos

        public Vec3d toAbsolutePos​(ServerCommandSource source)
        指定者:
        toAbsolutePos 在接口中 PosArgument
        Mappings:
        Namespace Name Mixin selector
        official a Ler;a(Ldg;)Ldma;
        intermediary method_9708 Lnet/minecraft/class_2267;method_9708(Lnet/minecraft/class_2168;)Lnet/minecraft/class_243;
        named toAbsolutePos Lnet/minecraft/command/argument/PosArgument;toAbsolutePos(Lnet/minecraft/server/command/ServerCommandSource;)Lnet/minecraft/util/math/Vec3d;
      • toAbsoluteRotation

        public Vec2f toAbsoluteRotation​(ServerCommandSource source)
        指定者:
        toAbsoluteRotation 在接口中 PosArgument
        Mappings:
        Namespace Name Mixin selector
        official b Ler;b(Ldg;)Ldlz;
        intermediary method_9709 Lnet/minecraft/class_2267;method_9709(Lnet/minecraft/class_2168;)Lnet/minecraft/class_241;
        named toAbsoluteRotation Lnet/minecraft/command/argument/PosArgument;toAbsoluteRotation(Lnet/minecraft/server/command/ServerCommandSource;)Lnet/minecraft/util/math/Vec2f;
      • isXRelative

        public boolean isXRelative()
        指定者:
        isXRelative 在接口中 PosArgument
        Mappings:
        Namespace Name Mixin selector
        official a Ler;a()Z
        intermediary method_9705 Lnet/minecraft/class_2267;method_9705()Z
        named isXRelative Lnet/minecraft/command/argument/PosArgument;isXRelative()Z
      • isYRelative

        public boolean isYRelative()
        指定者:
        isYRelative 在接口中 PosArgument
        Mappings:
        Namespace Name Mixin selector
        official b Ler;b()Z
        intermediary method_9706 Lnet/minecraft/class_2267;method_9706()Z
        named isYRelative Lnet/minecraft/command/argument/PosArgument;isYRelative()Z
      • isZRelative

        public boolean isZRelative()
        指定者:
        isZRelative 在接口中 PosArgument
        Mappings:
        Namespace Name Mixin selector
        official c Ler;c()Z
        intermediary method_9707 Lnet/minecraft/class_2267;method_9707()Z
        named isZRelative Lnet/minecraft/command/argument/PosArgument;isZRelative()Z
      • parse

        public static LookingPosArgument parse​(com.mojang.brigadier.StringReader reader)
                                        throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Les;a(Lcom/mojang/brigadier/StringReader;)Les;
        intermediary method_9711 Lnet/minecraft/class_2268;method_9711(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2268;
        named parse Lnet/minecraft/command/argument/LookingPosArgument;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/LookingPosArgument;
      • readCoordinate

        private static double readCoordinate​(com.mojang.brigadier.StringReader reader,
                                             int startingCursorPos)
                                      throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Les;a(Lcom/mojang/brigadier/StringReader;I)D
        intermediary method_9710 Lnet/minecraft/class_2268;method_9710(Lcom/mojang/brigadier/StringReader;I)D
        named readCoordinate Lnet/minecraft/command/argument/LookingPosArgument;readCoordinate(Lcom/mojang/brigadier/StringReader;I)D
      • equals

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

        public int hashCode()
        覆盖:
        hashCode 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official hashCode Les;hashCode()I
        intermediary hashCode Lnet/minecraft/class_2268;hashCode()I
        named hashCode Lnet/minecraft/command/argument/LookingPosArgument;hashCode()I