minecraft-assets
Version:
Provide minecraft assets
26 lines (17 loc) • 1.25 kB
Markdown
# node-minecraft-assets
[](http://npmjs.com/package/minecraft-assets)
[](https://github.com/PrismarineJS/node-minecraft-assets/actions?query=workflow%3A%22CI%22)
[](https://discord.gg/GsEFRM8)
[](https://gitter.im/PrismarineJS/general)
[](https://irc.gitter.im/)
[](https://gitpod.io/#https://github.com/PrismarineJS/node-minecraft-assets)
Provide easy access to [minecraft-assets](https://github.com/rom1504/minecraft-assets) in node.js
## Example
```js
const mcAssets=require("minecraft-assets")("1.8.8")
console.log("https://raw.githubusercontent.com/rom1504/minecraft-assets/master/data/1.8.8/"+mcAssets.getTexture("wheat_seeds")+".png")
console.log(mcAssets.textureContent["wheat_seeds"].texture)
```
## Documentation
* See [doc/api.md](doc/api.md)
* See [doc/history.md](doc/history.md)