Package net.minecraft.command.argument
Class LookingPosArgument
java.lang.Object
net.minecraft.command.argument.LookingPosArgument
- All Implemented Interfaces:
PosArgument
- Mappings:
Namespace Name official flintermediary net/minecraft/class_2268named net/minecraft/command/argument/LookingPosArgument
-
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) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.command.argument.PosArgument
toAbsoluteBlockPos
-
Field Details
-
CARET
public static final char CARET- See Also:
- Mappings:
Namespace Name Mixin selector official aLfl;a:Cintermediary field_32941Lnet/minecraft/class_2268;field_32941:Cnamed CARETLnet/minecraft/command/argument/LookingPosArgument;CARET:C
-
x
private final double x- Mappings:
Namespace Name Mixin selector official bLfl;b:Dintermediary field_10714Lnet/minecraft/class_2268;field_10714:Dnamed xLnet/minecraft/command/argument/LookingPosArgument;x:D
-
y
private final double y- Mappings:
Namespace Name Mixin selector official cLfl;c:Dintermediary field_10713Lnet/minecraft/class_2268;field_10713:Dnamed yLnet/minecraft/command/argument/LookingPosArgument;y:D
-
z
private final double z- Mappings:
Namespace Name Mixin selector official dLfl;d:Dintermediary field_10712Lnet/minecraft/class_2268;field_10712:Dnamed zLnet/minecraft/command/argument/LookingPosArgument;z:D
-
-
Constructor Details
-
LookingPosArgument
public LookingPosArgument(double x, double y, double z) - Mappings:
Namespace Name Mixin selector official <init>Lfl;<init>(DDD)Vintermediary <init>Lnet/minecraft/class_2268;<init>(DDD)Vnamed <init>Lnet/minecraft/command/argument/LookingPosArgument;<init>(DDD)V
-
-
Method Details
-
toAbsolutePos
- Specified by:
toAbsolutePosin interfacePosArgument- Mappings:
Namespace Name Mixin selector official aLfk;a(Lds;)Leea;intermediary method_9708Lnet/minecraft/class_2267;method_9708(Lnet/minecraft/class_2168;)Lnet/minecraft/class_243;named toAbsolutePosLnet/minecraft/command/argument/PosArgument;toAbsolutePos(Lnet/minecraft/server/command/ServerCommandSource;)Lnet/minecraft/util/math/Vec3d;
-
toAbsoluteRotation
- Specified by:
toAbsoluteRotationin interfacePosArgument- Mappings:
Namespace Name Mixin selector official bLfk;b(Lds;)Ledz;intermediary method_9709Lnet/minecraft/class_2267;method_9709(Lnet/minecraft/class_2168;)Lnet/minecraft/class_241;named toAbsoluteRotationLnet/minecraft/command/argument/PosArgument;toAbsoluteRotation(Lnet/minecraft/server/command/ServerCommandSource;)Lnet/minecraft/util/math/Vec2f;
-
isXRelative
public boolean isXRelative()- Specified by:
isXRelativein interfacePosArgument- Mappings:
Namespace Name Mixin selector official aLfk;a()Zintermediary method_9705Lnet/minecraft/class_2267;method_9705()Znamed isXRelativeLnet/minecraft/command/argument/PosArgument;isXRelative()Z
-
isYRelative
public boolean isYRelative()- Specified by:
isYRelativein interfacePosArgument- Mappings:
Namespace Name Mixin selector official bLfk;b()Zintermediary method_9706Lnet/minecraft/class_2267;method_9706()Znamed isYRelativeLnet/minecraft/command/argument/PosArgument;isYRelative()Z
-
isZRelative
public boolean isZRelative()- Specified by:
isZRelativein interfacePosArgument- Mappings:
Namespace Name Mixin selector official cLfk;c()Zintermediary method_9707Lnet/minecraft/class_2267;method_9707()Znamed isZRelativeLnet/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 aLfl;a(Lcom/mojang/brigadier/StringReader;)Lfl;intermediary method_9711Lnet/minecraft/class_2268;method_9711(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2268;named parseLnet/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 aLfl;a(Lcom/mojang/brigadier/StringReader;I)Dintermediary method_9710Lnet/minecraft/class_2268;method_9710(Lcom/mojang/brigadier/StringReader;I)Dnamed readCoordinateLnet/minecraft/command/argument/LookingPosArgument;readCoordinate(Lcom/mojang/brigadier/StringReader;I)D
-
equals
-
hashCode
public int hashCode()
-