Liquid Class
Comment1
118pages on
this wiki
this wiki
| The information in this article is for Terraria v1.0.6.1. |
| This class is responsible for handling all the different liquids in the game, such as lava and water. You might find a few cool effects to apply to items or something. | ||||
|
|
Properties
Edit
| Name | Type | Description |
|---|---|---|
| delay | int | ??? |
| kill | int | ??? |
| x | int | The x location of the liquid (measured in tiles or pixels?) |
| y | int | The y location of the liquid (measured in tiles or pixels?) |
Static Properties
Edit
| Name | Type | Description |
|---|---|---|
| cycles | int | ??? |
| maxLiquid | int | ??? |
| numLiquid | int | ??? |
| panicCounter | int | ??? |
| panicMode | bool | ??? |
| panicY | int | ??? |
| quickFall | bool | ??? |
| quickSettle | bool | ??? |
| resLiquid | int | ??? |
| skipCount | int | ??? |
| stuck | bool | ??? |
| stuckAmount | int | ??? |
| stuckCount | int | ??? |
Methods
Edit
| Method Name | Description |
|---|---|
| Update() |
public void Update()
{
}
Updates this instance of water in the world.
|
Static Methods
Edit
| Method Name | Description |
|---|---|
| AddWater() |
public static void AddWater(int x, int y)
{
}
Creates water at the given coordinates
|
| DelWater() |
public static void DelWater(int l)
{
}
Deletes the water located in Main.liquid[]?
|
| LavaCheck() |
public static void LavaCheck(int x, int y)
{
}
Checks whether lava exists at the given location?
|
| NetAddWater() |
public static void NetAddWater(int x, int y)
{
}
Internet function for creating water?
|
| QuickWater() |
public static double QuickWater(
[int verbose = 0],
[int minY = -1],
[int maxY = -1]
)
{
}
???
|
| StartPanic() |
public static void StartPanic()
{
}
???
|
| UpdateLiquid() |
public static void UpdateLiquid()
{
}
Updates all instances of liquids in the game.
|
Notes
Edit
None yet
| Classes in Terraria |
|---|
|
Chest | Cloud | Collision | Dust | Gore | Item | Lighting | Liquid | Main | NPC | Player | Projectile | Recipe | Sign | Star | WorldGen |

Added by