minetest.inventorycube

From Minetest Developer Wiki
Jump to: navigation, search

Syntax

minetest.inventorycube("img1", "img2", "img3")

Description

Returns a string for making an image of a cube (useful as an item image).

Example

In minetest.register_node():

inventory_image = minetest.inventorycube("1.png", "2.png", "3.png")

inventorycube texture modifier

inventory_image = "[inventorycube{1.png{2.png{3.png"

inventorycube.png

Personal tools
Namespaces

Variants
Actions
Navigation
API
Toolbox