inventory-window

2.0.3 • Public • Published

inventory-window

A GUI window for interactively manipulating an inventory:

screenshot

For an interactive demo run npm start or see http://deathcap.github.io/inventory-window.

Supported features:

  • Left-click to pick up a pile
  • Left-click to drop a pile, merging if possible
  • Shift-left-click to transfer pile to linked inventory
  • Right-click to pick up half a pile
  • Right-click to drop one item from a pile
  • Right-click, hold, then drag to drop one item as you mouseover
  • Drop and pickup can be disabled
  • Optional active inventory slot highlight (used in voxel-inventory-hotbar)
  • Optionally integrates with voxel-registry for item textures and item max damage
  • Damage progress bars shown on damageable items, customizable width and colors

License

MIT

Package Sidebar

Install

npm i inventory-window

Weekly Downloads

5

Version

2.0.3

License

MIT

Last publish

Collaborators

  • deathcap