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, waitgetBlockPospublic LocationInput(LocationPart x, LocationPart y, LocationPart z)
public Vec3d getPosition(CommandSource p_197281_1_)
getPosition in interface ILocationArgumentpublic Vec2f getRotation(CommandSource p_197282_1_)
getRotation in interface ILocationArgumentpublic boolean isXRelative()
isXRelative in interface ILocationArgumentpublic boolean isYRelative()
isYRelative in interface ILocationArgumentpublic boolean isZRelative()
isZRelative in interface ILocationArgumentpublic boolean equals(java.lang.Object p_equals_1_)
equals in class java.lang.Objectpublic static LocationInput func_200148_a(com.mojang.brigadier.StringReader p_200148_0_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionpublic 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.CommandSyntaxExceptionpublic static LocationInput func_200383_d()
public int hashCode()
hashCode in class java.lang.Object