It should say name, as that is by what it searches. It leans towards name later in the description (a type doesn't have a bounding-box e.g.), and uses a name in the example, but it doesn't explicitly use "name" anywhere.Find an entity of the given type at the given position.
...
Find an entity of the given type at the given position. This checks both the exact position and the bounding box of the entity.
LuaSurface.find_entity talks about "type"
LuaSurface.find_entity talks about "type"
https://lua-api.factorio.com/1.1.100/cl ... ind_entity
I have mods! I guess!
Link
Link
Re: LuaSurface.find_entity talks about "type"
Thanks for noting this, fixed for the next version.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.