public class AnvilUpdateEvent extends Event
Event.HasResult, Event.Result
Constructor and Description |
---|
AnvilUpdateEvent(ItemStack left,
ItemStack right,
java.lang.String name,
int cost) |
Modifier and Type | Method and Description |
---|---|
int |
getCost() |
ItemStack |
getLeft() |
int |
getMaterialCost() |
java.lang.String |
getName() |
ItemStack |
getOutput() |
ItemStack |
getRight() |
void |
setCost(int cost) |
void |
setMaterialCost(int materialCost) |
void |
setOutput(ItemStack output) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public ItemStack getLeft()
public ItemStack getRight()
public java.lang.String getName()
public ItemStack getOutput()
public void setOutput(ItemStack output)
public int getCost()
public void setCost(int cost)
public int getMaterialCost()
public void setMaterialCost(int materialCost)