voxel-inventory-dialog

3.0.1 • Public • Published

voxel-inventory-dialog

A player inventory editing dialog for voxel.js:

screenshot

The lower grid is an inventory-window of the the player's inventory from voxel-carry.

The upper area is customizable by passing in elements into the upper option. While voxel-inventory-dialog can be loaded as a plugin on its own, it is most useful when extended by other plugins using this option. Used by:

Uses voxel-modal-dialog, so keyboard/mouse input to the game will be suppressed when this dialog is visible. Click outside of the dialog or hit Escape to close.

License

MIT

Package Sidebar

Install

npm i voxel-inventory-dialog

Weekly Downloads

1

Version

3.0.1

License

MIT

Last publish

Collaborators

  • deathcap