Package net.minecraft.command.argument
Class LookingPosArgument
java.lang.Object
net.minecraft.command.argument.LookingPosArgument
- All Implemented Interfaces:
PosArgument
- Mappings:
Namespace Name official ex
intermediary net/minecraft/class_2268
named net/minecraft/command/argument/LookingPosArgument
-
Field Summary
Modifier and TypeFieldDescriptionstatic final char
private final double
private final double
private final double
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
boolean
boolean
static LookingPosArgument
parse
(com.mojang.brigadier.StringReader reader) private static double
readCoordinate
(com.mojang.brigadier.StringReader reader, int startingCursorPos) toAbsolutePos
(ServerCommandSource source) 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
-
field_32941
public static final char field_32941- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lex;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
Lex;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
Lex;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
Lex;d:D
intermediary field_10712
Lnet/minecraft/class_2268;field_10712:D
named z
Lnet/minecraft/command/argument/LookingPosArgument;z:D
-
-
Constructor Details
-
LookingPosArgument
public LookingPosArgument(double x, double y, double z) - Mappings:
Namespace Name Mixin selector official <init>
Lex;<init>(DDD)V
intermediary <init>
Lnet/minecraft/class_2268;<init>(DDD)V
named <init>
Lnet/minecraft/command/argument/LookingPosArgument;<init>(DDD)V
-
-
Method Details
-
toAbsolutePos
- Specified by:
toAbsolutePos
in interfacePosArgument
- Mappings:
Namespace Name Mixin selector official a
Lew;a(Ldl;)Ldna;
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
Lew;b(Ldl;)Ldmz;
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
Lew;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
Lew;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
Lew;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 - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lex;a(Lcom/mojang/brigadier/StringReader;)Lex;
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 - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lex;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
-
hashCode
public int hashCode()
-