public class CraftItemEvent extends InventoryClickEvent
Event.Result
transaction
Constructor and Description |
---|
CraftItemEvent(Recipe recipe,
InventoryView what,
InventoryType.SlotType type,
int slot,
boolean right,
boolean shift)
Deprecated.
|
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) |
Modifier and Type | Method and Description |
---|---|
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, setCursor
getResult, getWhoClicked, isCancelled, setCancelled, setResult
getView, getViewers
getEventName, 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()
InventoryEvent
getInventory
in class InventoryEvent
Copyright © 2022. All rights reserved.