A visualization web component for minecraft schematic files and part of the PaperCubes application.
π§ currently under construction. Will be renamed from <voxel-visualization> to <mc-viewer>. But you can still use the old version by the <voxel-visualization> npm-package.
Name | Type | Description |
---|---|---|
schematic | Object | JavaScript Object with information about the minecraft structure |
schematicPath | String | Path to .schematic file and alternative to the "schematic" Attribute |
texturePackPath | String | Path to the root of an unzipped texture pack |
zoom | Number | Zoom level of the view (default is 1.0) |
- Install package
bower install --save voxel-visualization
- Import
<link rel="import" href="bower_components/voxel-visualization/voxel-visualization.html">
- Place in your HTML
<voxel-visualization schematic-path="path/to/my/schematic/file.schematic"></voxel-visualization>
The used texture pack "Faithful 32x32 Pack" (Link) was made by "Vattic".