Class DefaultPosArgument

java.lang.Object
net.minecraft.command.argument.DefaultPosArgument
All Implemented Interfaces:
PosArgument

public class DefaultPosArgument extends Object implements PosArgument
Mappings:
Namespace Name
official fq
intermediary net/minecraft/class_2280
named net/minecraft/command/argument/DefaultPosArgument
  • Field Details

    • x

      private final CoordinateArgument x
      Mappings:
      Namespace Name Mixin selector
      official a Lfq;a:Lfp;
      intermediary field_10765 Lnet/minecraft/class_2280;field_10765:Lnet/minecraft/class_2278;
      named x Lnet/minecraft/command/argument/DefaultPosArgument;x:Lnet/minecraft/command/argument/CoordinateArgument;
    • y

      private final CoordinateArgument y
      Mappings:
      Namespace Name Mixin selector
      official b Lfq;b:Lfp;
      intermediary field_10764 Lnet/minecraft/class_2280;field_10764:Lnet/minecraft/class_2278;
      named y Lnet/minecraft/command/argument/DefaultPosArgument;y:Lnet/minecraft/command/argument/CoordinateArgument;
    • z

      private final CoordinateArgument z
      Mappings:
      Namespace Name Mixin selector
      official c Lfq;c:Lfp;
      intermediary field_10766 Lnet/minecraft/class_2280;field_10766:Lnet/minecraft/class_2278;
      named z Lnet/minecraft/command/argument/DefaultPosArgument;z:Lnet/minecraft/command/argument/CoordinateArgument;
  • Constructor Details

    • DefaultPosArgument

      public DefaultPosArgument(CoordinateArgument x, CoordinateArgument y, CoordinateArgument z)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfq;<init>(Lfp;Lfp;Lfp;)V
      intermediary <init> Lnet/minecraft/class_2280;<init>(Lnet/minecraft/class_2278;Lnet/minecraft/class_2278;Lnet/minecraft/class_2278;)V
      named <init> Lnet/minecraft/command/argument/DefaultPosArgument;<init>(Lnet/minecraft/command/argument/CoordinateArgument;Lnet/minecraft/command/argument/CoordinateArgument;Lnet/minecraft/command/argument/CoordinateArgument;)V
  • Method Details

    • toAbsolutePos

      public Vec3d toAbsolutePos(ServerCommandSource source)
      Specified by:
      toAbsolutePos in interface PosArgument
      Mappings:
      Namespace Name Mixin selector
      official a Lfj;a(Ldr;)Ldvt;
      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)
      Specified by:
      toAbsoluteRotation in interface PosArgument
      Mappings:
      Namespace Name Mixin selector
      official b Lfj;b(Ldr;)Ldvs;
      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()
      Specified by:
      isXRelative in interface PosArgument
      Mappings:
      Namespace Name Mixin selector
      official a Lfj;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()
      Specified by:
      isYRelative in interface PosArgument
      Mappings:
      Namespace Name Mixin selector
      official b Lfj;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()
      Specified by:
      isZRelative in interface PosArgument
      Mappings:
      Namespace Name Mixin selector
      official c Lfj;c()Z
      intermediary method_9707 Lnet/minecraft/class_2267;method_9707()Z
      named isZRelative Lnet/minecraft/command/argument/PosArgument;isZRelative()Z
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Lfq;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_2280;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/command/argument/DefaultPosArgument;equals(Ljava/lang/Object;)Z
    • parse

      public static DefaultPosArgument parse(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lfq;a(Lcom/mojang/brigadier/StringReader;)Lfq;
      intermediary method_9749 Lnet/minecraft/class_2280;method_9749(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2280;
      named parse Lnet/minecraft/command/argument/DefaultPosArgument;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/DefaultPosArgument;
    • parse

      public static DefaultPosArgument parse(com.mojang.brigadier.StringReader reader, boolean centerIntegers) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lfq;a(Lcom/mojang/brigadier/StringReader;Z)Lfq;
      intermediary method_9750 Lnet/minecraft/class_2280;method_9750(Lcom/mojang/brigadier/StringReader;Z)Lnet/minecraft/class_2280;
      named parse Lnet/minecraft/command/argument/DefaultPosArgument;parse(Lcom/mojang/brigadier/StringReader;Z)Lnet/minecraft/command/argument/DefaultPosArgument;
    • absolute

      public static DefaultPosArgument absolute(double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Lfq;a(DDD)Lfq;
      intermediary method_35810 Lnet/minecraft/class_2280;method_35810(DDD)Lnet/minecraft/class_2280;
      named absolute Lnet/minecraft/command/argument/DefaultPosArgument;absolute(DDD)Lnet/minecraft/command/argument/DefaultPosArgument;
    • absolute

      public static DefaultPosArgument absolute(Vec2f vec)
      Mappings:
      Namespace Name Mixin selector
      official a Lfq;a(Ldvs;)Lfq;
      intermediary method_35811 Lnet/minecraft/class_2280;method_35811(Lnet/minecraft/class_241;)Lnet/minecraft/class_2280;
      named absolute Lnet/minecraft/command/argument/DefaultPosArgument;absolute(Lnet/minecraft/util/math/Vec2f;)Lnet/minecraft/command/argument/DefaultPosArgument;
    • zero

      public static DefaultPosArgument zero()
      Mappings:
      Namespace Name Mixin selector
      official d Lfq;d()Lfq;
      intermediary method_9751 Lnet/minecraft/class_2280;method_9751()Lnet/minecraft/class_2280;
      named zero Lnet/minecraft/command/argument/DefaultPosArgument;zero()Lnet/minecraft/command/argument/DefaultPosArgument;
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object