
// Use something better than notepad for proper viewing

"vertexlitGeneric"
{
    "$basetexture" "models\MCModelPack\animated\dial"
    "$halflambert" "1"

    "$angle" 0.0
    "$translate" "[0.0 0.0]"
    "$center" "[0.5 0.5]"

    "Proxies"
    {
        "LinearRamp"
        {
            "rate" -36	// This completes 1 full cycle over 20 seconds
						// Speed in degrees-per-second.
			            // Positive value rotates counter-clockwise, negative - clockwise
		                // 1 Minecraft day and night cycle = 20min = 1200s
						// Formula(for this clock): 360° : 20s = 18°/s
            "initialValue" 0.0
            "resultVar" "$angle"
        }

        "TextureTransform"
        {
            "translateVar" "$translate"
            "rotateVar" "$angle"
            "centerVar" "$center"
            "resultVar" "$basetexturetransform"
        }
    }
}