minecraft-three-model
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i minecraft-three-model

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

72.2 kB

Total Files

8

Last publish

Collaborators

  • ci010