|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinevirtual |
This hook runs when the player uses this jump via pressing the jump key
Effects that should appear when the jump starts can be spawned here.
For example, the Cloud in a Bottle's initial puff of smoke is spawned here.
To make the jump re-usable, set P:Terraria.DataStructures.ExtraJumpState.Available to true
| player | The player performing the jump |
| playSound | Whether the poof sound should play. Set this parameter to false if you want to play a different sound. |
Reimplemented from Terraria.ModLoader.ExtraJump.
Definition at line 19 of file FlipperJump.cs.
References Terraria.Player.slideDir, Terraria.Player.sliding, and Terraria.Player.swimTime.