Terraria.ModLoader.ModWaterfallStyle

Represents a style of waterfalls that gets drawn. This is mostly used to determine the color of the waterfall.

Methods

Autoload(System.String@,System.String@)()
Allows you to automatically add a ModWaterfallStyle instead of using Mod.AddWaterfallStyle. Return true to allow autoloading; by default returns the mod's autoload property. Name is initialized to the overriding class name, and texture is initialized to the namespace and overriding class name with periods replaced with slashes. Use this to either force or stop an autoload, change the name that identifies this type of ModWaterStyle, or change the texture path used by this ModWaterfallStyle.
AddLight(System.Int32,System.Int32)()
Allows you to create light at a tile occupied by a waterfall of this style.
ColorMultiplier(System.Single@,System.Single@,System.Single@,System.Single)()
Allows you to determine the color multiplier acting on waterfalls of this style. Useful for waterfalls whose colors change over time.