0.0.1 • Published 6 years ago

minecraft-three-model v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

Minecraft Threejs Model

This module is a rewrite version of https://github.com/vberlier/json-model-viewer

This module is not as completed as the orignial one. It only provide the threejs model.

This module is highly depended on the module minecraft-resource-manager

Maybe the advantage of this module is that it provides the definitions of common Minecraft model structure. Hope this will save your brain.

Usage

const manager: ResourceManager;
const loader = new ThreeModelLoader(manager);

loader.load('block/stone')
    .then((threeModel) => {
        // do sth to this three model...
    })