voxel-glass

1.0.1 • Public • Published

voxel-glass

Glass blocks (voxel.js plugin)

screenshot

Adds a solid glass block and glass panes:

screenshot

The glass block is a transparent solid cube. Three glass blocks can be crafted horizontally in a voxel-workbench to create a clear glass pane. Colored versions of the glass panes are also added (not yet craftable).

Glass panes can be placed in the world facing along the X or Z axis, depending on the player's heading. Mining the panes always drops the same item independent of the direction (similar to voxel-pumpkin).

Requires voxel-mesher 0.14.0+, voxel-shader 0.13.0+ for custom block model support; the panes are an example of using block-models, via the blockModel property in voxel-registry block registration.

License

MIT

Package Sidebar

Install

npm i voxel-glass

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • deathcap