node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป



A GUI window for interactively manipulating an inventory:


For an interactive demo run npm start or see

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