Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

hackedvoxels-inventory-window

z3t011MIT0.0.1

a GUI window for interactively manipulating an inventory of itempiles

game, items, itempile, itemstack, inventory, widget

readme

hackedvoxels-inventory-window

TODO: UPDATE LINKS

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