TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ GetModdedConstraints()

override IEnumerable< Position > Terraria.ModLoader.VanillaExtraJump.GetModdedConstraints ( )
inlinesealedvirtual

Modded jumps are placed between vanilla jumps via M:Terraria.ModLoader.ExtraJump.GetDefaultPosition and, by default, are sorted in load order.
This hook allows you to sort this jump before/after other modded jumps that were placed between the same two vanilla jumps.
Example:

yield return new After(ModContent.GetInstance<SimpleExtraJump>());

By default, this hook returns null, which indicates that this jump has no modded ordering constraints.

Reimplemented from Terraria.ModLoader.ExtraJump.

Definition at line 13 of file VanillaExtraJump.cs.

14 {
15 return null;
16 }