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 TypeMethodDescriptionint
getSlot()
boolean
void
setCancelled
(boolean cancelled) void
setNewItem
(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:
isCancelled
in interfaceCancellable
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelled
in interfaceCancellable
-
getNewItem
-
setNewItem
-