Class BlockPosArgumentType.LookingPosArgument
java.lang.Object
meteordevelopment.meteorclient.commands.arguments.BlockPosArgumentType.LookingPosArgument
- All Implemented Interfaces:
BlockPosArgumentType.PosArgument
- Enclosing class:
BlockPosArgumentType
public static class BlockPosArgumentType.LookingPosArgument
extends Object
implements BlockPosArgumentType.PosArgument
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean<S> net.minecraft.util.math.Vec3dgetPosition(S source) <S> net.minecraft.util.math.Vec2fgetRotation(S source) inthashCode()booleanbooleanbooleanparse(com.mojang.brigadier.StringReader reader) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface meteordevelopment.meteorclient.commands.arguments.BlockPosArgumentType.PosArgument
getBlockPos
-
Constructor Details
-
LookingPosArgument
public LookingPosArgument(double x, double y, double z)
-
-
Method Details
-
getPosition
public <S> net.minecraft.util.math.Vec3d getPosition(S source) - Specified by:
getPositionin interfaceBlockPosArgumentType.PosArgument
-
getRotation
public <S> net.minecraft.util.math.Vec2f getRotation(S source) - Specified by:
getRotationin interfaceBlockPosArgumentType.PosArgument
-
isXRelative
public boolean isXRelative()- Specified by:
isXRelativein interfaceBlockPosArgumentType.PosArgument
-
isYRelative
public boolean isYRelative()- Specified by:
isYRelativein interfaceBlockPosArgumentType.PosArgument
-
isZRelative
public boolean isZRelative()- Specified by:
isZRelativein interfaceBlockPosArgumentType.PosArgument
-
parse
public static BlockPosArgumentType.LookingPosArgument parse(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
equals
-
hashCode
public int hashCode()
-