public class Drop extends ProtocolZero
Modifier and Type | Field and Description |
---|---|
static int |
GOLD |
static int |
TREASURE |
formatted, paramscan, priority
Constructor and Description |
---|
Drop(int item,
int quantity,
double x,
double y,
double z) |
Modifier and Type | Method and Description |
---|---|
int |
getItem() |
double[] |
getLocation() |
int |
getQuantity() |
double |
getX() |
double |
getY() |
double |
getZ() |
void |
setData(java.lang.String params)
Sets command response data.
|
protected void |
setOp() |
getPriority, hasTerminated, pause, resume, run, setExecutor, terminate, update
addTerminationListener, compareTo, getDelay, getExitCode, getFrequency, getID, getOp, getPeriod, getRuntime, toDataString, toString, verifyClient, waitForTerminate, whatAmI
public static final int TREASURE
public static final int GOLD
public int getItem()
public int getQuantity()
public double getX()
public double getY()
public double getZ()
public double[] getLocation()
public void setData(java.lang.String params)
ProtocolZero
setData
in class ProtocolZero
params
- Data string. For all "data" messages it is identified by the form:
protected void setOp()
setOp
in class ProtocolZero