Using commands to find blocks

My memory is vague on this one, but I do remember a command that could identify where particular things are - like wolves, or End Ships/Forts. I don't remember the command to do it, but I do remember that it could be done in chat; no Command blocks required.

Can this be done to find blocks? For example, the new Amethyst blocks?


https://minecraft.fandom.com/wiki/Commands/locate

/locate <StructureType> You can use the auto-complete to see what structures you can teleport to. The new 1.17 geodes should be on the list.

EDIT: It seems that the new 1.17 geodes are not on the list.