0

Added an example for the MineralOverlay docs

lists of tuples of tuples can be confusing for a non pythoner
This commit is contained in:
Andrew Chin
2012-08-15 21:05:00 -04:00
parent 5ff9c507b7
commit e9e9543ba6

View File

@@ -798,6 +798,12 @@ MineralOverlay
A list of (blockid, (r, g, b)) tuples to use as colors. If not
provided, a default list of common minerals is used.
Example::
MineralOverlay(minerals=[(64,(255,255,0)), (13,(127,0,127))])
Defining Custom Rendermodes
---------------------------
Each rendermode primitive listed above is a Python *class* that is automatically