|
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 14 of file BasiliskMountJump.cs.
References Terraria.Graphics.Shaders.GameShaders.Armor, Terraria.Entity.Center, Terraria.Player.cMount, Terraria.Main.dust, Terraria.Player.gravDir, Terraria.Dust.NewDust(), and Terraria.Main.rand.
Here is the call graph for this function: