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

Package detail

voxel-inventory-dialog

deathcap18MIT3.0.1

player inventory dialog (voxel.js plugin)

voxel, inventory, dialog, crafting

readme

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