Skip to content

🌐🏠 A Web Component for visualizing Minecraft schematics

License

Notifications You must be signed in to change notification settings

FlorianFe/mc-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

43 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

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

License

Stars

Watchers

Forks

Packages

No packages published