Class BlockPosArgumentType.DefaultPosArgument
java.lang.Object
meteordevelopment.meteorclient.commands.arguments.BlockPosArgumentType.DefaultPosArgument
- All Implemented Interfaces:
BlockPosArgumentType.PosArgument
- Enclosing class:
BlockPosArgumentType
public static class BlockPosArgumentType.DefaultPosArgument
extends Object
implements BlockPosArgumentType.PosArgument
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultPosArgument(net.minecraft.commands.arguments.coordinates.WorldCoordinate x, net.minecraft.commands.arguments.coordinates.WorldCoordinate y, net.minecraft.commands.arguments.coordinates.WorldCoordinate z) -
Method Summary
Modifier and TypeMethodDescriptionabsolute(double x, double y, double z) absolute(net.minecraft.world.phys.Vec2 vec) current()boolean<S> net.minecraft.world.phys.Vec3getPosition(S source) <S> net.minecraft.world.phys.Vec2getRotation(S source) inthashCode()booleanbooleanbooleanparse(com.mojang.brigadier.StringReader reader) parse(com.mojang.brigadier.StringReader reader, boolean centerIntegers) Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BlockPosArgumentType.PosArgument
getBlockPos
-
Constructor Details
-
DefaultPosArgument
public DefaultPosArgument(net.minecraft.commands.arguments.coordinates.WorldCoordinate x, net.minecraft.commands.arguments.coordinates.WorldCoordinate y, net.minecraft.commands.arguments.coordinates.WorldCoordinate 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
-
equals
-
parse
public static BlockPosArgumentType.DefaultPosArgument parse(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
parse
public static BlockPosArgumentType.DefaultPosArgument parse(com.mojang.brigadier.StringReader reader, boolean centerIntegers) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
absolute
-
absolute
-
current
-
hashCode
-