public class InventoryCreativeEvent extends InventoryClickEvent
Event.Resulttransaction| Constructor and Description | 
|---|
| InventoryCreativeEvent(InventoryView what,
                      InventoryType.SlotType type,
                      int slot,
                      ItemStack newItem) | 
| Modifier and Type | Method and Description | 
|---|---|
| ItemStack | getCursor()Gets the current ItemStack on the cursor. | 
| void | setCursor(ItemStack item)Sets the item on the cursor. | 
getAction, getClick, getClickedInventory, getCurrentItem, getHandlerList, getHandlers, getHotbarButton, getRawSlot, getSlot, getSlotType, isLeftClick, isRightClick, isShiftClick, setCurrentItemgetResult, getWhoClicked, isCancelled, setCancelled, setResultgetInventory, getView, getViewersgetEventName, isAsynchronouspublic InventoryCreativeEvent(InventoryView what, InventoryType.SlotType type, int slot, ItemStack newItem)
public ItemStack getCursor()
InventoryClickEventgetCursor in class InventoryClickEventpublic void setCursor(ItemStack item)
InventoryClickEventsetCursor in class InventoryClickEventitem - the new cursor itemCopyright © 2017. All rights reserved.