Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/vberlier/three-mcmodel
- Owner: vberlier
- License: mit
- Created: 2018-10-13T13:01:57.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-13T22:45:45.000Z (almost 2 years ago)
- Last Synced: 2024-10-09T22:43:03.730Z (3 months ago)
- Topics: 3d, minecraft, minecraft-json-models, minecraft-model, three, threejs, threejs-loader
- Language: TypeScript
- Size: 1.08 MB
- Stars: 16
- Watchers: 5
- Forks: 5
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)
})
```