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
@Nonnull public ItemStack getLeft()
@Nonnull public ItemStack getRight()
public java.lang.String getName()
@Nonnull public ItemStack getOutput()
public void setOutput(@Nonnull ItemStack output)
public int getCost()
public void setCost(int cost)
public int getMaterialCost()
public void setMaterialCost(int materialCost)