The description of LuaEntity::mine() states that "The result of mining the entity (the item(s) it produces when mined) will be dropped on the ground if they don't fit into the provided inventory."
The "inventory" parameter is optional. It would be helpful to state that the items will be destroyed if no inventory provided. (Instead of *all* being spilled near the entity that was mined.)
[2.0.6] Clarify that LuaEntity::mine() destroys items if no inventory given
Re: [2.0.6] Clarify that LuaEntity::mine() destroys items if no inventory given
Thanks, this is noted now for the next release.