@nymph-ai/minecraft-assets
v1.21.11-nymph.3
Published
Provide minecraft assets (nymph-ai fork)
Downloads
6
Readme
node-minecraft-assets
Provide easy access to minecraft-assets in node.js
Example
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
- See doc/history.md
NPM install (alias)
This fork publishes as @nymph-ai/minecraft-assets. To keep existing
require("minecraft-assets") usage, install via an npm alias:
npm install minecraft-assets@npm:@nymph-ai/minecraft-assetsLocal dev with submodules
For local development, keep the minecraft-assets submodule checked out:
git submodule update --init --recursiveLocal publishing env file
This repo tracks a blank .env. To keep your local token out of git status,
configure the env filter once:
bash scripts/setup-git-filters.shRelease workflow
To bump the npm version for a Minecraft release and commit:
make release MC_VERSION=1.21.11Automated releases require a GitHub secret named NYMPH_AI_RELEASE_TOKEN
with permission to push to nymph-ai/node-minecraft-assets.
