node

and  are 8 bit integers. The engine uses them for certain automated functions. If you don't use these functions, you can use them to store arbitrary values.

The functions of  and   are determined by certain fields in the node definition:
 * is reserved for the engine when :
 * . The value stores light with and without sun in its upper and lower 4 bits.


 * is reserved for the engine when any of these are used:
 * . The level and some flags of the liquid is stored in
 * . The drawn liquid level is read from
 * ,  or  . The rotation of the node is stored in  . You can make this value by using.
 * . The rotation of the node is stored in . Furnaces and chests are rotated this way. Can be made by using.

Nodes can also contain extra data. See NodeMetaRef.

New nodes can be registered with minetest.register_node