1.0.0 • Published 8 years ago

voxel-harvest v1.0.0

Weekly downloads
14
License
MIT
Repository
github
Last release
8 years ago

voxel-harvest

Add mined blocks from voxel-mine to an inventory

Listens for 'break' events (sent by voxel-mine when mining completes), sets the voxel to air, and then adds a new corresponding itempile to the specified inventory (can be set to, for example, a player's inventory connected to a voxel-inventory-hotbar).

If the item cannot fit in the inventory, the voxel is not removed (fails to mine because you can't carry it anyway).

Here's an example, before the block breaks:

screenshot before

and after, you can see the voxel is gone and an item is added to the inventory:

screenshot after

License

MIT

1.0.0

8 years ago

0.4.1

9 years ago

0.4.0

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago