/mc-viewer

🌐🏠 A Web Component for visualizing Minecraft schematics

Primary LanguageJavaScriptMIT LicenseMIT

<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

  1. Install package
bower install --save voxel-visualization
  1. Import
<link rel="import" href="bower_components/voxel-visualization/voxel-visualization.html">
  1. Place in your HTML
<voxel-visualization schematic-path="path/to/my/schematic/file.schematic"></voxel-visualization>

🖼 Preview

Screenshot

👀 Demo

See live demo here

🗒 Note

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