程序包 org.bukkit.event.inventory

# 类 PrepareInventoryResultEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.inventory.InventoryEvent
org.bukkit.event.inventory.PrepareInventoryResultEvent

直接已知子类:
  `PrepareAnvilEvent`, `PrepareGrindstoneEvent`, `PrepareSmithingEvent`

public class PrepareInventoryResultEvent extends InventoryEvent
Called when an item is put in a slot and the result is calculated.

- ## 嵌套类概要

  ## 从类继承的嵌套类/接口 org.bukkit.event.Event

  `Event.Result`

- ## 字段概要

  ### 从类继承的字段 org.bukkit.event.inventory.InventoryEvent

  `transaction`

- ## 构造器概要

  构造器
  构造器
  说明
  `PrepareInventoryResultEvent(@NotNull InventoryView inventory, @Nullable ItemStack result)`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `static @NotNull HandlerList`
  `getHandlerList()`
  `@NotNull HandlerList`
  `getHandlers()`
  `@Nullable ItemStack`
  `getResult()`
  Get result item, may be null.
  `void`
  `setResult(@Nullable ItemStack result)`
  Set result item, may be null.

  ### 从类继承的方法 org.bukkit.event.inventory.InventoryEvent

  `getInventory, getView, getViewers`

  ### 从类继承的方法 org.bukkit.event.Event

  `getEventName, isAsynchronous`

  ### 从类继承的方法 java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 构造器详细资料

  - ### PrepareInventoryResultEvent

    public PrepareInventoryResultEvent(@NotNull @NotNull InventoryView inventory, @Nullable @Nullable ItemStack result)

- ## 方法详细资料

  - ### getResult

    @Nullable public @Nullable ItemStack getResult()
    Get result item, may be null.
    返回:
      result item

  - ### setResult

    public void setResult(@Nullable @Nullable ItemStack result)
    Set result item, may be null.
    参数:
      `result` - result item

  - ### getHandlers

    @NotNull public @NotNull HandlerList getHandlers()
    覆盖:
      `getHandlers` 在类中 `InventoryEvent`

  - ### getHandlerList

    @NotNull public static @NotNull HandlerList getHandlerList()