Skip to content
This repository has been archived by the owner on Mar 26, 2020. It is now read-only.

(Depreacate, see @xmcl/model) Provide threejs model from Minecraft json model format

License

Notifications You must be signed in to change notification settings

Voxelum/minecraft-three-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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...
    })

About

(Depreacate, see @xmcl/model) Provide threejs model from Minecraft json model format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published