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/LookingPosArgumentintermediary net/minecraft/class_2268official gu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanbooleanbooleanstatic LookingPosArgumentparse(com.mojang.brigadier.StringReader reader) private static doublereadCoordinate(com.mojang.brigadier.StringReader reader, int startingCursorPos) toAbsolutePos(ServerCommandSource source, boolean bool) toAbsoluteRotation(ServerCommandSource source, boolean bool) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.command.argument.PosArgument
method_64085, method_64086, toAbsoluteBlockPos
-
Field Details
-
CARET
public static final char CARET- See Also:
- Mappings:
Namespace Name Mixin selector named CARETLnet/minecraft/command/argument/LookingPosArgument;CARET:Cintermediary field_32941Lnet/minecraft/class_2268;field_32941:Cofficial aLgu;a:C
-
x
private final double x- Mappings:
Namespace Name Mixin selector named xLnet/minecraft/command/argument/LookingPosArgument;x:Dintermediary field_10714Lnet/minecraft/class_2268;field_10714:Dofficial bLgu;b:D
-
y
private final double y- Mappings:
Namespace Name Mixin selector named yLnet/minecraft/command/argument/LookingPosArgument;y:Dintermediary field_10713Lnet/minecraft/class_2268;field_10713:Dofficial cLgu;c:D
-
z
private final double z- Mappings:
Namespace Name Mixin selector named zLnet/minecraft/command/argument/LookingPosArgument;z:Dintermediary field_10712Lnet/minecraft/class_2268;field_10712:Dofficial dLgu;d:D
-
-
Constructor Details
-
LookingPosArgument
public LookingPosArgument(double x, double y, double z) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/command/argument/LookingPosArgument;<init>(DDD)Vintermediary <init>Lnet/minecraft/class_2268;<init>(DDD)Vofficial <init>Lgu;<init>(DDD)V
-
-
Method Details
-
toAbsolutePos
- Specified by:
toAbsolutePosin interfacePosArgument- Mappings:
Namespace Name Mixin selector named toAbsolutePosLnet/minecraft/command/argument/PosArgument;toAbsolutePos(Lnet/minecraft/server/command/ServerCommandSource;Z)Lnet/minecraft/util/math/Vec3d;intermediary method_9708Lnet/minecraft/class_2267;method_9708(Lnet/minecraft/class_2168;Z)Lnet/minecraft/class_243;official aLgt;a(Lev;Z)Lezh;
-
toAbsoluteRotation
- Specified by:
toAbsoluteRotationin interfacePosArgument- Mappings:
Namespace Name Mixin selector named toAbsoluteRotationLnet/minecraft/command/argument/PosArgument;toAbsoluteRotation(Lnet/minecraft/server/command/ServerCommandSource;Z)Lnet/minecraft/util/math/Vec2f;intermediary method_9709Lnet/minecraft/class_2267;method_9709(Lnet/minecraft/class_2168;Z)Lnet/minecraft/class_241;official bLgt;b(Lev;Z)Lezg;
-
isXRelative
public boolean isXRelative()- Specified by:
isXRelativein interfacePosArgument- Mappings:
Namespace Name Mixin selector named isXRelativeLnet/minecraft/command/argument/PosArgument;isXRelative()Zintermediary method_9705Lnet/minecraft/class_2267;method_9705()Zofficial aLgt;a()Z
-
isYRelative
public boolean isYRelative()- Specified by:
isYRelativein interfacePosArgument- Mappings:
Namespace Name Mixin selector named isYRelativeLnet/minecraft/command/argument/PosArgument;isYRelative()Zintermediary method_9706Lnet/minecraft/class_2267;method_9706()Zofficial bLgt;b()Z
-
isZRelative
public boolean isZRelative()- Specified by:
isZRelativein interfacePosArgument- Mappings:
Namespace Name Mixin selector named isZRelativeLnet/minecraft/command/argument/PosArgument;isZRelative()Zintermediary method_9707Lnet/minecraft/class_2267;method_9707()Zofficial cLgt;c()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 named parseLnet/minecraft/command/argument/LookingPosArgument;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/LookingPosArgument;intermediary method_9711Lnet/minecraft/class_2268;method_9711(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2268;official aLgu;a(Lcom/mojang/brigadier/StringReader;)Lgu;
-
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 named readCoordinateLnet/minecraft/command/argument/LookingPosArgument;readCoordinate(Lcom/mojang/brigadier/StringReader;I)Dintermediary method_9710Lnet/minecraft/class_2268;method_9710(Lcom/mojang/brigadier/StringReader;I)Dofficial aLgu;a(Lcom/mojang/brigadier/StringReader;I)D
-
equals
-
hashCode
public int hashCode()
-