public class CraftItemEvent extends InventoryClickEvent
Event.Resulttransaction| コンストラクタと説明 |
|---|
CraftItemEvent(Recipe recipe,
InventoryView what,
InventoryType.SlotType type,
int slot,
boolean right,
boolean shift)
非推奨です。
|
CraftItemEvent(Recipe recipe,
InventoryView what,
InventoryType.SlotType type,
int slot,
ClickType click,
InventoryAction action) |
CraftItemEvent(Recipe recipe,
InventoryView what,
InventoryType.SlotType type,
int slot,
ClickType click,
InventoryAction action,
int key) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
CraftingInventory |
getInventory()
Gets the primary Inventory involved in this transaction
|
Recipe |
getRecipe() |
getAction, getClick, getClickedInventory, getCurrentItem, getCursor, getHandlerList, getHandlers, getHotbarButton, getRawSlot, getSlot, getSlotType, isLeftClick, isRightClick, isShiftClick, setCurrentItem, setCursorgetResult, getWhoClicked, isCancelled, setCancelled, setResultgetView, getViewersgetEventName, isAsynchronous@Deprecated public CraftItemEvent(Recipe recipe, InventoryView what, InventoryType.SlotType type, int slot, boolean right, boolean shift)
public CraftItemEvent(Recipe recipe, InventoryView what, InventoryType.SlotType type, int slot, ClickType click, InventoryAction action)
public CraftItemEvent(Recipe recipe, InventoryView what, InventoryType.SlotType type, int slot, ClickType click, InventoryAction action, int key)
public Recipe getRecipe()
public CraftingInventory getInventory()
InventoryEventgetInventory クラス内 InventoryEventCopyright © 2016. All rights reserved.