public class LocalLocationArgument extends java.lang.Object implements ILocationArgument
| Constructor and Description |
|---|
LocalLocationArgument(double leftIn,
double upIn,
double forwardsIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object p_equals_1_) |
Vec3d |
getPosition(CommandSource source) |
Vec2f |
getRotation(CommandSource source) |
int |
hashCode() |
boolean |
isXRelative() |
boolean |
isYRelative() |
boolean |
isZRelative() |
static LocalLocationArgument |
parse(com.mojang.brigadier.StringReader reader) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetBlockPospublic LocalLocationArgument(double leftIn,
double upIn,
double forwardsIn)
public Vec3d getPosition(CommandSource source)
getPosition in interface ILocationArgumentpublic Vec2f getRotation(CommandSource source)
getRotation in interface ILocationArgumentpublic boolean isXRelative()
isXRelative in interface ILocationArgumentpublic boolean isYRelative()
isYRelative in interface ILocationArgumentpublic boolean isZRelative()
isZRelative in interface ILocationArgumentpublic static LocalLocationArgument parse(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionpublic boolean equals(java.lang.Object p_equals_1_)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object