minecraft-assets
Version:
Provide minecraft assets
54 lines (27 loc) • 592 B
Markdown
API
# 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