mc-viewer
mc-viewer copied to clipboard
🌐🏠 A Web Component for visualizing Minecraft schematics
<mc-viewer>
A visualization web component for minecraft schematic files and part of the PaperCubes application.
⚠️ Important
🚧 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.
📒 Attributes
| 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) |
🚀 Usage
- 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>
🖼 Preview

👀 Demo
🗒 Note
The used texture pack "Faithful 32x32 Pack" (Link) was made by "Vattic".