Module gomint.api

Class InventoryOpenEvent

    • Constructor Detail

      • InventoryOpenEvent

        public InventoryOpenEvent​(EntityPlayer player,
                                  Inventory inventory)
        Create new inventory open event
        Parameters:
        player - who opened the inventory
        inventory - which should be opened
    • Method Detail

      • getInventory

        public Inventory getInventory()
        Get the inventory which is closed
        Returns:
        inventory which used