public class SmithItemEvent extends InventoryClickEvent
Event.Resulttransaction| Constructor and Description |
|---|
SmithItemEvent(@NotNull InventoryView view,
InventoryType.SlotType type,
int slot,
@NotNull ClickType click,
@NotNull InventoryAction action) |
SmithItemEvent(@NotNull InventoryView view,
InventoryType.SlotType type,
int slot,
@NotNull ClickType click,
@NotNull InventoryAction action,
int key) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull SmithingInventory |
getInventory()
Gets the primary Inventory involved in this transaction
|
getAction, getClick, getClickedInventory, getCurrentItem, getCursor, getHandlerList, getHandlers, getHotbarButton, getRawSlot, getSlot, getSlotType, isLeftClick, isRightClick, isShiftClick, setCurrentItem, setCursorgetResult, getWhoClicked, isCancelled, setCancelled, setResultgetView, getViewerscallEvent, getEventName, isAsynchronouspublic SmithItemEvent(@NotNull @NotNull InventoryView view, @NotNull InventoryType.SlotType type, int slot, @NotNull @NotNull ClickType click, @NotNull @NotNull InventoryAction action)
public SmithItemEvent(@NotNull @NotNull InventoryView view, @NotNull InventoryType.SlotType type, int slot, @NotNull @NotNull ClickType click, @NotNull @NotNull InventoryAction action, int key)
@NotNull public @NotNull SmithingInventory getInventory()
InventoryEventgetInventory in class InventoryEventCopyright © 2021. All rights reserved.