Package net.minecraft.command.argument
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 et
intermediary net/minecraft/class_2280
named net/minecraft/command/argument/DefaultPosArgument
-
Field Summary
Fields Modifier and Type Field Description private CoordinateArgument
x
private CoordinateArgument
y
private CoordinateArgument
z
-
Constructor Summary
Constructors Constructor Description DefaultPosArgument(CoordinateArgument x, CoordinateArgument y, CoordinateArgument z)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
boolean
isXRelative()
boolean
isYRelative()
boolean
isZRelative()
static DefaultPosArgument
parse(com.mojang.brigadier.StringReader reader)
static DefaultPosArgument
parse(com.mojang.brigadier.StringReader reader, boolean centerIntegers)
Vec3d
toAbsolutePos(ServerCommandSource source)
Vec2f
toAbsoluteRotation(ServerCommandSource source)
static DefaultPosArgument
zero()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.command.argument.PosArgument
toAbsoluteBlockPos
-
Field Details
-
x
- Mappings:
Namespace Name Mixin selector official a
Let;a:Les;
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
- Mappings:
Namespace Name Mixin selector official b
Let;b:Les;
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
- Mappings:
Namespace Name Mixin selector official c
Let;c:Les;
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
- Mappings:
Namespace Name Mixin selector official <init>
Let;<init>(Les;Les;Les;)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
- Specified by:
toAbsolutePos
in interfacePosArgument
- Mappings:
Namespace Name Mixin selector official a
Lem;a(Ldb;)Ldiu;
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
- Specified by:
toAbsoluteRotation
in interfacePosArgument
- Mappings:
Namespace Name Mixin selector official b
Lem;b(Ldb;)Ldit;
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 interfacePosArgument
- Mappings:
Namespace Name Mixin selector official a
Lem;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 interfacePosArgument
- Mappings:
Namespace Name Mixin selector official b
Lem;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 interfacePosArgument
- Mappings:
Namespace Name Mixin selector official c
Lem;c()Z
intermediary method_9707
Lnet/minecraft/class_2267;method_9707()Z
named isZRelative
Lnet/minecraft/command/argument/PosArgument;isZRelative()Z
-
equals
-
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
Let;a(Lcom/mojang/brigadier/StringReader;)Let;
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
Let;a(Lcom/mojang/brigadier/StringReader;Z)Let;
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;
-
zero
- Mappings:
Namespace Name Mixin selector official d
Let;d()Let;
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()
-