Class InventoryChangeEvent

java.lang.Object
de.ellpeck.rockbottom.api.event.Event
de.ellpeck.rockbottom.api.event.impl.InventoryChangeEvent

public final class InventoryChangeEvent extends Event
This event is fired when an AbstractInventory changes and its IInventory.notifyChange(int) method is called. It cannot be cancelled.
  • Field Details

    • inventory

      public final IInventory inventory
    • changedSlot

      public final int changedSlot
  • Constructor Details

    • InventoryChangeEvent

      public InventoryChangeEvent(IInventory inventory, int changedSlot)