Skip to content

transparent and translucent glass blocks (voxel.js plugin)

License

Notifications You must be signed in to change notification settings

voxel/voxel-glass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

transparent and translucent glass blocks (voxel.js plugin)

Resources

License

Stars

Watchers

Forks

Packages

No packages published