Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vberlier/three-mcmodel

A library for working with Minecraft json models using three.js.
https://github.com/vberlier/three-mcmodel

3d minecraft minecraft-json-models minecraft-model three threejs threejs-loader

Last synced: about 2 months ago
JSON representation

A library for working with Minecraft json models using three.js.

Awesome Lists containing this project

README

        

# three-mcmodel

> A library for working with Minecraft json models using three.js.

**🚧 Work in progress, not stable yet 🚧**

```js
import { MinecraftModelLoader, MinecraftTextureLoader } from 'three-mcmodel'

new MinecraftModelLoader().load('model.json', mesh => {
const textureLoader = new MinecraftTextureLoader()
mesh.resolveTextures(path => textureLoader.load(`${path}.png`))
scene.add(mesh)
})
```