WITS (What Is This Structure?)
WITS is a compact command modification that works in both single-player worlds and on servers! The main purpose of this mod is to add a new command /wits. Simply execute this command, and it will display the registration names of all structures located at your current position. That's all!

Installing this mod on a server will give all clients the ability to use the basic /wits command, including vanilla game users!
Operators or server owners can use the extended command /witsop with dimension and coordinate parameters to get structure names at any location in any dimension. Regular players will not be able to use this command with additional parameters, ensuring the mod remains balanced.

IMPORTANT: Not every building you see in mods is a structure, so it will not be detected by this command. For example, dungeons and desert wells in the vanilla game are considered features, not structures. This limitation is due to how the game works—features do not save information about themselves in the chunk, unlike structures. After world generation is complete, it is impossible to get feature names at a specific location. Essentially, the mod can only detect structures visible through the /locate command and nothing more.