Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.1 KB

README.md

File metadata and controls

30 lines (19 loc) · 1.1 KB

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