public class BlockLocation extends java.lang.Object implements WrappedData, ConfigSerialization.StringSerializable
| Modifier and Type | Field and Description |
|---|---|
static BlockLocation |
notDefined
|
int |
x
|
int |
y
|
int |
z
|
| Constructor and Description |
|---|
BlockLocation()
|
BlockLocation(org.bukkit.block.Block bl)
|
BlockLocation(int x,
int y,
int z)
|
BlockLocation(org.bukkit.Location loc)
|
BlockLocation(LocationData loc)
|
BlockLocation(java.lang.Object nmsData)
|
BlockLocation(java.lang.String in)
|
| Modifier and Type | Method and Description |
|---|---|
BlockLocation
|
add(BlockLocation bl)
|
BlockLocation
|
add(int x,
int y,
int z)
|
BlockLocation
|
add(org.bukkit.util.Vector v)
|
BlockLocation
|
clone()
|
boolean |
equals(java.lang.Object obj)
|
org.bukkit.block.Block |
getBlock(org.bukkit.World w)
|
org.bukkit.Location |
getLocation(org.bukkit.World w)
|
int |
hashCode()
|
boolean |
isDefined()
|
BlockLocation
|
subtract(BlockLocation bl)
|
BlockLocation
|
subtract(int x,
int y,
int z)
|
BlockLocation
|
subtract(org.bukkit.util.Vector v)
|
java.lang.Object |
toNMS()
|
java.lang.String |
toString()
|
public static final BlockLocation notDefined
public int x
public int y
public int z
public BlockLocation()
public BlockLocation(java.lang.String in)
public BlockLocation(org.bukkit.block.Block bl)
public BlockLocation(int x,
int y,
int z)
public BlockLocation(org.bukkit.Location loc)
public BlockLocation(LocationData loc)
public BlockLocation(java.lang.Object nmsData)
public BlockLocation add(BlockLocation bl)
public BlockLocation add(org.bukkit.util.Vector v)
public BlockLocation add(int x, int y, int z)
public org.bukkit.block.Block getBlock(org.bukkit.World w)
public org.bukkit.Location getLocation(org.bukkit.World w)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic BlockLocation clone()
clone in class java.lang.Objectpublic java.lang.String toString()
toString in
interface ConfigSerialization.StringSerializable
toString in class java.lang.Objectpublic boolean isDefined()
public BlockLocation subtract(org.bukkit.util.Vector v)
public BlockLocation subtract(BlockLocation bl)
public BlockLocation subtract(int x, int y, int z)
public java.lang.Object toNMS()
toNMS in
interface WrappedData