API

March 7, 2021 ยท View on GitHub

Blocks

blocks

blocks textures by name

blocksArray

array of blocks textures

Items

items

items textures by name

itemsArray

array of items textures

Texture content

textureContent

texture content by name

textureContentArray

array of texture content

version

directory

versions

list of supported versions

Functions

findItemOrBlockByName(name)

get a block or item texture by name

getTexture(name)

get the texture path by name

getImageContent(name)

generate the base64 representation of a texture from the name