public class BlockObject
extends java.lang.Object
Constructor and Description |
---|
BlockObject(int typeId) |
BlockObject(int typeId,
byte data) |
BlockObject(int typeId,
byte data,
org.bukkit.Location loc) |
BlockObject(int typeId,
org.bukkit.Location loc) |
Modifier and Type | Method and Description |
---|---|
byte |
getData() |
BlockLocation |
getLocation() |
int |
getTypeId() |
void |
setData(byte data) |
void |
setLocation(org.bukkit.Location loc) |
void |
setTypeId(int typeId) |
void |
setTypeIdAndData(int typeId,
byte data) |
public BlockObject(int typeId)
public BlockObject(int typeId, org.bukkit.Location loc)
public BlockObject(int typeId, byte data)
public BlockObject(int typeId, byte data, org.bukkit.Location loc)
public int getTypeId()
public void setTypeId(int typeId)
typeId
- the id to setpublic byte getData()
public void setData(byte data)
data
- the data to setpublic BlockLocation getLocation()
public void setLocation(org.bukkit.Location loc)
loc
- the location to setpublic void setTypeIdAndData(int typeId, byte data)
typeId
- the typeId to set