public class InventoryCreativeEvent extends InventoryClickEvent
Event.Resulttransaction| コンストラクタと説明 |
|---|
InventoryCreativeEvent(InventoryView what,
InventoryType.SlotType type,
int slot,
ItemStack newItem) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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 クラス内 InventoryClickEventpublic void setCursor(ItemStack item)
InventoryClickEventsetCursor クラス内 InventoryClickEventitem - the new cursor itemCopyright © 2016. All rights reserved.