Freedom251 › Minecraft Schematic Tools
SchematicWebViewer

What SchematicWebViewer is
SchematicWebViewer is a free, open-source NPM package for adding modern Minecraft schematic previews to a website. JavaScript supplies a Base64-encoded schematic supported by SchematicJS, then the renderSchematic function draws it on an HTML canvas. Listed formats include Sponge v1–v3 (.schem), Structure Block (.nbt) and MCEdit (.schematic). Rendering requires a complete Minecraft resource pack containing models, blockstates and textures. Resource pack URLs can be supplied in priority order, or a custom function can retrieve a client JAR URL. The README describes using a Minecraft client JAR for assets and says CORS Anywhere is needed to access Mojang downloads. Options include canvas size, grid bars, direction indicators, antialiasing, background color and debug information. Automatic orbit can be configured, and automatic rendering can be disabled. The repository uses an MIT license.
Who it suits
It suits web developers who want to embed Minecraft schematic viewing in a website. Users need JavaScript integration, compatible schematic formats and complete resource-pack assets.
What it does well
- Free and open source
- Renders schematics in an HTML canvas
- Supports three listed schematic format families
- Offers configurable orbit and display controls
- Uses an MIT license
What to know first
- Requires a complete resource pack
- Needs CORS Anywhere for Minecraft JAR access
- Supported formats depend on SchematicJS
- No world import
Verdict
SchematicWebViewer provides a focused browser preview component for Minecraft schematics. Its asset, CORS and format requirements should be handled before integrating it into a site.
Facts from SchematicWebViewer's own pages
- Audience
- The README describes using the package on a website by adding a canvas element and calling renderSchematic from JavaScript. · github.com, 11 Oct 2026
- Browser rendering
- The README shows rendering a schematic into an HTML canvas on a website. · github.com, 11 Oct 2026
- Browser support
- The package metadata lists the last one Chrome version in its browserslist. · github.com, 11 Oct 2026
- CORS requirement
- The README says a CORS Anywhere instance is needed to access Minecraft JAR files because Mojang's download site uses CORS and redistributing the JAR would breach its license. · github.com, 11 Oct 2026
- Display options
- Render options include canvas size, grid bars, a direction arrow, antialiasing, background color, and debug information. · github.com, 11 Oct 2026
- Input format
- The schematic must be Base64 encoded and use a format supported by SchematicJS. · github.com, 11 Oct 2026
- Integration
- The package depends on SchematicJS for supported schematic formats. · github.com, 11 Oct 2026
- Intended users
- The project is presented as a library for developers who want to add modern Minecraft schematic viewing to a website. · github.com, 11 Oct 2026
- License
- The repository provides the software under the MIT License. · github.com, 11 Oct 2026
- Minecraft client jar
- The default client jar URL function uses the EngineHub Cassette Deck service. · github.com, 11 Oct 2026
- Orbit
- The view can automatically rotate while the user is not dragging it, with a configurable orbit speed. · github.com, 11 Oct 2026
- Purpose
- SchematicWebViewer is an NPM package for importing and viewing modern Minecraft schematics. · github.com, 11 Oct 2026
- Related library
- The README identifies SchematicJS as the library whose supported formats determine which schematic files can be used. · github.com, 11 Oct 2026
- Rendering
- The package renders a schematic to an HTML canvas using the renderSchematic function. · github.com, 11 Oct 2026
- Rendering control
- Automatic rendering can be disabled so the caller updates the view with the render method. · github.com, 11 Oct 2026
- Rendering controls
- Options include canvas size, grid and direction indicators, automatic orbit, antialiasing, background color, and debug information. · github.com, 11 Oct 2026
- Resource pack requirement
- The library requires a complete Minecraft resource pack containing all models, blockstates, and textures. · github.com, 11 Oct 2026
- Resource packs
- The renderer accepts resource pack URLs in priority order and allows callers to supply a custom function for retrieving the client JAR URL. · github.com, 11 Oct 2026
- Schematic input
- The renderer accepts a Base64-encoded schematic in a format supported by SchematicJS. · github.com, 11 Oct 2026
- Texture requirement
- The library requires a complete resource pack containing models, blockstates, and textures; the README says a Minecraft client JAR can provide these assets. · github.com, 11 Oct 2026
Where SchematicWebViewer stands on Freedom251
- Minecraft Schematic Tools#31 of 42