public class LocationInput extends java.lang.Object implements ILocationArgument
Constructor and Description |
---|
LocationInput(LocationPart x,
LocationPart y,
LocationPart z) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object p_equals_1_) |
static LocationInput |
func_200147_a(com.mojang.brigadier.StringReader p_200147_0_,
boolean p_200147_1_) |
static LocationInput |
func_200148_a(com.mojang.brigadier.StringReader p_200148_0_) |
static LocationInput |
func_200383_d() |
Vec3d |
getPosition(CommandSource p_197281_1_) |
Vec2f |
getRotation(CommandSource p_197282_1_) |
int |
hashCode() |
boolean |
isXRelative() |
boolean |
isYRelative() |
boolean |
isZRelative() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getBlockPos
public LocationInput(LocationPart x, LocationPart y, LocationPart z)
public Vec3d getPosition(CommandSource p_197281_1_)
getPosition
in interface ILocationArgument
public Vec2f getRotation(CommandSource p_197282_1_)
getRotation
in interface ILocationArgument
public boolean isXRelative()
isXRelative
in interface ILocationArgument
public boolean isYRelative()
isYRelative
in interface ILocationArgument
public boolean isZRelative()
isZRelative
in interface ILocationArgument
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public static LocationInput func_200148_a(com.mojang.brigadier.StringReader p_200148_0_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
public static LocationInput func_200147_a(com.mojang.brigadier.StringReader p_200147_0_, boolean p_200147_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
public static LocationInput func_200383_d()
public int hashCode()
hashCode
in class java.lang.Object