Package net.minecraft.command.argument
Class DefaultPosArgument
java.lang.Object
net.minecraft.command.argument.DefaultPosArgument
- All Implemented Interfaces:
PosArgument
- Mappings:
Namespace Name named net/minecraft/command/argument/DefaultPosArgument
intermediary net/minecraft/class_2280
official hb
-
Field Summary
Modifier and TypeFieldDescriptionprivate final CoordinateArgument
private final CoordinateArgument
private final CoordinateArgument
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultPosArgument
absolute
(double x, double y, double z) static DefaultPosArgument
boolean
getPos
(ServerCommandSource source) getRotation
(ServerCommandSource source) int
hashCode()
boolean
boolean
boolean
static DefaultPosArgument
parse
(com.mojang.brigadier.StringReader reader) static DefaultPosArgument
parse
(com.mojang.brigadier.StringReader reader, boolean centerIntegers) 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 named x
Lnet/minecraft/command/argument/DefaultPosArgument;x:Lnet/minecraft/command/argument/CoordinateArgument;
intermediary field_10765
Lnet/minecraft/class_2280;field_10765:Lnet/minecraft/class_2278;
official a
Lhb;a:Lha;
-
y
- Mappings:
Namespace Name Mixin selector named y
Lnet/minecraft/command/argument/DefaultPosArgument;y:Lnet/minecraft/command/argument/CoordinateArgument;
intermediary field_10764
Lnet/minecraft/class_2280;field_10764:Lnet/minecraft/class_2278;
official b
Lhb;b:Lha;
-
z
- Mappings:
Namespace Name Mixin selector named z
Lnet/minecraft/command/argument/DefaultPosArgument;z:Lnet/minecraft/command/argument/CoordinateArgument;
intermediary field_10766
Lnet/minecraft/class_2280;field_10766:Lnet/minecraft/class_2278;
official c
Lhb;c:Lha;
-
-
Constructor Details
-
DefaultPosArgument
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/command/argument/DefaultPosArgument;<init>(Lnet/minecraft/command/argument/CoordinateArgument;Lnet/minecraft/command/argument/CoordinateArgument;Lnet/minecraft/command/argument/CoordinateArgument;)V
intermediary <init>
Lnet/minecraft/class_2280;<init>(Lnet/minecraft/class_2278;Lnet/minecraft/class_2278;Lnet/minecraft/class_2278;)V
official <init>
Lhb;<init>(Lha;Lha;Lha;)V
-
-
Method Details
-
getPos
- Specified by:
getPos
in interfacePosArgument
- Mappings:
Namespace Name Mixin selector named getPos
Lnet/minecraft/command/argument/PosArgument;getPos(Lnet/minecraft/server/command/ServerCommandSource;)Lnet/minecraft/util/math/Vec3d;
intermediary method_9708
Lnet/minecraft/class_2267;method_9708(Lnet/minecraft/class_2168;)Lnet/minecraft/class_243;
official a
Lgu;a(Lew;)Lfbx;
-
getRotation
- Specified by:
getRotation
in interfacePosArgument
- Mappings:
Namespace Name Mixin selector named getRotation
Lnet/minecraft/command/argument/PosArgument;getRotation(Lnet/minecraft/server/command/ServerCommandSource;)Lnet/minecraft/util/math/Vec2f;
intermediary method_9709
Lnet/minecraft/class_2267;method_9709(Lnet/minecraft/class_2168;)Lnet/minecraft/class_241;
official b
Lgu;b(Lew;)Lfbw;
-
isXRelative
public boolean isXRelative()- Specified by:
isXRelative
in interfacePosArgument
- Mappings:
Namespace Name Mixin selector named isXRelative
Lnet/minecraft/command/argument/PosArgument;isXRelative()Z
intermediary method_9705
Lnet/minecraft/class_2267;method_9705()Z
official a
Lgu;a()Z
-
isYRelative
public boolean isYRelative()- Specified by:
isYRelative
in interfacePosArgument
- Mappings:
Namespace Name Mixin selector named isYRelative
Lnet/minecraft/command/argument/PosArgument;isYRelative()Z
intermediary method_9706
Lnet/minecraft/class_2267;method_9706()Z
official b
Lgu;b()Z
-
isZRelative
public boolean isZRelative()- Specified by:
isZRelative
in interfacePosArgument
- Mappings:
Namespace Name Mixin selector named isZRelative
Lnet/minecraft/command/argument/PosArgument;isZRelative()Z
intermediary method_9707
Lnet/minecraft/class_2267;method_9707()Z
official c
Lgu;c()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 named parse
Lnet/minecraft/command/argument/DefaultPosArgument;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/DefaultPosArgument;
intermediary method_9749
Lnet/minecraft/class_2280;method_9749(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2280;
official a
Lhb;a(Lcom/mojang/brigadier/StringReader;)Lhb;
-
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 named parse
Lnet/minecraft/command/argument/DefaultPosArgument;parse(Lcom/mojang/brigadier/StringReader;Z)Lnet/minecraft/command/argument/DefaultPosArgument;
intermediary method_9750
Lnet/minecraft/class_2280;method_9750(Lcom/mojang/brigadier/StringReader;Z)Lnet/minecraft/class_2280;
official a
Lhb;a(Lcom/mojang/brigadier/StringReader;Z)Lhb;
-
absolute
- Mappings:
Namespace Name Mixin selector named absolute
Lnet/minecraft/command/argument/DefaultPosArgument;absolute(DDD)Lnet/minecraft/command/argument/DefaultPosArgument;
intermediary method_35810
Lnet/minecraft/class_2280;method_35810(DDD)Lnet/minecraft/class_2280;
official a
Lhb;a(DDD)Lhb;
-
absolute
- Mappings:
Namespace Name Mixin selector named absolute
Lnet/minecraft/command/argument/DefaultPosArgument;absolute(Lnet/minecraft/util/math/Vec2f;)Lnet/minecraft/command/argument/DefaultPosArgument;
intermediary method_35811
Lnet/minecraft/class_2280;method_35811(Lnet/minecraft/class_241;)Lnet/minecraft/class_2280;
official a
Lhb;a(Lfbw;)Lhb;
-
hashCode
public int hashCode()
-