public class SmithItemEvent extends InventoryClickEvent
Event.Result
transaction
Constructor and Description |
---|
SmithItemEvent(InventoryView view,
InventoryType.SlotType type,
int slot,
ClickType click,
InventoryAction action) |
SmithItemEvent(InventoryView view,
InventoryType.SlotType type,
int slot,
ClickType click,
InventoryAction action,
int key) |
Modifier and Type | Method and Description |
---|---|
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, setCursor
getResult, getWhoClicked, isCancelled, setCancelled, setResult
getView, getViewers
getEventName, isAsynchronous
public SmithItemEvent(@NotNull InventoryView view, @NotNull InventoryType.SlotType type, int slot, @NotNull ClickType click, @NotNull InventoryAction action)
public SmithItemEvent(@NotNull InventoryView view, @NotNull InventoryType.SlotType type, int slot, @NotNull ClickType click, @NotNull InventoryAction action, int key)
@NotNull public SmithingInventory getInventory()
InventoryEvent
getInventory
in class InventoryEvent
Copyright © 2022. All rights reserved.