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, waitgetBlockPospublic LocationInput(LocationPart x, LocationPart y, LocationPart z)
public Vec3d getPosition(CommandSource source)
getPosition インタフェース内 ILocationArgumentpublic Vec2f getRotation(CommandSource source)
getRotation インタフェース内 ILocationArgumentpublic boolean isXRelative()
isXRelative インタフェース内 ILocationArgumentpublic boolean isYRelative()
isYRelative インタフェース内 ILocationArgumentpublic boolean isZRelative()
isZRelative インタフェース内 ILocationArgumentpublic boolean equals(java.lang.Object p_equals_1_)
equals クラス内 java.lang.Objectpublic static LocationInput parseInt(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionpublic static LocationInput parseDouble(com.mojang.brigadier.StringReader reader, boolean centerIntegers) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionpublic static LocationInput current()
~ ~ ~ or ~0 ~0 ~0)public int hashCode()
hashCode クラス内 java.lang.Object