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

◆ IsTileSpelunkable()

virtual ? bool Terraria.ModLoader.GlobalTile.IsTileSpelunkable ( int i,
int j,
int type )
inlinevirtual

Allows you to customize whether this tile can glow yellow while having the Spelunker buff, and is also detected by various pets.
Return true to force this behavior, or false to prevent it, overriding vanilla conditions. Returns null by default.

Parameters
iThe x position in tile coordinates.
jThe y position in tile coordinates.
typeThe tile type

Definition at line 137 of file GlobalTile.cs.

138 {
139 return null;
140 }