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

◆ CanFallThroughPlatforms()

virtual ? bool Terraria.ModLoader.ModNPC.CanFallThroughPlatforms ( )
inlinevirtual

Allows you to determine how and when this NPC can fall through platforms and similar tiles.
Return true to allow this NPC to fall through platforms, false to prevent it. Returns null by default, applying vanilla behaviors (based on aiStyle and type).

Definition at line 348 of file ModNPC.cs.

349 {
350 return null;
351 }