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