public class LocationInput extends java.lang.Object implements ILocationArgument
コンストラクタと説明 |
---|
LocationInput(LocationPart x,
LocationPart y,
LocationPart z) |
修飾子とタイプ | メソッドと説明 |
---|---|
static LocationInput |
current()
A location with a delta of 0 for all values (equivalent to
~ ~ ~ or ~0 ~0 ~0 ) |
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 LocationInput |
parseDouble(com.mojang.brigadier.StringReader reader,
boolean centerIntegers) |
static LocationInput |
parseInt(com.mojang.brigadier.StringReader reader) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getBlockPos
public LocationInput(LocationPart x, LocationPart y, LocationPart z)
public Vec3d getPosition(CommandSource source)
getPosition
インタフェース内 ILocationArgument
public Vec2f getRotation(CommandSource source)
getRotation
インタフェース内 ILocationArgument
public boolean isXRelative()
isXRelative
インタフェース内 ILocationArgument
public boolean isYRelative()
isYRelative
インタフェース内 ILocationArgument
public boolean isZRelative()
isZRelative
インタフェース内 ILocationArgument
public boolean equals(java.lang.Object p_equals_1_)
equals
クラス内 java.lang.Object
public static LocationInput parseInt(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
public static LocationInput parseDouble(com.mojang.brigadier.StringReader reader, boolean centerIntegers) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
public static LocationInput current()
~ ~ ~
or ~0 ~0 ~0
)public int hashCode()
hashCode
クラス内 java.lang.Object