removed
Detaches the common retained tree while retaining it for a later add callback. Detached screens release their prepared display list and dynamic textures so a parent screen cannot retain presentation-only data while hidden.
Throws
when the common host rejects detachment or cleanup fails.
when invoked away from the Minecraft client thread.