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.world.phys.Vec3getPosition(S source) <S> net.minecraft.world.phys.Vec2getRotation(S source) inthashCode()booleanbooleanbooleanparse(com.mojang.brigadier.StringReader reader) Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BlockPosArgumentType.PosArgument
getBlockPos
-
Constructor Details
-
LookingPosArgument
public LookingPosArgument(double x, double y, double z)
-
-
Method Details
-
getPosition
public <S> net.minecraft.world.phys.Vec3 getPosition(S source) - Specified by:
getPositionin interfaceBlockPosArgumentType.PosArgument
-
getRotation
public <S> net.minecraft.world.phys.Vec2 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
-