Fandom

Surfpup's tConfig Mod Wiki

Liquid Class

124pages on
this wiki
Add New Page
Comments2 Share
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.
Chests

Placeholder!

Read More


PropertiesEdit

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 PropertiesEdit

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 ???

MethodsEdit

Method Name Description
Update()
public void Update()
{
}

Updates this instance of water in the world.

  • Returns no value

Static MethodsEdit

Method Name Description
AddWater()
public static void AddWater(int x, int y)
{
}

Creates water at the given coordinates

  • Returns no value
DelWater()
public static void DelWater(int l)
{
}

Deletes the water located in Main.liquid[]?

  • Returns no value
LavaCheck()
public static void LavaCheck(int x, int y)
{
}

Checks whether lava exists at the given location?

  • Returns no value
NetAddWater()
public static void NetAddWater(int x, int y)
{
}

Internet function for creating water?

  • Returns no value
QuickWater()
public static double QuickWater(
    [int verbose = 0],
    [int minY = -1],
    [int maxY = -1]
    )
{
}

???

  • Returns ??? as a double
StartPanic()
public static void StartPanic()
{
}

???

  • Returns no value
UpdateLiquid()
public static void UpdateLiquid()
{
}

Updates all instances of liquids in the game.

  • Returns no value

NotesEdit

None yet

Classes in Terraria

Chest | Cloud | Collision | Dust | Gore | Item | Lighting | Liquid | Main | NPC | Player | Projectile | Recipe | Sign | Star | WorldGen

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.