Package com.loohp.limbo.events.inventory
Class InventoryCreativeEvent
java.lang.Object
com.loohp.limbo.events.Event
com.loohp.limbo.events.inventory.InventoryEvent
com.loohp.limbo.events.inventory.InventoryCreativeEvent
- All Implemented Interfaces:
Cancellable
-
Constructor Summary
ConstructorsConstructorDescriptionInventoryCreativeEvent(InventoryView inventoryView, int slot, ItemStack newItem) -
Method Summary
Modifier and TypeMethodDescriptionintgetSlot()booleanvoidsetCancelled(boolean cancelled) voidsetNewItem(ItemStack newItem) Methods inherited from class com.loohp.limbo.events.inventory.InventoryEvent
getClickedInventory, getPlayer, getView
-
Constructor Details
-
InventoryCreativeEvent
-
-
Method Details
-
getSlot
public int getSlot() -
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceCancellable
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelledin interfaceCancellable
-
getNewItem
-
setNewItem
-