When the setting "Select ghost when no item is available" enabled, pipetting an unavailable item with the Q key will select a ghost. However, pipette_entity() on the same entity fails (with the "X" sound). This is not the same behavior as if the player used the pipette tool and is very inconvenient for mods trying to replicate the same behavior (for example, pipetting a placeable entity when the player selects a non-placeable component).
Reproduction:
- Create a new save in 2.0.6 vanilla.
- Enable the setting "Pick ghost if no item is available".
- Place the starting stone furnace, so that no more stone furnaces are in the character inventory.
- Select the stone furnace entity and press Q, observe that the cursor_ghost is now stone-furnace.
- Clear the cursor by pressing Q again.
- With the cursor still selecting the stone furnace, run "/c game.player.pipette_entity(game.player.selected)" and observe that the cursor remains empty.