Package net.minecraft.command.argument
Class LookingPosArgument
java.lang.Object
net.minecraft.command.argument.LookingPosArgument
- All Implemented Interfaces:
- PosArgument
- Mappings:
- Namespace - Name - named - net/minecraft/command/argument/LookingPosArgument- intermediary - net/minecraft/class_2268- official - gw
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleangetPos(ServerCommandSource source) getRotation(ServerCommandSource source) inthashCode()booleanbooleanbooleanstatic LookingPosArgumentparse(com.mojang.brigadier.StringReader reader) private static doublereadCoordinate(com.mojang.brigadier.StringReader reader, int startingCursorPos) Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.command.argument.PosArgumenttoAbsoluteBlockPos
- 
Field Details- 
CARETpublic static final char CARET- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - CARET- Lnet/minecraft/command/argument/LookingPosArgument;CARET:C- intermediary - field_32941- Lnet/minecraft/class_2268;field_32941:C- official - a- Lgw;a:C
 
- 
xprivate final double x- Mappings:
- Namespace - Name - Mixin selector - named - x- Lnet/minecraft/command/argument/LookingPosArgument;x:D- intermediary - field_10714- Lnet/minecraft/class_2268;field_10714:D- official - b- Lgw;b:D
 
- 
yprivate final double y- Mappings:
- Namespace - Name - Mixin selector - named - y- Lnet/minecraft/command/argument/LookingPosArgument;y:D- intermediary - field_10713- Lnet/minecraft/class_2268;field_10713:D- official - c- Lgw;c:D
 
- 
zprivate final double z- Mappings:
- Namespace - Name - Mixin selector - named - z- Lnet/minecraft/command/argument/LookingPosArgument;z:D- intermediary - field_10712- Lnet/minecraft/class_2268;field_10712:D- official - d- Lgw;d:D
 
 
- 
- 
Constructor Details- 
LookingPosArgumentpublic LookingPosArgument(double x, double y, double z) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/command/argument/LookingPosArgument;<init>(DDD)V- intermediary - <init>- Lnet/minecraft/class_2268;<init>(DDD)V- official - <init>- Lgw;<init>(DDD)V
 
 
- 
- 
Method Details- 
getPos- Specified by:
- getPosin interface- PosArgument
- 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- Lgv;a(Lex;)Lfbb;
 
- 
getRotation- Specified by:
- getRotationin interface- PosArgument
- 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- Lgv;b(Lex;)Lfba;
 
- 
isXRelativepublic boolean isXRelative()- Specified by:
- isXRelativein interface- PosArgument
- 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- Lgv;a()Z
 
- 
isYRelativepublic boolean isYRelative()- Specified by:
- isYRelativein interface- PosArgument
- 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- Lgv;b()Z
 
- 
isZRelativepublic boolean isZRelative()- Specified by:
- isZRelativein interface- PosArgument
- 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- Lgv;c()Z
 
- 
parsepublic 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 - named - parse- Lnet/minecraft/command/argument/LookingPosArgument;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/LookingPosArgument;- intermediary - method_9711- Lnet/minecraft/class_2268;method_9711(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2268;- official - a- Lgw;a(Lcom/mojang/brigadier/StringReader;)Lgw;
 
- 
readCoordinateprivate 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 - named - readCoordinate- Lnet/minecraft/command/argument/LookingPosArgument;readCoordinate(Lcom/mojang/brigadier/StringReader;I)D- intermediary - method_9710- Lnet/minecraft/class_2268;method_9710(Lcom/mojang/brigadier/StringReader;I)D- official - a- Lgw;a(Lcom/mojang/brigadier/StringReader;I)D
 
- 
equals
- 
hashCodepublic int hashCode()
 
-