Use items and blocks (voxel.js addon)
Requires voxel-reach, voxel-registry, voxel-inventory-hotbar
voxel-use handles "using" items and blocks, by right-clicking (default firealt interact keybinding). Compare to voxel-mine which handles left-clicking to mine. Supported actions:
- Right-click a voxel in the world to "open" it, if possible (calls interaction handler, example: voxel-workbench)
- Hold shift (crouch) to suppress this behavior
- Right-click while holding a block item (in your voxel-inventory-hotbar) to place it in the world on the voxel face clicked
- Right-click while holding a (non-block) item to do nothing (yet)
MIT