public class PrepareResultEvent extends InventoryEvent
Event.Result
transaction
Constructor and Description |
---|
PrepareResultEvent(@NotNull InventoryView inventory,
@Nullable ItemStack result) |
Modifier and Type | Method and Description |
---|---|
static @NotNull HandlerList |
getHandlerList() |
@NotNull HandlerList |
getHandlers() |
@Nullable ItemStack |
getResult()
Get result item, may be null.
|
void |
setResult(@Nullable ItemStack result) |
getInventory, getView, getViewers
callEvent, getEventName, isAsynchronous
@Nullable public @Nullable ItemStack getResult()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers
in class InventoryEvent
@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2021. All rights reserved.