UNPKG

voxel-wool

Version:

colored wool blocks and block metadata example (voxel.js plugin)

21 lines (12 loc) 747 B
# voxel-wool Colored wool blocks (voxel.js plugin) ![screenshot](http://i.imgur.com/Sj5zMfN.png "Screenshot") Note: this screenshot was taken with [ProgrammerArt](https://github.com/deathcap/ProgrammerArt) v2.0, but for better textures you can use other resource packs, which voxel-wool is compatible with; for example [Faithful32](https://github.com/smenes/Faithful32): ![screenshot](http://i.imgur.com/bskMPmw.png "Screenshot") This plugin also serves as an example of using [voxel-registry](https://github.com/deathcap/voxel-registry) with `registerBlocks()` and dynamic block properties. The `texture` and `displayName` properties are computed from the "block metadata" value (0-15 for each of the sixteen wool colors). ## License MIT