public class PrepareAnvilEvent extends InventoryEvent
Event.Resulttransaction| Constructor | Description |
|---|---|
PrepareAnvilEvent(InventoryView inventory,
ItemStack result) |
| Modifier and Type | Method | Description |
|---|---|---|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
|
AnvilInventory |
getInventory() |
Gets the primary Inventory involved in this transaction
|
ItemStack |
getResult() |
Get result item, may be null.
|
void |
setResult(ItemStack result) |
getEventName, isAsynchronousgetView, getViewerspublic PrepareAnvilEvent(InventoryView inventory, ItemStack result)
public AnvilInventory getInventory()
InventoryEventgetInventory in class InventoryEventpublic ItemStack getResult()
public void setResult(ItemStack result)
public HandlerList getHandlers()
getHandlers in class InventoryEventpublic static HandlerList getHandlerList()
Copyright © 2018. All rights reserved.