1using Microsoft.Xna.Framework;
34 internal string texture;
35 internal string blockTexture;
40 public virtual bool Autoload(ref
string name, ref
string texture, ref
string blockTexture) {
79 return new Color(28, 216, 94);
112 internal string texture;
117 public virtual bool Autoload(ref
string name, ref
string texture) {
Mod is an abstract class that you will override. It serves as a central place from which the mod's co...
Represents a style of water that gets drawn, based on factors such as the background....
Mod mod
The mod that added this style of water.
int Type
The ID of the water style.
virtual Color BiomeHairColor()
Allows you to change the hair color resulting from the biome hair dye when this water style is in use...
virtual bool Autoload(ref string name, ref string texture, ref string blockTexture)
Allows you to automatically add a ModWaterStyle instead of using Mod.AddWaterStyle....
abstract int GetDropletGore()
The ID of the gore that represents droplets of water falling down from a block.
abstract int GetSplashDust()
The ID of the dust that is created when anything splashes in water.
virtual bool ChooseWaterStyle()
Whether the conditions have been met for this water style to be used. Typically Main....
string Name
The internal name of this water style.
abstract int ChooseWaterfallStyle()
The ID of the waterfall style the game should use when this water style is in use.
virtual void LightColorMultiplier(ref float r, ref float g, ref float b)
Allows you to modify the light levels of the tiles behind the water. The light color components will ...
Represents a style of waterfalls that gets drawn. This is mostly used to determine the color of the w...
virtual void AddLight(int i, int j)
Allows you to create light at a tile occupied by a waterfall of this style.
virtual void ColorMultiplier(ref float r, ref float g, ref float b, float a)
Allows you to determine the color multiplier acting on waterfalls of this style. Useful for waterfall...
string Name
The internal name of this waterfall style.
Mod mod
The mod that added this style of waterfall.
int Type
The ID of this waterfall style.
virtual bool Autoload(ref string name, ref string texture)
Allows you to automatically add a ModWaterfallStyle instead of using Mod.AddWaterfallStyle....
bool Autoload
Whether or not this mod will autoload content by default. Autoloading content means you do not need t...