Skip to content

Latest commit

 

History

43 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<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".

About

🌐🏠 A Web Component for visualizing Minecraft schematics

Topics

Resources

Stars

36 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages